UPSTREAM: net: arc_emac: support the phy reset for emac driver

This patch adds to support the emac phy reset.

Different boards may require different phy reset duration. Add property
phy-reset-duration for emac driver, so that the boards that need
a longer reset duration can specify it in their device tree.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Cc: Alexander Kochetkov <al.kochet@gmail.com>
Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Bug: 27311701
Patchset: Add the emac phy reset for driver

(cherry picked from git.kernel.org davem/net-next.git master
 commit 1bddd96cba03da0a14b3e5144e98c9a6ff17e983)
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Change-Id: I8964138c66f9b45581bd18dce986f6a4d0d48406
2 files changed