[PATCH] ARM: dts: vf-colibri: disable write-protection for SD-card

Subsystems: the rest

STALE3816d

2 messages, 2 authors, 2016-02-18 · open the first message on its own page

[PATCH] ARM: dts: vf-colibri: disable write-protection for SD-card

From: Stefan Agner <stefan@agner.ch>
Date: 2016-02-17 23:43:44

The Colibri standard does not define a pin for SD-Card write-
protection. Use the disable-wp property to indicate that there
is no physical WP line present.

Signed-off-by: Stefan Agner <stefan@agner.ch>
---
 arch/arm/boot/dts/vf-colibri.dtsi | 1 +
 1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/vf-colibri.dtsi b/arch/arm/boot/dts/vf-colibri.dtsi
index ff6f58e..e49bbbc 100644
--- a/arch/arm/boot/dts/vf-colibri.dtsi
+++ b/arch/arm/boot/dts/vf-colibri.dtsi
@@ -92,6 +92,7 @@
 	pinctrl-0 = <&pinctrl_esdhc1>;
 	bus-width = <4>;
 	cd-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
+	disable-wp;
 };
 
 &fec1 {
-- 
2.7.1

Re: [PATCH] ARM: dts: vf-colibri: disable write-protection for SD-card

From: Shawn Guo <shawnguo@kernel.org>
Date: 2016-02-18 15:09:46

On Wed, Feb 17, 2016 at 03:44:16PM -0800, Stefan Agner wrote:
The Colibri standard does not define a pin for SD-Card write-
protection. Use the disable-wp property to indicate that there
is no physical WP line present.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Applied, thanks.
quoted hunk
---
 arch/arm/boot/dts/vf-colibri.dtsi | 1 +
 1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/vf-colibri.dtsi b/arch/arm/boot/dts/vf-colibri.dtsi
index ff6f58e..e49bbbc 100644
--- a/arch/arm/boot/dts/vf-colibri.dtsi
+++ b/arch/arm/boot/dts/vf-colibri.dtsi
@@ -92,6 +92,7 @@
 	pinctrl-0 = <&pinctrl_esdhc1>;
 	bus-width = <4>;
 	cd-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
+	disable-wp;
 };
 
 &fec1 {
-- 
2.7.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help