LF-3483-5 net: eqos: Add PHY reset control for i.MX platform
authorYe Li <ye.li@nxp.com>
Fri, 19 Feb 2021 02:01:09 +0000 (18:01 -0800)
committerYe Li <ye.li@nxp.com>
Thu, 29 Apr 2021 07:56:37 +0000 (00:56 -0700)
commit63a08e0e8daf19f5cfbefc15bd0c45cef8c9febb
tree3c5c52c4fbb5086dc33a529692fd1fecc16b1a73
parent55379f6b14de85ea2815197eb7fa8fdc3aaf8d68
LF-3483-5 net: eqos: Add PHY reset control for i.MX platform

Parse the "phy-reset-gpios", "phy-reset-post-delay" and
"phy-reset-duration" properties from eqos node to control the
ethernet PHY reset at driver probe.
Reset PHY once is enough that can reduce the time cost to
get IP after the first time.

Signed-off-by: Ye Li <ye.li@nxp.com>
drivers/net/dwc_eth_qos.c