[PATCH] ARM: tegra: keep power on to SD slot on Dalmore

Stephen Warren swarren at wwwdotorg.org
Thu Mar 28 15:22:30 EDT 2013


From: Stephen Warren <swarren at nvidia.com>

Set "regulator-always-on" for the SD slot on Dalmore, so that SD cards
work. This used to work, since this regulator is on by default, but was
broken by commit "ARM: tegra: dalmore: add TPS65090 node", since that
didn't specify always-on for this regulator.

In the long run, the regulators should all be hooked up to the SDHCI
device nodes. However, we haven't done that for any of the Tegra boards
yet, so to be consistent, this patch simply forces the regulator on,
rather than hooking it up and making it work differently to other boards.

Cc: Laxman Dewangan <ldewangan at nvidia.com>
Reported-by: Rhyland Klein <rklein at nvidia.com>
Signed-off-by: Stephen Warren <swarren at nvidia.com>
---
 arch/arm/boot/dts/tegra114-dalmore.dts |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts b/arch/arm/boot/dts/tegra114-dalmore.dts
index 2ef9f0e..0d8ceda 100644
--- a/arch/arm/boot/dts/tegra114-dalmore.dts
+++ b/arch/arm/boot/dts/tegra114-dalmore.dts
@@ -807,6 +807,7 @@
 
 				fet6 {
 					regulator-name = "vdd-sd-slot";
+					regulator-always-on;
 					regulator-boot-on;
 				};
 
-- 
1.7.10.4




More information about the linux-arm-kernel mailing list