net: gmac_rockchip: Add handling for RGMII_ID/RXID/TXID
authorJanine Hagemann <j.hagemann@phytec.de>
Tue, 28 Aug 2018 06:25:05 +0000 (08:25 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Thu, 4 Oct 2018 19:15:46 +0000 (21:15 +0200)
commit3d1bd5b5908db002a7d52a43bca744bc33790453
treeea6ce12d9065aceb0d909bece36ac0d7204d1b8f
parent04acabd22c2473c7dd65c3a5f900cb80d9619cc0
net: gmac_rockchip: Add handling for RGMII_ID/RXID/TXID

Using PHY internal delays in combination with the phy-mode
rgmii-id/rxid/txid was not possible. Only rgmii was supported.

Now we can disable rockchip's gmac delay lines and also use
rgmii-id/rxid/txid.

Based on commit eaf70ad14cbb ("net: stmmac: dwmac-rk: Add
handling for RGMII_ID/RXID/TXID") for mainline linux kernel.

Signed-off-by: Janine Hagemann <j.hagemann@phytec.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: David Wu <david.wu@rock-chips.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
drivers/net/gmac_rockchip.c