]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 28 Apr 2020 18:03:17 +0000 (19:03 +0100)
commit43261ab1e5b88426774b0b35557088e231ce4e4b
treefdbaeb821ffe234e8c06ae623eac9d9b2a2baf79
parent14258a285f34ab0595b2859c5ded5d2fde955320
net: stmmac: dwmac-sunxi: Allow all RGMII modes

commit 52cc73e5404c7ba0cbfc50cb4c265108c84b3d5a upstream.

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: Ben Hutchings <ben@decadent.org.uk>
drivers/net/ethernet/stmicro/stmmac/dwmac-sunxi.c