Re: [PATCH] mmc: tegra: Add Runtime PM callbacks

From: Jon Hunter
Date: Tue Jul 28 2020 - 10:12:30 EST



On 27/07/2020 13:47, Aniruddha Rao wrote:
> Add runtime suspend/resume callbacks to save power
> when the bus is not in use.
> In runtime suspend
> - Turn off the SDMMC host CAR clock.
> - Turn off the trimmer/DLL circuit(BG) power supply(VREG).
> - Turn off the SDMMC host internal clocks.
>
> Re-enable all the disabled clocks/regulators in runtime resume.
>
> Signed-off-by: Aniruddha Rao <anrao@xxxxxxxxxx>


This patch is causing a boot regression on Tegra20 Ventana. Other boards
appear to be booting fine, but this is breaking something for Tegra20.
The bootlogs don't appear to show any particular crash, but I see a hang
when initialising the sdhci controllers.

Cheers
Jon

--
nvpublic