diff mbox

ARM: tegra: add SD wp-gpios to Jetson TK1 DT

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

Commit Message

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

Jetson TK1 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/tegra124-jetson-tk1.dts | 1 +
 1 file changed, 1 insertion(+)

Comments

Thierry Reding April 29, 2014, 2:21 p.m. UTC | #1
On Mon, Apr 28, 2014 at 11:07:26AM -0600, Stephen Warren wrote:
> From: Stephen Warren <swarren@nvidia.com>
> 
> Jetson TK1 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/tegra124-jetson-tk1.dts | 1 +
>  1 file changed, 1 insertion(+)

Tested-by: Thierry Reding <treding@nvidia.com>
Stephen Warren April 29, 2014, 4:15 p.m. UTC | #2
On 04/28/2014 11:07 AM, Stephen Warren wrote:
> Jetson TK1 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/tegra124-jetson-tk1.dts b/arch/arm/boot/dts/tegra124-jetson-tk1.dts
index fbc34933cf69..e31fb61a81d3 100644
--- a/arch/arm/boot/dts/tegra124-jetson-tk1.dts
+++ b/arch/arm/boot/dts/tegra124-jetson-tk1.dts
@@ -1624,6 +1624,7 @@ 
 		status = "okay";
 		cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
 		power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>;
+		wp-gpios = <&gpio TEGRA_GPIO(Q, 4) GPIO_ACTIVE_HIGH>;
 		bus-width = <4>;
 		vqmmc-supply = <&vddio_sdmmc3>;
 	};