diff mbox

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

Message ID 1398711106-22484-1-git-send-email-swarren@wwwdotorg.org (mailing list archive)
State New, archived
Headers show

Commit Message

Stephen Warren April 28, 2014, 6:51 p.m. UTC
From: Stephen Warren <swarren@nvidia.com>

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

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
 arch/arm/boot/dts/tegra114-dalmore.dts | 1 +
 1 file changed, 1 insertion(+)

Comments

Thierry Reding April 29, 2014, 2:24 p.m. UTC | #1
On Mon, Apr 28, 2014 at 12:51:46PM -0600, Stephen Warren wrote:
> From: Stephen Warren <swarren@nvidia.com>
> 
> Dalmore can detect write-protect on the SD card. Add the required
> DT entries to allow this.
> 
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
> ---
>  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
Stephen Warren April 29, 2014, 4:15 p.m. UTC | #2
On 04/28/2014 12:51 PM, Stephen Warren wrote:
> 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.
diff mbox

Patch

diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts b/arch/arm/boot/dts/tegra114-dalmore.dts
index 35a2ee71a970..5c21d216515a 100644
--- a/arch/arm/boot/dts/tegra114-dalmore.dts
+++ b/arch/arm/boot/dts/tegra114-dalmore.dts
@@ -1106,6 +1106,7 @@ 
 
 	sdhci@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";
 	};