]> 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)
commit9d083e45d90a87afd3a0e739731efb4104ec8105
treef39bdbfe623ebe46cd2d45ff7a7c468b418cc151
parent22f703f7ab41da1872459e7ad5f9472bb2e08d54
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