projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c2c04c
)
dt-bindings: net: mdio: Add address and size cells
author
Maxime Ripard
<maxime.ripard@bootlin.com>
Wed, 3 Jul 2019 09:55:08 +0000
(11:55 +0200)
committer
Rob 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
patch
|
blob
|
history
diff --git
a/Documentation/devicetree/bindings/net/mdio.yaml
b/Documentation/devicetree/bindings/net/mdio.yaml
index 12069d0b25c60eedaec67417d2a8058112e4bab3..24d67074d4946ff03e9b0bc1b0e0affa8a8cc1d0 100644
(file)
--- 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: