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

2015-07-27 Thread Srinivas Kandagatla
This patch adds real regulators to sdcc nodes.

Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@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 = 275;
+   regulator-max-microvolt = 300;
+   bias-pull-down;
+   };
+
pm8921_l23: l23 {
regulator-min-microvolt = 170;
regulator-max-microvolt = 190;
@@ -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 = 330;
+   regulator-max-microvolt = 330;
+   regulator-always-on;
+   };
+
amba {
/* eMMC */
sdcc1: sdcc@1240 {
status = okay;
+   vmmc-supply = pm8921_l5;
+   vqmmc-supply = pm8921_s4;
};
 
/* External micro SD card */
sdcc3: sdcc@1218 {
status = okay;
+   vmmc-supply = v3p3_fixed;
};
/* WLAN */
sdcc4: sdcc@121c {
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 devicetree in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

2015-07-27 Thread Andy Gross
On Mon, Jul 27, 2015 at 02:50:20PM +0100, Srinivas Kandagatla wrote:

snip

   /* WLAN */
   sdcc4: sdcc@121c {
   status = okay;
 + vmmc-supply = v3p3_fixed;
 + vqmmc-supply = v3p3_fixed;
 + mmc-pwrseq = sdcc4_pwrseq;

Where is sdcc4_pwrseq defined?


-- 
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

--
To unsubscribe from this list: send the line unsubscribe devicetree in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html