OSDN Git Service

ARM: dts: imx6qdl-apalis/-colibri: disable read-only switch
authorStefan Agner <stefan@agner.ch>
Mon, 9 Jul 2018 15:48:44 +0000 (17:48 +0200)
committerShawn Guo <shawnguo@kernel.org>
Wed, 11 Jul 2018 13:00:48 +0000 (21:00 +0800)
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 <stefan@agner.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-apalis.dtsi
arch/arm/boot/dts/imx6qdl-colibri.dtsi

index 55bcea2..f9bacc9 100644 (file)
        pinctrl-0 = <&pinctrl_usdhc1_4bit &pinctrl_usdhc1_8bit>;
        vqmmc-supply = <&reg_3p3v>;
        bus-width = <8>;
+       disable-wp;
        no-1-8-v;
        status = "disabled";
 };
        pinctrl-0 = <&pinctrl_usdhc2>;
        vqmmc-supply = <&reg_3p3v>;
        bus-width = <4>;
+       disable-wp;
        no-1-8-v;
        status = "disabled";
 };
index bb44829..8ae17fd 100644 (file)
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_usdhc1 &pinctrl_mmc_cd>;
        cd-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>; /* MMCD */
+       disable-wp;
        vqmmc-supply = <&reg_3p3v>;
        bus-width = <4>;
        no-1-8-v;