[PATCH] net: sun8i-emac: Allow all RGMII PHY modes

Heinrich Schuchardt xypron.glpk at gmx.de
Mon Nov 30 18:23:14 CET 2020


On 11/16/20 10:46 AM, Andre Przywara wrote:
> So far all GBit users of the sun8i-emac driver were using the "rgmii"
> PHY mode, even though this turns out to be mostly wrong. It just worked
> because the PHY driver doesn't do the proper setup (yet).
> In fact for most boards the "rgmii-id" or "rgmii-txid" PHY modes are the
> correct ones.
>
> To allow the DTs to describe the phy-mode correctly, and to stay
> compatible with Linux, at least allow those other RGMII modes in the
> driver.
>
> This avoids breakage if mainline DTs will be synced with U-Boot.
>
> An almost identical patch (f1239d8aa84d) was merged into the Linux driver
> and has been backported to stable kernels.
>
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>

Hello Joe,

could we get this into v2021.01, please?

Acked-by: Heinrich Schuchardt <xypron.glpk at gmx.de>


More information about the U-Boot mailing list