Message ID | 20190703095513.12340-2-maxime.ripard@bootlin.com |
---|---|
State | Accepted, archived |
Headers | show |
Series | [1/7] dt-bindings: net: mdio: Add a nodename pattern | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | success |
diff --git a/Documentation/devicetree/bindings/net/mdio.yaml b/Documentation/devicetree/bindings/net/mdio.yaml index 12069d0b25c6..24d67074d494 100644 --- a/Documentation/devicetree/bindings/net/mdio.yaml +++ b/Documentation/devicetree/bindings/net/mdio.yaml @@ -21,6 +21,12 @@ properties: $nodename: pattern: "^mdio(@.*)?" + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + reset-gpios: maxItems: 1 description:
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> --- Documentation/devicetree/bindings/net/mdio.yaml | 6 ++++++ 1 file changed, 6 insertions(+)