Commit b86a0373 authored by David S. Miller's avatar David S. Miller

Merge branch 'dt-bindings-net-mdio.yaml-fixes'

Florian Fainelli says:

====================
dt-bindings: net: mdio.yaml fixes

This patch series documents some common MDIO devices properties such as
resets (and delays) and broken-turn-around. The second patch also
rephrases some descriptions to be more general towards MDIO devices and
not specific towards Ethernet PHYs.

Changes in v3:

- corrected wording of 'broken-turn-around' in ethernet-phy.yaml and
  mdio.yaml, add Andrew's R-b tag to patch #3
====================
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parents a3b6e8fd 630c3ff8
...@@ -81,7 +81,8 @@ properties: ...@@ -81,7 +81,8 @@ properties:
$ref: /schemas/types.yaml#definitions/flag $ref: /schemas/types.yaml#definitions/flag
description: description:
If set, indicates the PHY device does not correctly release If set, indicates the PHY device does not correctly release
the turn around line low at the end of a MDIO transaction. the turn around line low at end of the control phase of the
MDIO transaction.
enet-phy-lane-swap: enet-phy-lane-swap:
$ref: /schemas/types.yaml#definitions/flag $ref: /schemas/types.yaml#definitions/flag
......
...@@ -31,13 +31,13 @@ properties: ...@@ -31,13 +31,13 @@ properties:
maxItems: 1 maxItems: 1
description: description:
The phandle and specifier for the GPIO that controls the RESET The phandle and specifier for the GPIO that controls the RESET
lines of all PHYs on that MDIO bus. lines of all devices on that MDIO bus.
reset-delay-us: reset-delay-us:
description: description:
RESET pulse width in microseconds. It applies to all PHY devices RESET pulse width in microseconds. It applies to all MDIO devices
and must therefore be appropriately determined based on all PHY and must therefore be appropriately determined based on all devices
requirements (maximum value of all per-PHY RESET pulse widths). requirements (maximum value of all per-device RESET pulse widths).
clock-frequency: clock-frequency:
description: description:
...@@ -60,7 +60,35 @@ patternProperties: ...@@ -60,7 +60,35 @@ patternProperties:
minimum: 0 minimum: 0
maximum: 31 maximum: 31
description: description:
The ID number for the PHY. The ID number for the device.
broken-turn-around:
$ref: /schemas/types.yaml#definitions/flag
description:
If set, indicates the MDIO device does not correctly release
the turn around line low at end of the control phase of the
MDIO transaction.
resets:
maxItems: 1
reset-names:
const: phy
reset-gpios:
maxItems: 1
description:
The GPIO phandle and specifier for the MDIO reset signal.
reset-assert-us:
description:
Delay after the reset was asserted in microseconds. If this
property is missing the delay will be skipped.
reset-deassert-us:
description:
Delay after the reset was deasserted in microseconds. If
this property is missing the delay will be skipped.
required: required:
- reg - reg
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment