dt-bindings: net: mdio: Document common properties
Subsystems (4)
PATCH 1/1 dt-bindings: net: mdio: Document common properties
Some of the properties pertaining to the broken turn around or resets were only documented in ethernet-phy.yaml while they are applicable across all MDIO devices and not Ethernet PHYs specifically which are a superset.
Signed-off-by Florian Fainelli <[email protected]>
--- .../devicetree/bindings/net/mdio.yaml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+)
Documentation/devicetree/bindings/net/mdio.yaml +27 -0
@@ -50,6 +50,33 @@ patternProperties: description: The ID number for the PHY. + broken-turn-around: + $ref: /schemas/types.yaml#definitions/flag + description: + If set, indicates the PHY device does not correctly release + the turn around line low at the end of a MDIO transaction. + + resets: + maxItems: 1 + + reset-names: + const: phy + + reset-gpios: + maxItems: 1 + description: + The GPIO phandle and specifier for the PHY 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: - reg
Signature · 1 line
2.19.1
Andrew Lunn
maintainerQuoted 15 lines · Florian Fainelli
Some of the properties pertaining to the broken turn around or resets were only documented in
ethernet-phy.yamlwhile they are applicable across all MDIO devices and not Ethernet PHYs specifically which are a superset.Signed-off-by Florian Fainelli <[email protected]>--- .../devicetree/bindings/net/mdio.yaml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+)Documentation/devicetree/bindings/net/mdio.yaml +0
-0
Documentation/devicetree/bindings/net/mdio.yaml patternProperties: · line 57
Quoted 8 lines
Documentation/devicetree/bindings/net/mdio.yaml +5
-0@@ -50,6 +50,33 @@ patternProperties: description: The ID number for the PHY. + broken-turn-around: + $ref: /schemas/types.yaml#definitions/flag + description: + If set, indicates the PHY device does not correctly release + the turn around line low at the end of a MDIO transaction.
Hi Florian
Since this is a generic property, maybe this should be "the MDIO device"? Probably the whole document needs s/PHY/MDIO/g ?
Andrew