[PATCH v3 0/2] Fix PHY init timeout issues
From: Elad Nachman
Date: Thu Feb 22 2024 - 14:17:37 EST
From: Elad Nachman <enachman@xxxxxxxxxxx>
Fix PHY init timeout issues:
1. Clock Stability issue causing PHY timeout
2. Timeout taking longer than needed on AC5X.
Solve by constantly testing the PHY init bit
until it toggles, but up to 100X timeout factor.
v2:
1) convert polling loop to read_poll_timeout()
for both patches.
v3:
1) Add Acked-by, Fixes and CC for stable
Elad Nachman (2):
mmc: xenon: fix PHY init clock stability
mmc: xenon: add timeout for PHY init complete
drivers/mmc/host/sdhci-xenon-phy.c | 48 ++++++++++++++++++++++++------
1 file changed, 39 insertions(+), 9 deletions(-)
--
2.25.1