net: stmmac: dwmac-rk: Add integrated PHY support
authorDavid Wu <david.wu@rock-chips.com>
Thu, 10 Aug 2017 14:00:02 +0000 (22:00 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Aug 2017 21:28:58 +0000 (14:28 -0700)
commitfecd4d7eef8b219a7e7ab3524619b7ed76d208b4
treee9d51a3e9ebf14ec5fdbc746955df285ef811cbc
parent2398506b4ec121bc86d97e13f9f9c76085baf2ad
net: stmmac: dwmac-rk: Add integrated PHY support

To make integrated PHY work, need to configure the PHY clock,
PHY cru reset and related registers.

Signed-off-by: David Wu <david.wu@rock-chips.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c