linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: markus.mayer@linaro.org (Markus Mayer)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3] ARM: dts: bcm281xx: Add card detect GPIO
Date: Wed, 2 Oct 2013 11:00:16 -0700	[thread overview]
Message-ID: <1380736816-16230-1-git-send-email-markus.mayer@linaro.org> (raw)

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

             reply	other threads:[~2013-10-02 18:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-02 18:00 Markus Mayer [this message]
2013-10-03  5:49 ` [PATCH v3] ARM: dts: bcm281xx: Add card detect GPIO Christian Daudt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1380736816-16230-1-git-send-email-markus.mayer@linaro.org \
    --to=markus.mayer@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).