net: ravb: Add PHY reset GPIO support
authorMarek Vasut <marek.vasut@gmail.com>
Fri, 15 Sep 2017 19:11:15 +0000 (21:11 +0200)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Sun, 24 Sep 2017 05:12:07 +0000 (14:12 +0900)
commitbddb44e94a51d387ff8fc307d21a5f76bd3093e9
treef6b036655dddf3bf0d7f363cd48a420d95efa61c
parent849ab0a66f1a1272022bab912bcbcc4e22648c66
net: ravb: Add PHY reset GPIO support

Add support for obtaining PHY reset GPIO from DT and toggling it
before configuring the PHY to put the PHY into defined state.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
drivers/net/ravb.c