]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: dwmac-rk: Add integrated PHY supprot for rk3328
authorDavid Wu <david.wu@rock-chips.com>
Thu, 10 Aug 2017 14:00:52 +0000 (22:00 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Aug 2017 21:28:59 +0000 (14:28 -0700)
commit1645f2b7ad7d34258b464f291d7814a88fd1177e
tree15de7fe2e2807c7f925369647d47fb8c4773b684
parent46beef63d8753fee49922bb49206422927d0f697
net: stmmac: dwmac-rk: Add integrated PHY supprot for rk3328

There are two mac controllers in the rk3328, the one connects
to external PHY, and the other one connects to integrated PHY.
Like the mac of external PHY, the integrated PHY's mac also
needs to configure the related mac registers at GRF.

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