Message ID | 1398711106-22484-1-git-send-email-swarren@wwwdotorg.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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
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 --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"; };