mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Fix PHY init timeout issues
@ 2024-02-22 19:17 Elad Nachman
  2024-02-22 19:17 ` [PATCH v3 1/2] mmc: xenon: fix PHY init clock stability Elad Nachman
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Elad Nachman @ 2024-02-22 19:17 UTC (permalink / raw)
  To: huziji, ulf.hansson, adrian.hunter, linux-mmc, linux-kernel; +Cc: enachman

From: Elad Nachman <enachman@marvell.com>

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-02-28 13:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-22 19:17 [PATCH v3 0/2] Fix PHY init timeout issues Elad Nachman
2024-02-22 19:17 ` [PATCH v3 1/2] mmc: xenon: fix PHY init clock stability Elad Nachman
2024-02-22 19:17 ` [PATCH v3 2/2] mmc: xenon: add timeout for PHY init complete Elad Nachman
2024-02-28 13:04 ` [PATCH v3 0/2] Fix PHY init timeout issues Ulf Hansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®