linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: tegra: add SD wp-gpios to Dalmore DT
@ 2014-04-28 18:51 Stephen Warren
  2014-04-29 14:24 ` Thierry Reding
  2014-04-29 16:15 ` Stephen Warren
  0 siblings, 2 replies; 3+ messages in thread
From: Stephen Warren @ 2014-04-28 18:51 UTC (permalink / raw)
  To: linux-arm-kernel

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(+)

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 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";
 	};
-- 
1.8.1.5

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

* [PATCH] ARM: tegra: add SD wp-gpios to Dalmore DT
  2014-04-28 18:51 [PATCH] ARM: tegra: add SD wp-gpios to Dalmore DT Stephen Warren
@ 2014-04-29 14:24 ` Thierry Reding
  2014-04-29 16:15 ` Stephen Warren
  1 sibling, 0 replies; 3+ messages in thread
From: Thierry Reding @ 2014-04-29 14:24 UTC (permalink / raw)
  To: linux-arm-kernel

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

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

* [PATCH] ARM: tegra: add SD wp-gpios to Dalmore DT
  2014-04-28 18:51 [PATCH] ARM: tegra: add SD wp-gpios to Dalmore DT Stephen Warren
  2014-04-29 14:24 ` Thierry Reding
@ 2014-04-29 16:15 ` Stephen Warren
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Warren @ 2014-04-29 16:15 UTC (permalink / raw)
  To: linux-arm-kernel

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.

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

end of thread, other threads:[~2014-04-29 16:15 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:51 [PATCH] ARM: tegra: add SD wp-gpios to Dalmore DT Stephen Warren
2014-04-29 14:24 ` Thierry Reding
2014-04-29 16:15 ` 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).