Re: PHY reset question

2020-10-12 Thread Marek Vasut
On 10/12/20 7:48 AM, Oleksij Rempel wrote: > Hi all, > > thank you for the feedback! > > On Fri, Oct 09, 2020 at 04:25:49PM +0200, Bruno Thomsen wrote: >> Hi Fabio and Oleksij >> >> Den ons. 7. okt. 2020 kl. 11.50 skrev Fabio Estevam : >>> >>> Hi Oleksij, >>> >>> On Tue, Oct 6, 2020 at 5:05 AM

Re: PHY reset question

2020-10-11 Thread Oleksij Rempel
Hi all, thank you for the feedback! On Fri, Oct 09, 2020 at 04:25:49PM +0200, Bruno Thomsen wrote: > Hi Fabio and Oleksij > > Den ons. 7. okt. 2020 kl. 11.50 skrev Fabio Estevam : > > > > Hi Oleksij, > > > > On Tue, Oct 6, 2020 at 5:05 AM Oleksij Rempel > > wrote: > > > > > > Hello PHY

Re: PHY reset question

2020-10-09 Thread Bruno Thomsen
Hi Fabio and Oleksij Den ons. 7. okt. 2020 kl. 11.50 skrev Fabio Estevam : > > Hi Oleksij, > > On Tue, Oct 6, 2020 at 5:05 AM Oleksij Rempel wrote: > > > > Hello PHY experts, > > > > Short version: > > what is the proper way to handle the PHY reset before identifying PHY? > > > > Long version: >

Re: PHY reset question

2020-10-07 Thread Florian Fainelli
On 10/7/2020 3:47 AM, Marco Felsch wrote: Florian did you send a new version of those patches? I did not because we had a good conversation with Rob over IRC and the conclusion was that the only solution that scaled across drivers, subsystems and type of resources (regulators, clocks,

Re: PHY reset question

2020-10-07 Thread Marco Felsch
On 20-10-07 11:20, Marek Vasut wrote: > On 10/7/20 11:06 AM, Marco Felsch wrote: ... > > You're right, just wanted to provide you a link :) > > Can you CC me on the next version of those patches ? I seems the LAN8710 > is causing grief to many. No need to since this serie was already applied.

Re: PHY reset question

2020-10-07 Thread Fabio Estevam
Hi Oleksij, On Tue, Oct 6, 2020 at 5:05 AM Oleksij Rempel wrote: > > Hello PHY experts, > > Short version: > what is the proper way to handle the PHY reset before identifying PHY? > > Long version: > I stumbled over following issue: > If PHY reset is registered within PHY node. Then, sometimes,

Re: PHY reset question

2020-10-07 Thread Marek Vasut
On 10/7/20 11:06 AM, Marco Felsch wrote: > On 20-10-07 10:23, Marek Vasut wrote: >> On 10/7/20 10:14 AM, Marco Felsch wrote: >>> Hi Marek, >> >> Hi, >> >> [...] >> >>> On 20-10-06 14:11, Florian Fainelli wrote: On 10/6/2020 1:24 PM, Marek Vasut wrote: >>> >>> ... >>> > If this happens on

Re: PHY reset question

2020-10-07 Thread Marco Felsch
On 20-10-07 10:23, Marek Vasut wrote: > On 10/7/20 10:14 AM, Marco Felsch wrote: > > Hi Marek, > > Hi, > > [...] > > > On 20-10-06 14:11, Florian Fainelli wrote: > >> On 10/6/2020 1:24 PM, Marek Vasut wrote: > > > > ... > > > >>> If this happens on MX6 with FEC, can you please try these two

Re: PHY reset question

2020-10-07 Thread Marek Vasut
On 10/7/20 10:14 AM, Marco Felsch wrote: > Hi Marek, Hi, [...] > On 20-10-06 14:11, Florian Fainelli wrote: >> On 10/6/2020 1:24 PM, Marek Vasut wrote: > > ... > >>> If this happens on MX6 with FEC, can you please try these two patches? >>> >>>

Re: PHY reset question

2020-10-07 Thread Marco Felsch
Hi Marek, On 20-10-06 14:11, Florian Fainelli wrote: > On 10/6/2020 1:24 PM, Marek Vasut wrote: ... > > If this happens on MX6 with FEC, can you please try these two patches? > > > > https://patchwork.ozlabs.org/project/netdev/patch/20201006135253.97395-1-ma...@denx.de/ > > > >

Re: PHY reset question

2020-10-06 Thread Marek Vasut
On 10/6/20 11:11 PM, Florian Fainelli wrote: > > > On 10/6/2020 1:24 PM, Marek Vasut wrote: >> On 10/6/20 9:36 PM, Florian Fainelli wrote: >> [...] - Use compatible ("compatible = "ethernet-phy-id0022.1560") in the devicetree,     so that reading the PHYID is not needed     -

Re: PHY reset question

2020-10-06 Thread Florian Fainelli
On 10/6/2020 1:24 PM, Marek Vasut wrote: On 10/6/20 9:36 PM, Florian Fainelli wrote: [...] - Use compatible ("compatible = "ethernet-phy-id0022.1560") in the devicetree,    so that reading the PHYID is not needed    - easy to solve.    Disadvantage:    - losing PHY auto-detection

Re: PHY reset question

2020-10-06 Thread Marek Vasut
On 10/6/20 9:36 PM, Florian Fainelli wrote: [...] >> - Use compatible ("compatible = "ethernet-phy-id0022.1560") in the >> devicetree, >>    so that reading the PHYID is not needed >>    - easy to solve. >>    Disadvantage: >>    - losing PHY auto-detection capability >>    - need a new devicetree

Re: PHY reset question

2020-10-06 Thread Florian Fainelli
On 10/6/2020 1:04 AM, Oleksij Rempel wrote: Hello PHY experts, Short version: what is the proper way to handle the PHY reset before identifying PHY? Long version: I stumbled over following issue: If PHY reset is registered within PHY node. Then, sometimes, we will not be able to identify

PHY reset question

2020-10-06 Thread Oleksij Rempel
Hello PHY experts, Short version: what is the proper way to handle the PHY reset before identifying PHY? Long version: I stumbled over following issue: If PHY reset is registered within PHY node. Then, sometimes, we will not be able to identify it (read PHY ID), because PHY is under reset.