* [PATCH v2 0/3] DT: APQ8064 remove mmc fixed regulators.
@ 2015-07-28 8:11 Srinivas Kandagatla
2015-07-28 8:12 ` [PATCH v2 1/3] ARM: dts: apq8064: remove temporary fixed regulator for mmc Srinivas Kandagatla
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Srinivas Kandagatla @ 2015-07-28 8:11 UTC (permalink / raw)
To: agross, linux-arm-msm
Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
Russell King, devicetree, linux-arm-kernel, linux-kernel,
Srinivas Kandagatla
Hi Andy,
This patchset removes the fixed regulators with real regulators
on IFC6410 and QS600 board.
This patchset is based on qcom/dt branch.
Thanks,
srini
Srinivas Kandagatla (3):
ARM: dts: apq8064: remove temporary fixed regulator for mmc
ARM: dts: ifc6410: add real regulators for sdcc nodes.
ARM: dts: qs600: Add real regulators to sdcc
arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 20 ++++++++++++++++++++
arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 27 +++++++++++++++++++++++++++
arch/arm/boot/dts/qcom-apq8064.dtsi | 12 ------------
3 files changed, 47 insertions(+), 12 deletions(-)
--
1.9.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v2 1/3] ARM: dts: apq8064: remove temporary fixed regulator for mmc
2015-07-28 8:11 [PATCH v2 0/3] DT: APQ8064 remove mmc fixed regulators Srinivas Kandagatla
@ 2015-07-28 8:12 ` Srinivas Kandagatla
2015-07-28 20:00 ` Andy Gross
2015-07-28 8:12 ` [PATCH v2 2/3] ARM: dts: ifc6410: add real regulators for sdcc nodes Srinivas Kandagatla
2015-07-28 8:13 ` [PATCH v2 3/3] ARM: dts: qs600: Add real regulators to sdcc Srinivas Kandagatla
2 siblings, 1 reply; 7+ messages in thread
From: Srinivas Kandagatla @ 2015-07-28 8:12 UTC (permalink / raw)
To: agross, linux-arm-msm
Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
Russell King, devicetree, linux-arm-kernel, linux-kernel,
Srinivas Kandagatla
This patch removes temporary fixed regluator use for mmc.
Board files should use the regulators which are wiredup appropriately.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
arch/arm/boot/dts/qcom-apq8064.dtsi | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi
index bc5de9b..cba4ccb 100644
--- a/arch/arm/boot/dts/qcom-apq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-apq8064.dtsi
@@ -523,14 +523,6 @@
};
/* Temporary fixed regulator */
- vsdcc_fixed: vsdcc-regulator {
- compatible = "regulator-fixed";
- regulator-name = "SDCC Power";
- regulator-min-microvolt = <2700000>;
- regulator-max-microvolt = <2700000>;
- regulator-always-on;
- };
-
sdcc1bam:dma@12402000{
compatible = "qcom,bam-v1.3.0";
reg = <0x12402000 0x8000>;
@@ -580,7 +572,6 @@
non-removable;
cap-sd-highspeed;
cap-mmc-highspeed;
- vmmc-supply = <&vsdcc_fixed>;
dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
dma-names = "tx", "rx";
};
@@ -599,7 +590,6 @@
cap-mmc-highspeed;
max-frequency = <192000000>;
no-1-8-v;
- vmmc-supply = <&vsdcc_fixed>;
dmas = <&sdcc3bam 2>, <&sdcc3bam 1>;
dma-names = "tx", "rx";
};
@@ -617,8 +607,6 @@
cap-sd-highspeed;
cap-mmc-highspeed;
max-frequency = <48000000>;
- vmmc-supply = <&vsdcc_fixed>;
- vqmmc-supply = <&vsdcc_fixed>;
dmas = <&sdcc4bam 2>, <&sdcc4bam 1>;
dma-names = "tx", "rx";
pinctrl-names = "default";
--
1.9.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH v2 2/3] ARM: dts: ifc6410: add real regulators for sdcc nodes.
2015-07-28 8:11 [PATCH v2 0/3] DT: APQ8064 remove mmc fixed regulators Srinivas Kandagatla
2015-07-28 8:12 ` [PATCH v2 1/3] ARM: dts: apq8064: remove temporary fixed regulator for mmc Srinivas Kandagatla
@ 2015-07-28 8:12 ` Srinivas Kandagatla
2015-07-28 20:01 ` Andy Gross
2015-07-28 8:13 ` [PATCH v2 3/3] ARM: dts: qs600: Add real regulators to sdcc Srinivas Kandagatla
2 siblings, 1 reply; 7+ messages in thread
From: Srinivas Kandagatla @ 2015-07-28 8:12 UTC (permalink / raw)
To: agross, linux-arm-msm
Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
Russell King, devicetree, linux-arm-kernel, linux-kernel,
Srinivas Kandagatla
This patch adds real regulators for all the three sdcc nodes.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
index 4cf967f..88d6655 100644
--- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
@@ -74,6 +74,12 @@
bias-pull-down;
};
+ pm8921_l5: l5 {
+ regulator-min-microvolt = <2750000>;
+ regulator-max-microvolt = <3000000>;
+ bias-pull-down;
+ };
+
pm8921_l6: l6 {
regulator-min-microvolt = <2950000>;
regulator-max-microvolt = <2950000>;
@@ -85,9 +91,25 @@
regulator-max-microvolt = <1900000>;
bias-pull-down;
};
+
+ pm8921_lvs1: lvs1 {
+ bias-pull-down;
+ };
};
};
+ ext_3p3v: regulator-fixed@1 {
+ compatible = "regulator-fixed";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-name = "ext_3p3v";
+ regulator-type = "voltage";
+ startup-delay-us = <0>;
+ gpio = <&tlmm_pinmux 77 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ regulator-boot-on;
+ };
+
gsbi3: gsbi@16200000 {
status = "okay";
qcom,mode = <GSBI_PROT_I2C>;
@@ -188,11 +210,14 @@
/* 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 = <&pm8921_l6>;
pinctrl-names = "default";
pinctrl-0 = <&card_detect>;
cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;
@@ -200,6 +225,8 @@
/* WLAN */
sdcc4: sdcc@121c0000 {
status = "okay";
+ vmmc-supply = <&ext_3p3v>;
+ vqmmc-supply = <&pm8921_lvs1>;
};
};
};
--
1.9.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH v2 3/3] ARM: dts: qs600: Add real regulators to sdcc
2015-07-28 8:11 [PATCH v2 0/3] DT: APQ8064 remove mmc fixed regulators Srinivas Kandagatla
2015-07-28 8:12 ` [PATCH v2 1/3] ARM: dts: apq8064: remove temporary fixed regulator for mmc Srinivas Kandagatla
2015-07-28 8:12 ` [PATCH v2 2/3] ARM: dts: ifc6410: add real regulators for sdcc nodes Srinivas Kandagatla
@ 2015-07-28 8:13 ` Srinivas Kandagatla
2015-07-28 20:01 ` Andy Gross
2 siblings, 1 reply; 7+ messages in thread
From: Srinivas Kandagatla @ 2015-07-28 8:13 UTC (permalink / raw)
To: agross, linux-arm-msm
Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
Russell King, devicetree, linux-arm-kernel, linux-kernel,
Srinivas Kandagatla
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 | 20 ++++++++++++++++++++
1 file changed, 20 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..34ccb26 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,33 @@
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>;
};
};
};
--
1.9.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v2 1/3] ARM: dts: apq8064: remove temporary fixed regulator for mmc
2015-07-28 8:12 ` [PATCH v2 1/3] ARM: dts: apq8064: remove temporary fixed regulator for mmc Srinivas Kandagatla
@ 2015-07-28 20:00 ` Andy Gross
0 siblings, 0 replies; 7+ messages in thread
From: Andy Gross @ 2015-07-28 20:00 UTC (permalink / raw)
To: Srinivas Kandagatla
Cc: linux-arm-msm, Rob Herring, Pawel Moll, Mark Rutland,
Ian Campbell, Kumar Gala, Russell King, devicetree,
linux-arm-kernel, linux-kernel
On Tue, Jul 28, 2015 at 09:12:51AM +0100, Srinivas Kandagatla wrote:
> This patch removes temporary fixed regluator use for mmc.
> Board files should use the regulators which are wiredup appropriately.
>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
> ---
Applied. Thanks!
--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2 2/3] ARM: dts: ifc6410: add real regulators for sdcc nodes.
2015-07-28 8:12 ` [PATCH v2 2/3] ARM: dts: ifc6410: add real regulators for sdcc nodes Srinivas Kandagatla
@ 2015-07-28 20:01 ` Andy Gross
0 siblings, 0 replies; 7+ messages in thread
From: Andy Gross @ 2015-07-28 20:01 UTC (permalink / raw)
To: Srinivas Kandagatla
Cc: linux-arm-msm, Mark Rutland, devicetree, Russell King, Pawel Moll,
Ian Campbell, linux-kernel, Rob Herring, Kumar Gala,
linux-arm-kernel
On Tue, Jul 28, 2015 at 09:12:58AM +0100, Srinivas Kandagatla wrote:
> This patch adds real regulators for all the three sdcc nodes.
>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
> ---
Applied. Thanks
--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2 3/3] ARM: dts: qs600: Add real regulators to sdcc
2015-07-28 8:13 ` [PATCH v2 3/3] ARM: dts: qs600: Add real regulators to sdcc Srinivas Kandagatla
@ 2015-07-28 20:01 ` Andy Gross
0 siblings, 0 replies; 7+ messages in thread
From: Andy Gross @ 2015-07-28 20:01 UTC (permalink / raw)
To: Srinivas Kandagatla
Cc: linux-arm-msm, Mark Rutland, devicetree, Russell King, Pawel Moll,
Ian Campbell, linux-kernel, Rob Herring, Kumar Gala,
linux-arm-kernel
On Tue, Jul 28, 2015 at 09:13:05AM +0100, Srinivas Kandagatla wrote:
> This patch adds real regulators to sdcc nodes.
>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
> ---
Applied. Thanks
--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2015-07-28 20:01 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-28 8:11 [PATCH v2 0/3] DT: APQ8064 remove mmc fixed regulators Srinivas Kandagatla
2015-07-28 8:12 ` [PATCH v2 1/3] ARM: dts: apq8064: remove temporary fixed regulator for mmc Srinivas Kandagatla
2015-07-28 20:00 ` Andy Gross
2015-07-28 8:12 ` [PATCH v2 2/3] ARM: dts: ifc6410: add real regulators for sdcc nodes Srinivas Kandagatla
2015-07-28 20:01 ` Andy Gross
2015-07-28 8:13 ` [PATCH v2 3/3] ARM: dts: qs600: Add real regulators to sdcc Srinivas Kandagatla
2015-07-28 20:01 ` Andy Gross
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).