From: Stefan Agner Date: Mon, 9 Jul 2018 15:48:44 +0000 (+0200) Subject: ARM: dts: imx6qdl-apalis/-colibri: disable read-only switch X-Git-Tag: v4.19~314^2~19^2~42 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=147299a8fc3a70f02984a6d6a042d0cbf53c46f9;p=platform%2Fkernel%2Flinux-rpi.git ARM: dts: imx6qdl-apalis/-colibri: disable read-only switch Use the disable-wp to indicate that Apalis and Colibri iMX6 do not make use of the native write-protect signal available on the i.MX 6 SoCs. This prevents warnings: mmc0: host does not support reading read-only switch, assuming write-enable Signed-off-by: Stefan Agner Signed-off-by: Shawn Guo --- diff --git a/arch/arm/boot/dts/imx6qdl-apalis.dtsi b/arch/arm/boot/dts/imx6qdl-apalis.dtsi index 55bcea2..f9bacc9 100644 --- a/arch/arm/boot/dts/imx6qdl-apalis.dtsi +++ b/arch/arm/boot/dts/imx6qdl-apalis.dtsi @@ -457,6 +457,7 @@ pinctrl-0 = <&pinctrl_usdhc1_4bit &pinctrl_usdhc1_8bit>; vqmmc-supply = <®_3p3v>; bus-width = <8>; + disable-wp; no-1-8-v; status = "disabled"; }; @@ -467,6 +468,7 @@ pinctrl-0 = <&pinctrl_usdhc2>; vqmmc-supply = <®_3p3v>; bus-width = <4>; + disable-wp; no-1-8-v; status = "disabled"; }; diff --git a/arch/arm/boot/dts/imx6qdl-colibri.dtsi b/arch/arm/boot/dts/imx6qdl-colibri.dtsi index bb44829..8ae17fd 100644 --- a/arch/arm/boot/dts/imx6qdl-colibri.dtsi +++ b/arch/arm/boot/dts/imx6qdl-colibri.dtsi @@ -387,6 +387,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usdhc1 &pinctrl_mmc_cd>; cd-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>; /* MMCD */ + disable-wp; vqmmc-supply = <®_3p3v>; bus-width = <4>; no-1-8-v;