Skip to contentSkip to conversation

arm64: dts: marvell: 7040-db: Add the carrier detect pin for SD card on CP

PATCH New Gregory CLEMENT 1 participant 2 messages Oct 5, 2017 – Oct 12, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: marvell: 7040-db: Add the carrier detect pin for SD card on CP

The SD card slot connected to the SD controller of the CP part has a carrier detect pin connected the gpio expander. This patch enables it allowing supporting the hotplug event for the SD card.

---
 arch/arm64/boot/dts/marvell/armada-7040-db.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/marvell/armada-7040-db.dts +1 -1
index 18a75fad1e8d..d339ad5c8c27 100644
@@ -239,7 +239,7 @@
 	status = "okay";
 	bus-width = <4>;
 	no-1-8-v;
-	non-removable;
+	cd-gpios = <&expander0 12 GPIO_ACTIVE_LOW>;
 };
 
 &cpm_mdio {
Signature · 1 line
2.14.2
#1 lore raw

PATCH 1/1 arm64: dts: marvell: 7040-db: Add the carrier detect pin for SD card on CP

Hi,

Quoted 3 lines · Gregory CLEMENT

The SD card slot connected to the SD controller of the CP part has a carrier detect pin connected the gpio expander. This patch enables it allowing supporting the hotplug event for the SD card.

Applied on mvebu/dt64

Gregory

Quoted 27 lines
---
 arch/arm64/boot/dts/marvell/armada-7040-db.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/marvell/armada-7040-db.dts +1 -1
index 18a75fad1e8d..d339ad5c8c27 100644
@@ -239,7 +239,7 @@
 	status = "okay";
 	bus-width = <4>;
 	no-1-8-v;
-	non-removable;
+	cd-gpios = <&expander0 12 GPIO_ACTIVE_LOW>;
 };
 
 &cpm_mdio {
Signature · 7 lines
2.14.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Signature · 4 lines
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com