[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAFBinCA8T6hcdkt72g_HRRuoaUzfb28C0C5feJL+BCSf6YsRTw@mail.gmail.com>
Date: Sun, 15 Nov 2020 17:58:52 +0100
From: Martin Blumenstingl <martin.blumenstingl@...glemail.com>
To: Andrew Lunn <andrew@...n.ch>
Cc: Hauke Mehrtens <hauke@...ke-m.de>, netdev@...r.kernel.org,
vivien.didelot@...il.com, f.fainelli@...il.com, olteanv@...il.com,
davem@...emloft.net, kuba@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: lantiq: Wait for the GPHY firmware to be ready
Hi Andrew,
On Sun, Nov 15, 2020 at 4:57 PM Andrew Lunn <andrew@...n.ch> wrote:
>
> > Add a 300ms delay after initializing all GPHYs to ensure that the GPHY
> > firmware had enough time to initialize and to appear on the MDIO bus.
> > Unfortunately there is no (known) documentation on what the minimum time
> > to wait after releasing the reset on an internal PHY so play safe and
> > take the one for the external variant. Only wait after the last GPHY
> > firmware is loaded to not slow down the initialization too much (
> > xRX200 has two GPHYs but newer SoCs have at least three GPHYs).
>
> Hi Martin
>
> Could this be moved into gswip_gphy_fw_list() where the actual
> firmware download happens?
>
> To me that seems like the more logical place.
good point, that's closer to the loop over all GPHY instances.
I've taken care of it in v2 - many thanks!
Best regards,
Martin
Powered by blists - more mailing lists