summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaijun Zhang <Haijun.Zhang@freescale.com>2013-10-15 02:37:03 (GMT)
committerJ. German Rivera <German.Rivera@freescale.com>2013-10-22 20:56:47 (GMT)
commit5c879b1c522143ba46ece84320a925a63ba6d13e (patch)
tree833ad4e11450c44fc14b2f8c0f6dd25e5d45eb21
parent79bd27e905da1b17a17ea807c04dc7fddd0dcb14 (diff)
downloadlinux-fsl-qoriq-5c879b1c522143ba46ece84320a925a63ba6d13e.tar.xz
Powerpc/eSDCH: Specify voltage for T4240QDS
Freescale T4240QDS reference board has extra voltage shifters added to allow 3.3V operation, so add 3.3v voltage support for T4240QDS. 1.8v and 3.3v is recommand for eMMC and SDHC card. Signed-off-by: Haijun Zhang <haijun.zhang@freescale.com> Change-Id: I3cd97a087535406ac4db4e30dc6169ab024d20bf Reviewed-on: http://git.am.freescale.net:8181/4824 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Xie Xiaobo-R63061 <X.Xie@freescale.com> Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
-rw-r--r--arch/powerpc/boot/dts/t4240qds.dts4
-rw-r--r--drivers/mmc/host/sdhci-pltfm.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/arch/powerpc/boot/dts/t4240qds.dts b/arch/powerpc/boot/dts/t4240qds.dts
index 8f77df9..4eff41c 100644
--- a/arch/powerpc/boot/dts/t4240qds.dts
+++ b/arch/powerpc/boot/dts/t4240qds.dts
@@ -541,6 +541,10 @@
status = "disabled";
};
};
+
+ sdhc@114000 {
+ voltage-ranges = <1800 1800 3300 3300>;
+ };
};
pci0: pcie@ffe240000 {
diff --git a/drivers/mmc/host/sdhci-pltfm.c b/drivers/mmc/host/sdhci-pltfm.c
index 47586c6..73bf9a3 100644
--- a/drivers/mmc/host/sdhci-pltfm.c
+++ b/drivers/mmc/host/sdhci-pltfm.c
@@ -89,7 +89,6 @@ void sdhci_get_of_property(struct platform_device *pdev)
if (of_device_is_compatible(np, "fsl,t4240-esdhc")) {
host->quirks2 |= SDHCI_QUIRK2_LONG_TIME_CMD_COMPLETE_IRQ;
- host->quirks2 |= SDHCI_QUIRK2_CIRCUIT_SUPPORT_VS33;
host->quirks2 |= SDHCI_QUIRK2_FORCE_CMD13_DETECT_CARD;
host->quirks |= SDHCI_QUIRK_BROKEN_ADMA;
}