linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: tegra: beaver: allow SD card voltage to be changed
@ 2016-02-29 21:01 Lucas Stach
  2016-05-13  7:25 ` Lucas Stach
  2016-05-19 14:31 ` Jon Hunter
  0 siblings, 2 replies; 14+ messages in thread
From: Lucas Stach @ 2016-02-29 21:01 UTC (permalink / raw)
  To: linux-arm-kernel

This allows to switch the card signal voltage level to 1.8V,
which is needed for any ultra high speed modes to work.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
---
This needs the SDMMC memcomp pad calibration patches I just
sent out to be applied, otherwise the card voltage change will
fail with a message in the kernel log and a fall back to
high speed operation.
---
 arch/arm/boot/dts/tegra30-beaver.dts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/tegra30-beaver.dts b/arch/arm/boot/dts/tegra30-beaver.dts
index 1daed40..6b237f2 100644
--- a/arch/arm/boot/dts/tegra30-beaver.dts
+++ b/arch/arm/boot/dts/tegra30-beaver.dts
@@ -1848,7 +1848,7 @@
 
 				ldo5_reg: ldo5 {
 					regulator-name = "vddio_sdmmc,avdd_vdac";
-					regulator-min-microvolt = <3300000>;
+					regulator-min-microvolt = <1800000>;
 					regulator-max-microvolt = <3300000>;
 					regulator-always-on;
 				};
@@ -1919,6 +1919,7 @@
 
 	sdhci at 78000000 {
 		status = "okay";
+		vqmmc-supply = <&ldo5_reg>;
 		cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
 		wp-gpios = <&gpio TEGRA_GPIO(T, 3) GPIO_ACTIVE_HIGH>;
 		power-gpios = <&gpio TEGRA_GPIO(D, 7) GPIO_ACTIVE_HIGH>;
-- 
2.5.0

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-06-28 13:27 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-29 21:01 [PATCH] ARM: tegra: beaver: allow SD card voltage to be changed Lucas Stach
2016-05-13  7:25 ` Lucas Stach
2016-05-13 17:27   ` Thierry Reding
2016-05-13 19:08     ` Lucas Stach
2016-05-19 14:29     ` Jon Hunter
2016-06-13 10:22       ` Jon Hunter
2016-06-14  6:20         ` Adrian Hunter
2016-06-14  8:23           ` Jon Hunter
2016-06-14 10:05             ` Adrian Hunter
2016-06-14 14:19               ` Jon Hunter
2016-06-24  9:14                 ` Jon Hunter
2016-06-28 13:27                   ` Adrian Hunter
2016-05-19 14:31 ` Jon Hunter
2016-05-19 16:12   ` Stephen Warren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).