linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: vf-colibri: disable write-protection for SD-card
@ 2016-02-17 23:44 Stefan Agner
  2016-02-18 15:04 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Agner @ 2016-02-17 23:44 UTC (permalink / raw)
  To: linux-arm-kernel

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

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

* [PATCH] ARM: dts: vf-colibri: disable write-protection for SD-card
  2016-02-17 23:44 [PATCH] ARM: dts: vf-colibri: disable write-protection for SD-card Stefan Agner
@ 2016-02-18 15:04 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2016-02-18 15:04 UTC (permalink / raw)
  To: linux-arm-kernel

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.

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

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

end of thread, other threads:[~2016-02-18 15:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-17 23:44 [PATCH] ARM: dts: vf-colibri: disable write-protection for SD-card Stefan Agner
2016-02-18 15:04 ` Shawn Guo

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