[PATCH] dt-binding: phy: don't confuse with Ethernet phy properties

Subsystems: generic phy framework, open firmware and flattened device tree bindings, the rest

STALE3284d

2 messages, 2 authors, 2017-09-07 · open the first message on its own page

[PATCH] dt-binding: phy: don't confuse with Ethernet phy properties

From: Baruch Siach <baruch@tkos.co.il>
Date: 2017-09-03 14:33:37

The generic PHY 'phys' property sometime appears in the same node with
the Ethernet PHY 'phy' or 'phy-handle' properties. Add a warning in
phy-bindings.txt to reduce confusion.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 Documentation/devicetree/bindings/phy/phy-bindings.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/phy/phy-bindings.txt b/Documentation/devicetree/bindings/phy/phy-bindings.txt
index 1293c321754c..a403b81d0679 100644
--- a/Documentation/devicetree/bindings/phy/phy-bindings.txt
+++ b/Documentation/devicetree/bindings/phy/phy-bindings.txt
@@ -34,7 +34,9 @@ PHY user node
 =============
 
 Required Properties:
-phys : the phandle for the PHY device (used by the PHY subsystem)
+phys : the phandle for the PHY device (used by the PHY subsystem; not to be
+       confused with the Ethernet specific 'phy' and 'phy-handle' properties,
+       see Documentation/devicetree/bindings/net/ethernet.txt for these)
 phy-names : the names of the PHY corresponding to the PHYs present in the
 	    *phys* phandle
 
-- 
2.14.1

Re: [PATCH] dt-binding: phy: don't confuse with Ethernet phy properties

From: David Miller <davem@davemloft.net>
Date: 2017-09-07 04:14:13

From: Baruch Siach <baruch@tkos.co.il>
Date: Sun,  3 Sep 2017 17:32:16 +0300
The generic PHY 'phys' property sometime appears in the same node with
the Ethernet PHY 'phy' or 'phy-handle' properties. Add a warning in
phy-bindings.txt to reduce confusion.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help