Skip to content

Commit

Permalink
dt-binding: phy: don't confuse with Ethernet phy properties
Browse files Browse the repository at this point in the history
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Baruch Siach authored and David S. Miller committed Sep 7, 2017
1 parent 80cee03 commit 9a94b3a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Documentation/devicetree/bindings/phy/phy-bindings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9a94b3a

Please sign in to comment.