summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/net/mdio.yaml
AgeCommit message (Collapse)Author
2019-07-03dt-bindings: net: mdio: Add child nodesMaxime Ripard
The child nodes of a mdio bus are supposed to be ethernet PHYs, with a reg property. Make sure that's validated as well. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Rob Herring <robh@kernel.org>
2019-07-03dt-bindings: net: mdio: Add address and size cellsMaxime Ripard
MDIO controllers should have child nodes with a singe value in their reg properties being the ID of the PHY in the bus. Let's add the proper constraints on #address-cells and #size-cells. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Rob Herring <robh@kernel.org>
2019-07-03dt-bindings: net: mdio: Add a nodename patternMaxime Ripard
The node name of an MDIO controller should be MDIO. Let's add a rule for this. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Rob Herring <robh@kernel.org>
2019-06-28dt-bindings: net: Add a YAML schemas for the generic MDIO optionsMaxime Ripard
The MDIO buses have a number of available device tree properties that can be used in their device tree node. Add a YAML schemas for those. Suggested-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Rob Herring <robh@kernel.org>