Skip to contentSkip to conversation

ARM: tegra: add SD wp-gpios to Dalmore DT

PATCH New Stephen Warren 2 participants 3 messages Apr 28, 2014 – Apr 29, 2014

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

PATCH 1/1 ARM: tegra: add SD wp-gpios to Dalmore DT

From: Stephen Warren <[email protected]>

Dalmore can detect write-protect on the SD card. Add the required DT entries to allow this.

---
 arch/arm/boot/dts/tegra114-dalmore.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/tegra114-dalmore.dts +1 -0
index 35a2ee71a970..5c21d216515a 100644
@@ -1106,6 +1106,7 @@
 
 	sdhci at 78000400 {
 		cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
+		wp-gpios = <&gpio TEGRA_GPIO(Q, 4) GPIO_ACTIVE_HIGH>;
 		bus-width = <4>;
 		status = "okay";
 	};
Signature · 1 line
1.8.1.5
#1 lore raw

PATCH 1/1 ARM: tegra: add SD wp-gpios to Dalmore DT

Quoted 9 lines · Stephen Warren

From: Stephen Warren <[email protected]>

Dalmore can detect write-protect on the SD card. Add the required DT entries to allow this.

---
 arch/arm/boot/dts/tegra114-dalmore.dts | 1 +
 1 file changed, 1 insertion(+)

This one I can't test, since my A05 Dalmore has a micro SD card which I don't think can be write-protected.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140429/189cd6ca/attachment.sig>

author Applied
#2 lore raw

PATCH 1/1 ARM: tegra: add SD wp-gpios to Dalmore DT

In reply to Stephen Warren
Quoted 2 lines · Stephen Warren

Dalmore can detect write-protect on the SD card. Add the required DT entries to allow this.

Applied to Tegra's for-3.16/dt branch.