Re: [PATCH] mmc: tegra: Disable UHS-I modes for tegra30
From: Lucas Stach
Date: Tue May 10 2016 - 03:10:06 EST
Hi Jon,
Am Montag, den 09.05.2016, 16:15 +0100 schrieb Jon Hunter:
> Support for SD cards is not working on the Tegra30 Beaver board and
> on
> boot the following error message is seen if an SD card is present:
>
> Âmmc0: error -110 whilst initialising SD card
>
Can you please tell me what kind of SD card you used and at which point
in the initialization it is hanging? I've tested this change on Beaver
and haven't seen any failures after I implemented the memcomppad
calibration.
> In addition to this, Tegra30 is also randomly hanging during system
> suspend when entering and is caused by the Tegra SDHCI driver.
I'll have a look at this soonish.
> Similar
> issues have been seen on the Tegra124 Jetson TK1 and are linked to
> the
> UHS-I tuning sequence. Disabling the UHS-I modes for Tegra30 fixes SD
> card support and prevents any hangs from occurring when entering
> system
> suspend. Therefore, disable the UHS-I modes for Tegra30 for now until
> we can correct the tuning sequence for Tegra.
>
> Signed-off-by: Jon Hunter <jonathanh@xxxxxxxxxx>
> ---
> Âdrivers/mmc/host/sdhci-tegra.c | 4 ----
> Â1 file changed, 4 deletions(-)
>
> diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-
> tegra.c
> index bcc0de47fe7e..24c33aee8e7c 100644
> --- a/drivers/mmc/host/sdhci-tegra.c
> +++ b/drivers/mmc/host/sdhci-tegra.c
> @@ -347,10 +347,6 @@ static const struct sdhci_pltfm_data
> sdhci_tegra30_pdata = {
> Â
> Âstatic const struct sdhci_tegra_soc_data soc_data_tegra30 = {
> Â .pdata = &sdhci_tegra30_pdata,
> - .nvquirks = NVQUIRK_ENABLE_SDHCI_SPEC_300 |
> - ÂÂÂÂNVQUIRK_ENABLE_SDR50 |
> - ÂÂÂÂNVQUIRK_ENABLE_SDR104 |
> - ÂÂÂÂNVQUIRK_HAS_PADCALIB,
> Â};
> Â
> Âstatic const struct sdhci_ops tegra114_sdhci_ops = {