]> git.baikalelectronics.ru Git - kernel.git/commit
net-next: stmmac: mediatek: add more support for RMII
authorBiao Huang <biao.huang@mediatek.com>
Mon, 16 Dec 2019 05:39:57 +0000 (13:39 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Dec 2019 21:48:30 +0000 (13:48 -0800)
commit58fac9d627a22be2ce4fd7500b8502573ff3ea7f
tree31e28a3b997db7c6ea380a884a66d43b7a86eddd
parent15f61ede26036131de43d7f952cf38677c0efdfe
net-next: stmmac: mediatek: add more support for RMII

MT2712 SoC can provide the rmii reference clock, and the clock
will output from TXC pin only, which means ref_clk pin of external
PHY should connect to TXC pin in this case.
Add corresponding clock and timing settings.

Signed-off-by: Biao Huang <biao.huang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c