linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3] ARM: dts: bcm281xx: Add card detect GPIO
@ 2013-10-02 18:00 Markus Mayer
  2013-10-03  5:49 ` Christian Daudt
  0 siblings, 1 reply; 2+ messages in thread
From: Markus Mayer @ 2013-10-02 18:00 UTC (permalink / raw)
  To: linux-arm-kernel

Register GPIO 14 as card detect interrupt for the SD card slot.

Signed-off-by: Markus Mayer <markus.mayer@linaro.org>
---

This patch depends on [PATCH v9 3/3] ARM: bcm281xx: Add device node for
the GPIO controller
(http://lists.infradead.org/pipermail/linux-arm-kernel/2013-September/197399.html)
and should therefore likely go into Christian's tree.

Changes since v2:
- Add "cd-gpios" to the affected dts files, not the dtsi

Changes since v1:
- Corrected commit message to mention "card detect"

 arch/arm/boot/dts/bcm11351-brt.dts |    1 +
 arch/arm/boot/dts/bcm28155-ap.dts  |    1 +
 2 files changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/bcm11351-brt.dts b/arch/arm/boot/dts/bcm11351-brt.dts
index 9d36eb4..23cd16d 100644
--- a/arch/arm/boot/dts/bcm11351-brt.dts
+++ b/arch/arm/boot/dts/bcm11351-brt.dts
@@ -40,6 +40,7 @@
 
 	sdio4: sdio at 3f1b0000 {
 		max-frequency = <48000000>;
+		cd-gpios = <&gpio 14 0>;
 		status = "okay";
 	};
 
diff --git a/arch/arm/boot/dts/bcm28155-ap.dts b/arch/arm/boot/dts/bcm28155-ap.dts
index 96ae67a..08e47c2 100644
--- a/arch/arm/boot/dts/bcm28155-ap.dts
+++ b/arch/arm/boot/dts/bcm28155-ap.dts
@@ -40,6 +40,7 @@
 
 	sdio4: sdio at 3f1b0000 {
 		max-frequency = <48000000>;
+		cd-gpios = <&gpio 14 0>;
 		status = "okay";
 	};
 };
-- 
1.7.9.5

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

end of thread, other threads:[~2013-10-03  5:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-02 18:00 [PATCH v3] ARM: dts: bcm281xx: Add card detect GPIO Markus Mayer
2013-10-03  5:49 ` Christian Daudt

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