* [PATCH v2 1/6] ARM: dts: ifc6410: Add pwrseq support for WLAN
2015-08-18 13:04 [PATCH v2 0/6] DT: APQ8064 for qcom-dt-next Srinivas Kandagatla
@ 2015-08-18 13:06 ` Srinivas Kandagatla
2015-08-25 21:33 ` Stephen Boyd
2015-08-18 13:10 ` [PATCH v2 2/6] ARM: dts: qs600: add pwrseq support to WLAN Srinivas Kandagatla
` (4 subsequent siblings)
5 siblings, 1 reply; 15+ messages in thread
From: Srinivas Kandagatla @ 2015-08-18 13:06 UTC (permalink / raw)
To: linux-arm-kernel
This patch adds pwrseq for WLAN which resets the WLAN just before the
SDIO bus is up.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 31 ++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
index 88d6655..b1f9ddb 100644
--- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
@@ -1,5 +1,6 @@
#include "qcom-apq8064-v2.0.dtsi"
#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
/ {
model = "Qualcomm APQ8064/IFC6410";
@@ -10,6 +11,20 @@
serial1 = &gsbi6_serial;
};
+ pwrseq {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+ compatible = "simple-bus";
+
+ sdcc4_pwrseq: sdcc4_pwrseq {
+ pinctrl-names = "default";
+ pinctrl-0 = <&wlan_default_gpios>;
+ compatible = "mmc-pwrseq-simple";
+ reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>;
+ };
+ };
+
soc {
pinctrl at 800000 {
card_detect: card_detect {
@@ -206,6 +221,21 @@
status = "okay";
};
+ qcom,ssbi at 500000 {
+ pmic at 0 {
+ gpio at 150 {
+ wlan_default_gpios: wlan-gpios {
+ pios {
+ pins = "gpio43";
+ function = "normal";
+ bias-disable;
+ power-source = <PM8921_GPIO_S4>;
+ };
+ };
+ };
+ };
+ };
+
amba {
/* eMMC */
sdcc1: sdcc at 12400000 {
@@ -227,6 +257,7 @@
status = "okay";
vmmc-supply = <&ext_3p3v>;
vqmmc-supply = <&pm8921_lvs1>;
+ mmc-pwrseq = <&sdcc4_pwrseq>;
};
};
};
--
1.9.1
^ permalink raw reply related [flat|nested] 15+ messages in thread* [PATCH v2 1/6] ARM: dts: ifc6410: Add pwrseq support for WLAN
2015-08-18 13:06 ` [PATCH v2 1/6] ARM: dts: ifc6410: Add pwrseq support for WLAN Srinivas Kandagatla
@ 2015-08-25 21:33 ` Stephen Boyd
2015-09-03 15:45 ` Srinivas Kandagatla
0 siblings, 1 reply; 15+ messages in thread
From: Stephen Boyd @ 2015-08-25 21:33 UTC (permalink / raw)
To: linux-arm-kernel
On 08/18/2015 06:06 AM, Srinivas Kandagatla wrote:
> @@ -10,6 +11,20 @@
> serial1 = &gsbi6_serial;
> };
>
> + pwrseq {
> + #address-cells = <1>;
> + #size-cells = <1>;
> + ranges;
Why do we need any of these three properties?
> + compatible = "simple-bus";
> +
> + sdcc4_pwrseq: sdcc4_pwrseq {
> + pinctrl-names = "default";
> + pinctrl-0 = <&wlan_default_gpios>;
> + compatible = "mmc-pwrseq-simple";
> + reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>;
Especially because this node doesn't have a reg property.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 15+ messages in thread* [PATCH v2 1/6] ARM: dts: ifc6410: Add pwrseq support for WLAN
2015-08-25 21:33 ` Stephen Boyd
@ 2015-09-03 15:45 ` Srinivas Kandagatla
0 siblings, 0 replies; 15+ messages in thread
From: Srinivas Kandagatla @ 2015-09-03 15:45 UTC (permalink / raw)
To: linux-arm-kernel
On 25/08/15 22:33, Stephen Boyd wrote:
> On 08/18/2015 06:06 AM, Srinivas Kandagatla wrote:
>> @@ -10,6 +11,20 @@
>> serial1 = &gsbi6_serial;
>> };
>> + pwrseq {
>> + #address-cells = <1>;
>> + #size-cells = <1>;
>> + ranges;
>
> Why do we need any of these three properties?
>
Yep, you are right I will remove it and give it a try.
>> + compatible = "simple-bus";
>> +
>> + sdcc4_pwrseq: sdcc4_pwrseq {
>> + pinctrl-names = "default";
>> + pinctrl-0 = <&wlan_default_gpios>;
>> + compatible = "mmc-pwrseq-simple";
>> + reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>;
>
> Especially because this node doesn't have a reg property.
>
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH v2 2/6] ARM: dts: qs600: add pwrseq support to WLAN
2015-08-18 13:04 [PATCH v2 0/6] DT: APQ8064 for qcom-dt-next Srinivas Kandagatla
2015-08-18 13:06 ` [PATCH v2 1/6] ARM: dts: ifc6410: Add pwrseq support for WLAN Srinivas Kandagatla
@ 2015-08-18 13:10 ` Srinivas Kandagatla
2015-08-18 13:10 ` [PATCH v2 3/6] ARM: dts: apq8064-ifc6410: add notify led support Srinivas Kandagatla
` (3 subsequent siblings)
5 siblings, 0 replies; 15+ messages in thread
From: Srinivas Kandagatla @ 2015-08-18 13:10 UTC (permalink / raw)
To: linux-arm-kernel
Add pwrseq support to sdcc4 which would enable a proper reset of WLAN
without ugly hacks in the board support file.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 32 +++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
index 34ccb26..ebde2b7 100644
--- a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
@@ -1,9 +1,25 @@
#include "qcom-apq8064-v2.0.dtsi"
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
/ {
model = "CompuLab CM-QS600";
compatible = "qcom,apq8064-cm-qs600", "qcom,apq8064";
+ pwrseq {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+ compatible = "simple-bus";
+
+ sdcc4_pwrseq: sdcc4_pwrseq {
+ pinctrl-names = "default";
+ pinctrl-0 = <&wlan_default_gpios>;
+ compatible = "mmc-pwrseq-simple";
+ reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>;
+ };
+ };
+
soc {
pinctrl at 800000 {
i2c1_pins: i2c1 {
@@ -155,6 +171,21 @@
regulator-always-on;
};
+ qcom,ssbi at 500000 {
+ pmic at 0 {
+ gpio at 150 {
+ wlan_default_gpios: wlan-gpios {
+ pios {
+ pins = "gpio43";
+ function = "normal";
+ bias-disable;
+ power-source = <PM8921_GPIO_S4>;
+ };
+ };
+ };
+ };
+ };
+
amba {
/* eMMC */
sdcc1: sdcc at 12400000 {
@@ -173,6 +204,7 @@
status = "okay";
vmmc-supply = <&v3p3_fixed>;
vqmmc-supply = <&v3p3_fixed>;
+ mmc-pwrseq = <&sdcc4_pwrseq>;
};
};
};
--
1.9.1
^ permalink raw reply related [flat|nested] 15+ messages in thread* [PATCH v2 3/6] ARM: dts: apq8064-ifc6410: add notify led support.
2015-08-18 13:04 [PATCH v2 0/6] DT: APQ8064 for qcom-dt-next Srinivas Kandagatla
2015-08-18 13:06 ` [PATCH v2 1/6] ARM: dts: ifc6410: Add pwrseq support for WLAN Srinivas Kandagatla
2015-08-18 13:10 ` [PATCH v2 2/6] ARM: dts: qs600: add pwrseq support to WLAN Srinivas Kandagatla
@ 2015-08-18 13:10 ` Srinivas Kandagatla
2015-08-25 21:36 ` Stephen Boyd
2015-08-18 13:10 ` [PATCH v2 4/6] ARM: dts: qs600: remove unnecessary i2c pinctrl nodes in board file Srinivas Kandagatla
` (2 subsequent siblings)
5 siblings, 1 reply; 15+ messages in thread
From: Srinivas Kandagatla @ 2015-08-18 13:10 UTC (permalink / raw)
To: linux-arm-kernel
This patch adds notify led support on IFC6410, whose trigger can be
configured from userspace.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
index b1f9ddb..08daafe 100644
--- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
@@ -221,6 +221,18 @@
status = "okay";
};
+ leds {
+ compatible = "gpio-leds";
+ pinctrl-names = "default";
+ pinctrl-0 = <¬ify_led>;
+
+ led at 1 {
+ label = "apq8064:green:user1";
+ gpios = <&pm8921_gpio 18 GPIO_ACTIVE_HIGH>;
+ default-state = "on";
+ };
+ };
+
qcom,ssbi at 500000 {
pmic at 0 {
gpio at 150 {
@@ -232,6 +244,15 @@
power-source = <PM8921_GPIO_S4>;
};
};
+
+ notify_led: nled {
+ pios {
+ pins = "gpio18";
+ function = "normal";
+ bias-disable;
+ power-source = <PM8921_GPIO_S4>;
+ };
+ };
};
};
};
--
1.9.1
^ permalink raw reply related [flat|nested] 15+ messages in thread* [PATCH v2 3/6] ARM: dts: apq8064-ifc6410: add notify led support.
2015-08-18 13:10 ` [PATCH v2 3/6] ARM: dts: apq8064-ifc6410: add notify led support Srinivas Kandagatla
@ 2015-08-25 21:36 ` Stephen Boyd
2015-09-03 15:49 ` Srinivas Kandagatla
0 siblings, 1 reply; 15+ messages in thread
From: Stephen Boyd @ 2015-08-25 21:36 UTC (permalink / raw)
To: linux-arm-kernel
On 08/18/2015 06:10 AM, Srinivas Kandagatla wrote:
> diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
> index b1f9ddb..08daafe 100644
> --- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
> +++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
> @@ -221,6 +221,18 @@
> status = "okay";
> };
>
> + leds {
> + compatible = "gpio-leds";
> + pinctrl-names = "default";
> + pinctrl-0 = <¬ify_led>;
> +
> + led at 1 {
> + label = "apq8064:green:user1";
> + gpios = <&pm8921_gpio 18 GPIO_ACTIVE_HIGH>;
> + default-state = "on";
> + };
> + };
Wrong place. Should be in root, not soc node.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 15+ messages in thread* [PATCH v2 3/6] ARM: dts: apq8064-ifc6410: add notify led support.
2015-08-25 21:36 ` Stephen Boyd
@ 2015-09-03 15:49 ` Srinivas Kandagatla
0 siblings, 0 replies; 15+ messages in thread
From: Srinivas Kandagatla @ 2015-09-03 15:49 UTC (permalink / raw)
To: linux-arm-kernel
On 25/08/15 22:36, Stephen Boyd wrote:
> On 08/18/2015 06:10 AM, Srinivas Kandagatla wrote:
>> diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
>> b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
>> index b1f9ddb..08daafe 100644
>> --- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
>> +++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
>> @@ -221,6 +221,18 @@
>> status = "okay";
>> };
>> + leds {
>> + compatible = "gpio-leds";
>> + pinctrl-names = "default";
>> + pinctrl-0 = <¬ify_led>;
>> +
>> + led at 1 {
>> + label = "apq8064:green:user1";
>> + gpios = <&pm8921_gpio 18 GPIO_ACTIVE_HIGH>;
>> + default-state = "on";
>> + };
>> + };
>
> Wrong place. Should be in root, not soc node.
yep, Will move it to the root.
>
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH v2 4/6] ARM: dts: qs600: remove unnecessary i2c pinctrl nodes in board file.
2015-08-18 13:04 [PATCH v2 0/6] DT: APQ8064 for qcom-dt-next Srinivas Kandagatla
` (2 preceding siblings ...)
2015-08-18 13:10 ` [PATCH v2 3/6] ARM: dts: apq8064-ifc6410: add notify led support Srinivas Kandagatla
@ 2015-08-18 13:10 ` Srinivas Kandagatla
2015-08-25 21:24 ` Andy Gross
2015-08-18 13:10 ` [PATCH v2 5/6] ARM: dts: qs600: add alias to serial0 Srinivas Kandagatla
2015-08-18 13:10 ` [PATCH v2 6/6] ARM: dts: qs600: Add SD card detect support Srinivas Kandagatla
5 siblings, 1 reply; 15+ messages in thread
From: Srinivas Kandagatla @ 2015-08-18 13:10 UTC (permalink / raw)
To: linux-arm-kernel
This patch removes unnecessary i2c pinctrl nodes in board file, these
are already defined in the soc specific file qcom-apq8064.dtsi.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
index ebde2b7..06b3a70 100644
--- a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
@@ -21,15 +21,6 @@
};
soc {
- pinctrl at 800000 {
- i2c1_pins: i2c1 {
- mux {
- pins = "gpio20", "gpio21";
- function = "gsbi1";
- };
- };
- };
-
rpm at 108000 {
regulators {
vin_lvs1_3_6-supply = <&pm8921_s4>;
--
1.9.1
^ permalink raw reply related [flat|nested] 15+ messages in thread* [PATCH v2 4/6] ARM: dts: qs600: remove unnecessary i2c pinctrl nodes in board file.
2015-08-18 13:10 ` [PATCH v2 4/6] ARM: dts: qs600: remove unnecessary i2c pinctrl nodes in board file Srinivas Kandagatla
@ 2015-08-25 21:24 ` Andy Gross
0 siblings, 0 replies; 15+ messages in thread
From: Andy Gross @ 2015-08-25 21:24 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Aug 18, 2015 at 02:10:19PM +0100, Srinivas Kandagatla wrote:
> This patch removes unnecessary i2c pinctrl nodes in board file, these
> are already defined in the soc specific file qcom-apq8064.dtsi.
>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
> ---
> arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 9 ---------
> 1 file changed, 9 deletions(-)
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] 15+ messages in thread
* [PATCH v2 5/6] ARM: dts: qs600: add alias to serial0
2015-08-18 13:04 [PATCH v2 0/6] DT: APQ8064 for qcom-dt-next Srinivas Kandagatla
` (3 preceding siblings ...)
2015-08-18 13:10 ` [PATCH v2 4/6] ARM: dts: qs600: remove unnecessary i2c pinctrl nodes in board file Srinivas Kandagatla
@ 2015-08-18 13:10 ` Srinivas Kandagatla
2015-08-25 21:39 ` Stephen Boyd
2015-08-25 21:46 ` Andy Gross
2015-08-18 13:10 ` [PATCH v2 6/6] ARM: dts: qs600: Add SD card detect support Srinivas Kandagatla
5 siblings, 2 replies; 15+ messages in thread
From: Srinivas Kandagatla @ 2015-08-18 13:10 UTC (permalink / raw)
To: linux-arm-kernel
This patch add alias node with serial0.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
index 06b3a70..c095849 100644
--- a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
@@ -6,6 +6,10 @@
model = "CompuLab CM-QS600";
compatible = "qcom,apq8064-cm-qs600", "qcom,apq8064";
+ aliases {
+ serial0 = &gsbi7_serial;
+ };
+
pwrseq {
#address-cells = <1>;
#size-cells = <1>;
--
1.9.1
^ permalink raw reply related [flat|nested] 15+ messages in thread* [PATCH v2 5/6] ARM: dts: qs600: add alias to serial0
2015-08-18 13:10 ` [PATCH v2 5/6] ARM: dts: qs600: add alias to serial0 Srinivas Kandagatla
@ 2015-08-25 21:39 ` Stephen Boyd
2015-08-25 21:46 ` Andy Gross
1 sibling, 0 replies; 15+ messages in thread
From: Stephen Boyd @ 2015-08-25 21:39 UTC (permalink / raw)
To: linux-arm-kernel
On 08/18/2015 06:10 AM, Srinivas Kandagatla wrote:
> This patch add alias node with serial0.
>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
> ---
I have a whole set of patches to add all the serial aliases and
stdout-path properties [1]. Please drop this patch from your series.
[1]
http://lkml.kernel.org/r/1434490313-13905-1-git-send-email-sboyd at codeaurora.org
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH v2 5/6] ARM: dts: qs600: add alias to serial0
2015-08-18 13:10 ` [PATCH v2 5/6] ARM: dts: qs600: add alias to serial0 Srinivas Kandagatla
2015-08-25 21:39 ` Stephen Boyd
@ 2015-08-25 21:46 ` Andy Gross
2015-08-27 4:53 ` Andy Gross
1 sibling, 1 reply; 15+ messages in thread
From: Andy Gross @ 2015-08-25 21:46 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Aug 18, 2015 at 02:10:27PM +0100, Srinivas Kandagatla wrote:
> This patch add alias node with serial0.
>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
> ---
> arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 4 ++++
> 1 file changed, 4 insertions(+)
Looks fine. Applied.
--
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] 15+ messages in thread
* [PATCH v2 5/6] ARM: dts: qs600: add alias to serial0
2015-08-25 21:46 ` Andy Gross
@ 2015-08-27 4:53 ` Andy Gross
0 siblings, 0 replies; 15+ messages in thread
From: Andy Gross @ 2015-08-27 4:53 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Aug 25, 2015 at 04:46:22PM -0500, Andy Gross wrote:
> On Tue, Aug 18, 2015 at 02:10:27PM +0100, Srinivas Kandagatla wrote:
> > This patch add alias node with serial0.
> >
> > Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
> > ---
> > arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 4 ++++
> > 1 file changed, 4 insertions(+)
>
> Looks fine. Applied.
Scratch that. I dropped it from the patch list due to stephen's set.
--
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] 15+ messages in thread
* [PATCH v2 6/6] ARM: dts: qs600: Add SD card detect support.
2015-08-18 13:04 [PATCH v2 0/6] DT: APQ8064 for qcom-dt-next Srinivas Kandagatla
` (4 preceding siblings ...)
2015-08-18 13:10 ` [PATCH v2 5/6] ARM: dts: qs600: add alias to serial0 Srinivas Kandagatla
@ 2015-08-18 13:10 ` Srinivas Kandagatla
5 siblings, 0 replies; 15+ messages in thread
From: Srinivas Kandagatla @ 2015-08-18 13:10 UTC (permalink / raw)
To: linux-arm-kernel
This patch adds SD card detect support.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
index c095849..8c7bdc4 100644
--- a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
@@ -25,6 +25,16 @@
};
soc {
+ pinctrl at 800000 {
+ card_detect: card_detect {
+ mux {
+ pins = "gpio26";
+ function = "gpio";
+ bias-disable;
+ };
+ };
+ };
+
rpm at 108000 {
regulators {
vin_lvs1_3_6-supply = <&pm8921_s4>;
@@ -193,6 +203,9 @@
sdcc3: sdcc at 12180000 {
status = "okay";
vmmc-supply = <&v3p3_fixed>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&card_detect>;
+ cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;
};
/* WLAN */
sdcc4: sdcc at 121c0000 {
--
1.9.1
^ permalink raw reply related [flat|nested] 15+ messages in thread