aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoger Quadros2016-03-09 10:50:24 -0600
committerSekhar Nori2016-03-09 22:16:40 -0600
commit17d192b999ee904ced223c16cef76111a51c461b (patch)
tree86800bf65c27b6b29b2ee3b77ad121572f0ebe77
parentf382ff6a28bba52fcd1361d535714764dfe09104 (diff)
downloadti-linux-kernel-17d192b999ee904ced223c16cef76111a51c461b.tar.gz
ti-linux-kernel-17d192b999ee904ced223c16cef76111a51c461b.tar.xz
ti-linux-kernel-17d192b999ee904ced223c16cef76111a51c461b.zip
net: davinci_mdio: add GPIO reset logic
Some boards [1] leave the PHYs at an invalid state during system power-up or reset thus causing unreliability issues with the PHY like not being detected by the mdio bus or link not functional. To work around these boards have a GPIO connected to the PHY's reset pin. Implement GPIO reset handling for such cases. [1] - am572x-idk, am571x-idk, a437x-idk. Signed-off-by: Roger Quadros <rogerq@ti.com> Reviewed-by: Suman Anna <s-anna@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
-rw-r--r--Documentation/devicetree/bindings/net/davinci-mdio.txt2
-rw-r--r--drivers/net/ethernet/ti/davinci_mdio.c71
2 files changed, 64 insertions, 9 deletions