]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: net: cpsw: Document cpsw-phy-sel usage but prefer phandle
authorTony Lindgren <tony@atomide.com>
Wed, 29 Aug 2018 15:00:23 +0000 (08:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 2 Sep 2018 20:52:13 +0000 (13:52 -0700)
commit223cd2bbe44434502f63bc61a5930e9d023cd740
tree5d4dab7256511bb35a582fcdd2e172a585d3620f
parent8a57a17e8df1e239992903cc4a81cddac0daddb9
dt-bindings: net: cpsw: Document cpsw-phy-sel usage but prefer phandle

The current cpsw usage for cpsw-phy-sel is undocumented but is used for
all the boards using cpsw. And cpsw-phy-sel is not really a child of
the cpsw device, it lives in the system control module instead.

Let's document the existing usage, and improve it a bit where we prefer
to use a phandle instead of a child device for it. That way we can
properly describe the hardware in dts files for things like genpd.

Cc: devicetree@vger.kernel.org
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Murali Karicheri <m-karicheri2@ti.com>
Cc: Rob Herring <robh+dt@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/cpsw.txt