linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: tegra: add SD wp-gpios to Venice2 DT
@ 2014-04-28 18:53 Stephen Warren
  2014-04-29 13:34 ` Thierry Reding
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Warren @ 2014-04-28 18:53 UTC (permalink / raw)
  To: linux-arm-kernel

From: Stephen Warren <swarren@nvidia.com>

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

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
Thierry, could you test this for me; my Venice2 has been sent away for
a few days for some rework. You should find that if you write-protect
your SD card, the kernel fails/panics trying to mount it as a r/w root
fs, whereas if the card is not write-protected, everything still works
fine. Thanks.
---
 arch/arm/boot/dts/tegra124-venice2.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/tegra124-venice2.dts b/arch/arm/boot/dts/tegra124-venice2.dts
index 84a6ec039e1d..00e741ba6927 100644
--- a/arch/arm/boot/dts/tegra124-venice2.dts
+++ b/arch/arm/boot/dts/tegra124-venice2.dts
@@ -943,6 +943,7 @@
 	sdhci at 0,700b0400 {
 		cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
 		power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>;
+		wp-gpios = <&gpio TEGRA_GPIO(Q, 4) GPIO_ACTIVE_HIGH>;
 		status = "okay";
 		bus-width = <4>;
 		vqmmc-supply = <&vddio_sdmmc3>;
-- 
1.8.1.5

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

end of thread, other threads:[~2014-05-06 17:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-28 18:53 [PATCH] ARM: tegra: add SD wp-gpios to Venice2 DT Stephen Warren
2014-04-29 13:34 ` Thierry Reding
2014-05-06 17:04   ` Stephen Warren

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