[PATCH v2] net: stmmac: Wait a bit for the reset to take effect
Bernd Edlinger
bernd.edlinger at hotmail.de
Thu Jan 18 23:15:31 PST 2024
On 1/17/24 17:55, Jose Abreu wrote:
> From: Bernd Edlinger <bernd.edlinger at hotmail.de>
> Date: Wed, Jan 17, 2024 at 16:48:22
>
>> I don't know at all. And actually, I am more concerned that other registers
>> might be unreliable within the first microsecond after reset is de-asserted.
>
> Are you guaranteeing that the documented PoR time is achieved before reading registers?
>
Yes, that is the idea, why I added the udelay directly after releasing the reset,
thus simply delaying the execution of the stmmac_hw_init function, and not directly
where the synopsys_id register is accessed.
Thanks
Bernd.
More information about the linux-arm-kernel
mailing list