[PATCH v2 net 0/1] net: fec: Fix temporary RMII clock reset on link up

2021-01-25 Thread Laurent Badel
In an effort to minimize changes to driver, the patch proposes to use soft reset only for tested SoCs (iMX28) and only if the link is up. This preserves hardware reset in other situations, which might be required for proper setup of the MAC. Laurent Badel (1): net: fec: Fix temporary RMII c

[PATCH v2 net 1/1] net: fec: Fix temporary RMII clock reset on link up

2021-01-25 Thread Laurent Badel
by using software reset instead of hardware reset when the link is up. This is generally relevant only if the SoC provides the clock to an external PHY and the PHY is configured for RMII. Signed-off-by: Laurent Badel --- drivers/net/ethernet/freescale/fec.h | 5 + drivers/net/ethernet

[PATCH net 1/1] net: fec: Fix temporary RMII clock reset on link up

2021-01-22 Thread Laurent Badel
clock by using software reset instead of hardware reset when the link is up. This is generally relevant only if the SoC provides the clock to an external PHY and the PHY is configured for RMII. Signed-off-by: Laurent Badel --- drivers/net/ethernet/freescale/fec.h | 5 + drivers/net

[PATCH net 0/1] net: fec: Fix RMII clock glitch in FEC

2021-01-22 Thread Laurent Badel
o driver, the patch proposes to use soft reset only for tested SoCs (iMX28) and only if the link is up. This preserves hardware reset in other situations, which might be required for proper setup of the MAC. Laurent Badel (1): Fix temporary RMII clock reset on link up drivers/net/ethernet/fr

[PATCH net 0/1] net: phy: Fix interrupt mask loss on resume from hibernation

2021-01-22 Thread Laurent Badel
sfs restored the PHY functionality immediately suggesting that everything is otherwise well configured. Therefore this patch suggests freeing and re-requesting the interrupt, to guarantee proper interrupt configuration. Laurent Badel (1): net: phy: Reconfigure PHY interrupt in mdio_bus_phy_rest

[PATCH net 1/1] net: phy: Reconfigure PHY interrupt in mdio_bus_phy_restore()

2021-01-22 Thread Laurent Badel
Some PHY (e.g. SMSC LAN87xx) clear their interrupt mask on software reset. This breaks the ethernet interface on resuming from hibernation, if the PHY is running in interrupt mode, so reconfigure interrupts after the software reset in mdio_bus_phy_restore(). Signed-off-by: Laurent Badel