]> git.baikalelectronics.ru Git - uboot.git/commit
net: sh_eth: Support reset GPIO both in mac and phy node
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Mon, 18 Jun 2018 02:03:01 +0000 (04:03 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Tue, 19 Jun 2018 04:15:55 +0000 (06:15 +0200)
commitf22824d80f77762aef1285ca1e63e7897d1eafb5
treebd2031552aa4a130115426619e54ca556db2c5fb
parent7c691dc888add4abf9f093da2f941f3315e3d176
net: sh_eth: Support reset GPIO both in mac and phy node

The recent DTs have the PHY reset GPIO in the PHY node rather than
the ethernet MAC node, support extracting the PHY reset GPIO info
from both the PHY node and ethernet MAC node.

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