Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1193113

[PATCH v1 3/7] ARM: dts: qs600: Add real regulators to sdcc

From Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Newsgroups linux.kernel
Subject [PATCH v1 3/7] ARM: dts: qs600: Add real regulators to sdcc
Date 2015-07-27 16:00 +0200
Message-ID <pQR6F-3G8-1@gated-at.bofh.it> (permalink)
References <pQQX0-3uw-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This patch adds real regulators to sdcc nodes.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
 arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
index 71512b3..23ff599 100644
--- a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
@@ -67,6 +67,12 @@
 					bias-pull-down;
 				};
 
+				pm8921_l5: l5 {
+					regulator-min-microvolt = <2750000>;
+					regulator-max-microvolt = <3000000>;
+					bias-pull-down;
+				};
+
 				pm8921_l23: l23 {
 					regulator-min-microvolt = <1700000>;
 					regulator-max-microvolt = <1900000>;
@@ -140,19 +146,34 @@
 			status = "okay";
 		};
 
+		/* on board fixed 3.3v supply */
+		v3p3_fixed: v3p3 {
+			compatible = "regulator-fixed";
+			regulator-name = "PCIE V3P3";
+			regulator-min-microvolt = <3300000>;
+			regulator-max-microvolt = <3300000>;
+			regulator-always-on;
+		};
+
 		amba {
 			/* eMMC */
 			sdcc1: sdcc@12400000 {
 				status = "okay";
+				vmmc-supply = <&pm8921_l5>;
+				vqmmc-supply = <&pm8921_s4>;
 			};
 
 			/* External micro SD card */
 			sdcc3: sdcc@12180000 {
 				status = "okay";
+				vmmc-supply = <&v3p3_fixed>;
 			};
 			/* WLAN */
 			sdcc4: sdcc@121c0000 {
 				status = "okay";
+				vmmc-supply = <&v3p3_fixed>;
+				vqmmc-supply = <&v3p3_fixed>;
+				mmc-pwrseq = <&sdcc4_pwrseq>;
 			};
 		};
 	};
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v1 0/7] APQ8064 dt patches. Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-07-27 15:50 +0200
  [PATCH v1 3/7] ARM: dts: qs600: Add real regulators to sdcc Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-07-27 16:00 +0200
  [PATCH v1 6/7] ARM: dts: apq8064: Add DT support for GSBI6 and for UART pin mux Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-07-27 16:00 +0200
  [PATCH v1 1/7] ARM: dts: apq8064: remove temporary fixed regulator for mmc Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-07-27 16:00 +0200
  [PATCH v1 4/7] ARM: dts: apq8064: Add pm8921 mfd and its gpio node Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-07-27 16:00 +0200
  [PATCH v1 7/7] ARM: dts: apq8064: fix missing gsbi cell-index Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-07-27 16:00 +0200
  [PATCH v1 5/7] ARM: dts: apq8064: add pm8921 mpp support Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-07-27 16:00 +0200
  [PATCH v1 2/7] ARM: dts: ifc6410: add real regulators for sdcc nodes. Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-07-27 16:00 +0200
    Re: [PATCH v1 2/7] ARM: dts: ifc6410: add real regulators for sdcc  nodes. Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-07-28 10:10 +0200

csiph-web