]> git.baikalelectronics.ru Git - kernel.git/commit
net/macb: Update device tree binding for resetting PHY using GPIO
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Thu, 17 Dec 2015 09:51:04 +0000 (10:51 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Dec 2015 20:53:22 +0000 (15:53 -0500)
commit48632431b9cc399cb0db0b9f738a272bbea22762
treef39bdbfe623ebe46cd2d45ff7a7c468b418cc151
parent3f3741187b48fa5ec8c0ac334b4d53a0d28fc0dd
net/macb: Update device tree binding for resetting PHY using GPIO

Instead of being at the MAC level the reset gpio preperty is moved at the
PHY child node level. It is still managed by the MAC, but from the point
of view of the binding it make more sense to be part of the PHY node.

This commit also fixes a build errors if GPIOLIB is not selected.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/macb.txt
drivers/net/ethernet/cadence/macb.c