]> git.ipfire.org Git - people/arne_f/kernel.git/commit
net: stmmac: dwmac-sunxi: Allow all RGMII modes
authorChen-Yu Tsai <wens@csie.org>
Mon, 6 Jan 2020 03:09:22 +0000 (11:09 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 12 Jan 2020 11:17:26 +0000 (12:17 +0100)
commit5994f91dcdc4c85c0dc024091d0ab5b16d4088b2
treef9dc9e8e68addeaf9d17748a0ec05f16a9a15ba9
parent527d7463069155959bc64555a5e261d1d037b7d6
net: stmmac: dwmac-sunxi: Allow all RGMII modes

[ Upstream commit 52cc73e5404c7ba0cbfc50cb4c265108c84b3d5a ]

Allow all the RGMII modes to be used. This would allow us to represent
the hardware better in the device tree with RGMII_ID where in most
cases the PHY's internal delay for both RX and TX are used.

Fixes: af0bd4e9ba80 ("net: stmmac: sunxi platform extensions for GMAC in Allwinner A20 SoC's")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-sunxi.c