diff mbox series

[4/6] sdhci-tegra: enable UHS modes for Tegra210

Message ID 20180327163350.15862-4-a.heider@gmail.com
State Deferred
Headers show
Series [1/6] tegra: pmc: move IO pad IDs to a devicetree binding | expand

Commit Message

Andre Heider March 27, 2018, 4:33 p.m. UTC
From: SwtcR <swtcr0@gmail.com>

This requires the 'nvidia,pad' property in the devicetree. If not
present, UHS modes will not be available.

Signed-off-by: SwtcR <swtcr0@gmail.com>
Signed-off-by: Andre Heider <a.heider@gmail.com>
---
 drivers/mmc/host/sdhci-tegra.c | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c
index 254db23eab5f..db438cef0c7d 100644
--- a/drivers/mmc/host/sdhci-tegra.c
+++ b/drivers/mmc/host/sdhci-tegra.c
@@ -438,6 +438,11 @@  static const struct sdhci_pltfm_data sdhci_tegra210_pdata = {
 
 static const struct sdhci_tegra_soc_data soc_data_tegra210 = {
 	.pdata = &sdhci_tegra210_pdata,
+	.nvquirks = NVQUIRK_ENABLE_SDR50 |
+		    NVQUIRK_ENABLE_DDR50 |
+		    NVQUIRK_ENABLE_SDR104 |
+		    NVQUIRK_HAS_PADCALIB |
+		    NVQUIRK_NEEDS_PAD_CONTROL,
 };
 
 static const struct sdhci_pltfm_data sdhci_tegra186_pdata = {