Re: [PATCH] net: phy: fix PHY possibly unwork after MDIO bus resume back

2021-04-05 Thread Christian Melki
On 4/5/21 2:09 PM, Heiner Kallweit wrote: > On 05.04.2021 10:43, Christian Melki wrote: >> On 4/5/21 12:48 AM, Heiner Kallweit wrote: >>> On 04.04.2021 16:09, Heiner Kallweit wrote: >>>> On 04.04.2021 12:07, Joakim Zhang wrote: >>>>> commit 4c0d2e96ba

Re: [PATCH] net: phy: fix PHY possibly unwork after MDIO bus resume back

2021-04-05 Thread Christian Melki
On 4/5/21 12:48 AM, Heiner Kallweit wrote: > On 04.04.2021 16:09, Heiner Kallweit wrote: >> On 04.04.2021 12:07, Joakim Zhang wrote: >>> commit 4c0d2e96ba055 ("net: phy: consider that suspend2ram may cut >>> off PHY power") invokes phy_init_hw() when MDIO bus resume, it will >>> soft reset PHY if P

[PATCH v3 net] net: phy: micrel: set soft_reset callback to genphy_soft_reset for KSZ8081

2021-02-24 Thread Christian Melki
this implementation during a 4.9.x to 5.4.x LTS transition. I think it's a good thing to remove unwanted soft resets but wonder if it did open a can of worms? Atleast this fixes one iMX6 FEC/RMII/8081 combo. Fixes: 6e2d85ec0559 ("net: phy: Stop with excessive soft reset") Signed-off

[PATCH v2 net] net: phy: micrel: set soft_reset callback to genphy_soft_reset for KSZ8081

2021-02-23 Thread Christian Melki
tgus implementation during a 4.9.x to 5.4.x LTS transition. I think it's a good thing to remove unwanted soft resets but wonder if it did open a can of worms? Atleast this fixes one iMX6 FEC/RMII/8081 combo. Fixes: 6e2d85ec0559 ("net: phy: Stop with excessive soft reset") Signed-off

[PATCH net] net: phy: micrel: set soft_reset callback to genphy_soft_reset for KSZ8081

2021-02-18 Thread Christian Melki
with implementation during a 4.9.x to 5.4.x LTS transition. I think it's a good thing to remove unwanted soft resets but wonder if it did open a can of worms? Atleast this fixes one iMX6 FEC/RMII/8081 combo. Fixes: 6e2d85ec0559 ("net: phy: Stop with excessive soft reset") Signed-off