mbox series

[0/2] Fix PHY init timeout issues

Message ID 20240207170425.478558-1-enachman@marvell.com
Headers show
Series Fix PHY init timeout issues | expand

Message

Elad Nachman Feb. 7, 2024, 5:04 p.m. UTC
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.

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 | 54 ++++++++++++++++++++++++++----
 1 file changed, 48 insertions(+), 6 deletions(-)