Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1195802

[PATCH 4/7] ARM: dts: dra7-evm: Add MMCSD card removal GPIO

From Kishon Vijay Abraham I <kishon@ti.com>
Newsgroups linux.kernel
Subject [PATCH 4/7] ARM: dts: dra7-evm: Add MMCSD card removal GPIO
Date 2015-07-30 10:20 +0200
Message-ID <pRRei-14V-17@gated-at.bofh.it> (permalink)
References <pRReh-14V-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Nishanth Menon <nm@ti.com>

SDMMC Card Detect can be used over default GPIO map.

Reported-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
---
 arch/arm/boot/dts/dra7-evm.dts |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
index 1e0c88e..25f0a00 100644
--- a/arch/arm/boot/dts/dra7-evm.dts
+++ b/arch/arm/boot/dts/dra7-evm.dts
@@ -474,6 +474,11 @@
 	vmmc-supply = <&evm_3v3_sd>;
 	vmmc_aux-supply = <&ldo1_reg>;
 	bus-width = <4>;
+	/*
+	 * SDCD signal is not being used here - using the fact that GPIO mode
+	 * is always hardwired.
+	 */
+	cd-gpios = <&gpio6 27 0>;
 };
 
 &mmc2 {
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/7] ARM: dts: MMC fixes for DRA7 based boards Kishon Vijay Abraham I <kishon@ti.com> - 2015-07-30 10:20 +0200
  [PATCH 4/7] ARM: dts: dra7-evm: Add MMCSD card removal GPIO Kishon Vijay Abraham I <kishon@ti.com> - 2015-07-30 10:20 +0200
  [PATCH 5/7] ARM: dts: am57xx-beagle-x15: mmc1: remove redundant pbias-supply property Kishon Vijay Abraham I <kishon@ti.com> - 2015-07-30 10:20 +0200
  [PATCH 2/7] ARM: dts: dra7-evm: add evm_3v3_sd regulator Kishon Vijay Abraham I <kishon@ti.com> - 2015-07-30 10:20 +0200
  [PATCH 1/7] ARM: dts: dra72-evm: add evm_3v3_sd regulator Kishon Vijay Abraham I <kishon@ti.com> - 2015-07-30 10:20 +0200
  [PATCH 3/7] ARM: dts: dra72-evm: Set max clock frequency of MMC1 and MMC2 Kishon Vijay Abraham I <kishon@ti.com> - 2015-07-30 10:20 +0200

csiph-web