devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] ARM: dts: am43x/am335x-evm: add SD card hotplug support
@ 2013-12-27 16:29 Balaji T K
  2013-12-27 16:29 ` [PATCH 1/3] ARM: dts: am335x-evm: " Balaji T K
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Balaji T K @ 2013-12-27 16:29 UTC (permalink / raw)
  To: bcousson, devicetree; +Cc: linux-omap, tony, Balaji T K

Balaji T K (3):
  ARM: dts: am335x-evm: add SD card hotplug support
  ARM: dts: am335x-evmsk: add SD card hotplug support
  ARM: dts: am43x-epos-evm: add SD card hotplug support

 arch/arm/boot/dts/am335x-evm.dts     |    9 +++++++++
 arch/arm/boot/dts/am335x-evmsk.dts   |    9 +++++++++
 arch/arm/boot/dts/am4372.dtsi        |    1 +
 arch/arm/boot/dts/am43x-epos-evm.dts |    9 +++++++++
 4 files changed, 28 insertions(+), 0 deletions(-)

-- 
1.7.5.4


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/3] ARM: dts: am335x-evm: add SD card hotplug support
  2013-12-27 16:29 [PATCH 0/3] ARM: dts: am43x/am335x-evm: add SD card hotplug support Balaji T K
@ 2013-12-27 16:29 ` Balaji T K
  2013-12-27 16:29 ` [PATCH 2/3] ARM: dts: am335x-evmsk: " Balaji T K
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Balaji T K @ 2013-12-27 16:29 UTC (permalink / raw)
  To: bcousson, devicetree; +Cc: linux-omap, tony, Balaji T K

Add card detect gpio for SD card slot

Signed-off-by: Balaji T K <balajitk@ti.com>
---
 arch/arm/boot/dts/am335x-evm.dts |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
index 7e6c64e..5c6b009 100644
--- a/arch/arm/boot/dts/am335x-evm.dts
+++ b/arch/arm/boot/dts/am335x-evm.dts
@@ -260,6 +260,12 @@
 		>;
 	};
 
+	mmc1_pins: pinmux_mmc1_pins {
+		pinctrl-single,pins = <
+			0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
+		>;
+	};
+
 	lcd_pins_s0: lcd_pins_s0 {
 		pinctrl-single,pins = <
 			0x20 0x01	/* gpmc_ad8.lcd_data16, OUTPUT | MODE1 */
@@ -643,6 +649,9 @@
 	status = "okay";
 	vmmc-supply = <&vmmc_reg>;
 	bus-width = <4>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&mmc1_pins>;
+	cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
 };
 
 &sham {
-- 
1.7.5.4


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/3] ARM: dts: am335x-evmsk: add SD card hotplug support
  2013-12-27 16:29 [PATCH 0/3] ARM: dts: am43x/am335x-evm: add SD card hotplug support Balaji T K
  2013-12-27 16:29 ` [PATCH 1/3] ARM: dts: am335x-evm: " Balaji T K
@ 2013-12-27 16:29 ` Balaji T K
  2013-12-27 16:29 ` [PATCH 3/3] ARM: dts: am43x-epos-evm: " Balaji T K
  2014-01-15 13:35 ` [PATCH 0/3] ARM: dts: am43x/am335x-evm: " Balaji T K
  3 siblings, 0 replies; 5+ messages in thread
From: Balaji T K @ 2013-12-27 16:29 UTC (permalink / raw)
  To: bcousson, devicetree; +Cc: linux-omap, tony, Balaji T K

Add card detect gpio for SD card slot

Signed-off-by: Balaji T K <balajitk@ti.com>
---
 arch/arm/boot/dts/am335x-evmsk.dts |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index 4718ec4..6d0c70f 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -256,6 +256,12 @@
 		>;
 	};
 
+	mmc1_pins: pinmux_mmc1_pins {
+		pinctrl-single,pins = <
+			0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
+		>;
+	};
+
 	mcasp1_pins: mcasp1_pins {
 		pinctrl-single,pins = <
 			0x10c (PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_crs.mcasp1_aclkx */
@@ -456,6 +462,9 @@
 	status = "okay";
 	vmmc-supply = <&vmmc_reg>;
 	bus-width = <4>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&mmc1_pins>;
+	cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
 };
 
 &sham {
-- 
1.7.5.4


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 3/3] ARM: dts: am43x-epos-evm: add SD card hotplug support
  2013-12-27 16:29 [PATCH 0/3] ARM: dts: am43x/am335x-evm: add SD card hotplug support Balaji T K
  2013-12-27 16:29 ` [PATCH 1/3] ARM: dts: am335x-evm: " Balaji T K
  2013-12-27 16:29 ` [PATCH 2/3] ARM: dts: am335x-evmsk: " Balaji T K
@ 2013-12-27 16:29 ` Balaji T K
  2014-01-15 13:35 ` [PATCH 0/3] ARM: dts: am43x/am335x-evm: " Balaji T K
  3 siblings, 0 replies; 5+ messages in thread
From: Balaji T K @ 2013-12-27 16:29 UTC (permalink / raw)
  To: bcousson, devicetree; +Cc: linux-omap, tony, Balaji T K

Add card detect gpio for SD card slot and include dt gpio header.

Signed-off-by: Balaji T K <balajitk@ti.com>
---
 arch/arm/boot/dts/am4372.dtsi        |    1 +
 arch/arm/boot/dts/am43x-epos-evm.dts |    9 +++++++++
 2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi
index c6bd4d9..b75dd40 100644
--- a/arch/arm/boot/dts/am4372.dtsi
+++ b/arch/arm/boot/dts/am4372.dtsi
@@ -8,6 +8,7 @@
  * kind, whether express or implied.
  */
 
+#include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 
 #include "skeleton.dtsi"
diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts
index fbf9c4c..bad4457 100644
--- a/arch/arm/boot/dts/am43x-epos-evm.dts
+++ b/arch/arm/boot/dts/am43x-epos-evm.dts
@@ -79,6 +79,12 @@
 				0x18c (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)	/* i2c0_scl.i2c0_scl */
 			>;
 		};
+
+		mmc1_pins: pinmux_mmc1_pins {
+			pinctrl-single,pins = <
+				0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
+			>;
+		};
 	};
 
 	matrix_keypad: matrix_keypad@0 {
@@ -119,6 +125,9 @@
 	status = "okay";
 	vmmc-supply = <&vmmcsd_fixed>;
 	bus-width = <4>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&mmc1_pins>;
+	cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
 };
 
 &mac {
-- 
1.7.5.4


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/3] ARM: dts: am43x/am335x-evm: add SD card hotplug support
  2013-12-27 16:29 [PATCH 0/3] ARM: dts: am43x/am335x-evm: add SD card hotplug support Balaji T K
                   ` (2 preceding siblings ...)
  2013-12-27 16:29 ` [PATCH 3/3] ARM: dts: am43x-epos-evm: " Balaji T K
@ 2014-01-15 13:35 ` Balaji T K
  3 siblings, 0 replies; 5+ messages in thread
From: Balaji T K @ 2014-01-15 13:35 UTC (permalink / raw)
  To: Balaji T K; +Cc: bcousson, devicetree, linux-omap, tony

On Friday 27 December 2013 09:59 PM, Balaji T K wrote:
> Balaji T K (3):
>    ARM: dts: am335x-evm: add SD card hotplug support
>    ARM: dts: am335x-evmsk: add SD card hotplug support
>    ARM: dts: am43x-epos-evm: add SD card hotplug support
>
>   arch/arm/boot/dts/am335x-evm.dts     |    9 +++++++++
>   arch/arm/boot/dts/am335x-evmsk.dts   |    9 +++++++++
>   arch/arm/boot/dts/am4372.dtsi        |    1 +
>   arch/arm/boot/dts/am43x-epos-evm.dts |    9 +++++++++
>   4 files changed, 28 insertions(+), 0 deletions(-)
>
Hi Benoit,

Gentle ping!



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-01-15 13:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-27 16:29 [PATCH 0/3] ARM: dts: am43x/am335x-evm: add SD card hotplug support Balaji T K
2013-12-27 16:29 ` [PATCH 1/3] ARM: dts: am335x-evm: " Balaji T K
2013-12-27 16:29 ` [PATCH 2/3] ARM: dts: am335x-evmsk: " Balaji T K
2013-12-27 16:29 ` [PATCH 3/3] ARM: dts: am43x-epos-evm: " Balaji T K
2014-01-15 13:35 ` [PATCH 0/3] ARM: dts: am43x/am335x-evm: " Balaji T K

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).