[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201118105251.0f3c9ac8@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net>
Date: Wed, 18 Nov 2020 10:52:51 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Andrew Lunn <andrew@...n.ch>
Cc: "Ruslan V. Sushko" <rus@...hko.dev>, netdev@...r.kernel.org
Subject: Re: [PATCH] net: dsa: mv88e6xxx: Wait for EEPROM done after HW
reset
On Mon, 16 Nov 2020 08:43:01 -0800 Ruslan V. Sushko wrote:
> From: Andrew Lunn <andrew@...n.ch>
>
> When the switch is hardware reset, it reads the contents of the
> EEPROM. This can contain instructions for programming values into
> registers and to perform waits between such programming. Reading the
> EEPROM can take longer than the 100ms mv88e6xxx_hardware_reset() waits
> after deasserting the reset GPIO. So poll the EEPROM done bit to
> ensure it is complete.
>
> Signed-off-by: Andrew Lunn <andrew@...n.ch>
> Signed-off-by: Ruslan Sushko <rus@...hko.dev>
Andrew, do we need this in net?
Powered by blists - more mailing lists