]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
dt-bindings: net: mdio: Add address and size cells
authorMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 3 Jul 2019 09:55:08 +0000 (11:55 +0200)
committerRob Herring <robh@kernel.org>
Wed, 3 Jul 2019 19:18:03 +0000 (13:18 -0600)
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>
Documentation/devicetree/bindings/net/mdio.yaml

index 12069d0b25c60eedaec67417d2a8058112e4bab3..24d67074d4946ff03e9b0bc1b0e0affa8a8cc1d0 100644 (file)
@@ -21,6 +21,12 @@ properties:
   $nodename:
     pattern: "^mdio(@.*)?"
 
+  "#address-cells":
+    const: 1
+
+  "#size-cells":
+    const: 0
+
   reset-gpios:
     maxItems: 1
     description: