Pramod Gurav
2014-10-20 11:39:54 UTC
This changes muxes in gpio26 pin to function as gpio and adds support
for sd card detect for apq8064 based IFC6410 board.
Cc: Rob Herring <robh+***@kernel.org>
Cc: Pawel Moll <***@arm.com>
Cc: Mark Rutland <***@arm.com>
Cc: Ian Campbell <ijc+***@hellion.org.uk>
Cc: Kumar Gala <***@codeaurora.org>
Cc: Russell King <***@arm.linux.org.uk>
Cc: Srinivas Kandagatla <***@linaro.org>
Signed-off-by: Pramod Gurav <***@smartplayin.com>
---
arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
index b396c83..bf6262f 100644
--- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
@@ -12,6 +12,14 @@
function = "gsbi1";
};
};
+
+ card_detect: card_detect {
+ mux {
+ pins = "gpio26";
+ function = "gpio";
+ bias-disable;
+ };
+ };
};
***@12440000 {
@@ -49,6 +57,9 @@
/* External micro SD card */
sdcc3: ***@12180000 {
status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&card_detect>;
+ cd-gpios = <&tlmm_pinmux 26 1>;
};
/* WLAN */
sdcc4: ***@121c0000 {
for sd card detect for apq8064 based IFC6410 board.
Cc: Rob Herring <robh+***@kernel.org>
Cc: Pawel Moll <***@arm.com>
Cc: Mark Rutland <***@arm.com>
Cc: Ian Campbell <ijc+***@hellion.org.uk>
Cc: Kumar Gala <***@codeaurora.org>
Cc: Russell King <***@arm.linux.org.uk>
Cc: Srinivas Kandagatla <***@linaro.org>
Signed-off-by: Pramod Gurav <***@smartplayin.com>
---
arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
index b396c83..bf6262f 100644
--- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
@@ -12,6 +12,14 @@
function = "gsbi1";
};
};
+
+ card_detect: card_detect {
+ mux {
+ pins = "gpio26";
+ function = "gpio";
+ bias-disable;
+ };
+ };
};
***@12440000 {
@@ -49,6 +57,9 @@
/* External micro SD card */
sdcc3: ***@12180000 {
status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&card_detect>;
+ cd-gpios = <&tlmm_pinmux 26 1>;
};
/* WLAN */
sdcc4: ***@121c0000 {
--
1.7.9.5
1.7.9.5