Linux MultiMedia Card development
 help / color / mirror / Atom feed
* SDHCI AM654 driver delaying boot time
@ 2023-11-08 18:56 João Paulo Silva Gonçalves
  2023-11-09 17:51 ` Nishanth Menon
  0 siblings, 1 reply; 6+ messages in thread
From: João Paulo Silva Gonçalves @ 2023-11-08 18:56 UTC (permalink / raw)
  To: nm@ti.com, faiz_abbas@ti.com, ulf.hansson@linaro.org,
	linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org
  Cc: adrian.hunter@intel.com, Francesco Dolcini

Hello all, 

We are trying to minimize boot time for our AM62 devices. Unfortunately, we have identified a delay of approximately 1.5 seconds caused by the
sdhci_am654 driver. This delay is a result of a timeout within the driver (MAX_POWER_ON_TIMEOUT) and was introduced in commit 7ca0f16 ("mmc:
sdhci_am654: Add workaround for card detect debounce timer"). This issue arises only when there is no SD card present in the MMC slot.  We tested the
driver with a lower timeout value and everything worked. However, as indicated in the commit message, this timeout may be related to the way the sdhci
controller hardware IP works. Currently, the driver employs a sort of a "busy loop" to wait for this timeout to pass delaying the boot. Why is
need to busy loop for this timeout? Is it possible to wait for it in the backgroud? Am I am missing something here? 

Regards,
Joao Paulo


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

end of thread, other threads:[~2023-11-14  8:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-08 18:56 SDHCI AM654 driver delaying boot time João Paulo Silva Gonçalves
2023-11-09 17:51 ` Nishanth Menon
2023-11-10  4:38   ` Vignesh Raghavendra
2023-11-10 14:55     ` João Paulo Silva Gonçalves
2023-11-10 14:19   ` Francesco Dolcini
2023-11-14  8:25     ` Adrian Hunter

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