OSDN Git Service

ARM: dts: imx6: phycore-som: Disable micro-SD write protection
authorYunus Bas <y.bas@phytec.de>
Thu, 9 Sep 2021 17:25:55 +0000 (19:25 +0200)
committerShawn Guo <shawnguo@kernel.org>
Wed, 22 Sep 2021 08:22:56 +0000 (16:22 +0800)
The micro-SD card doesn't feature a write-protect pin. Set the
corresponding property in the devicetree to handle this behavior
correctly and suppress driver warnings.

Signed-off-by: Yunus Bas <y.bas@phytec.de>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-phytec-mira.dtsi
arch/arm/boot/dts/imx6ul-phytec-segin.dtsi

index 0199385..0873f53 100644 (file)
        pinctrl-0 = <&pinctrl_usdhc1>;
        cd-gpios = <&gpio6 31 GPIO_ACTIVE_LOW>;
        no-1-8-v;
+       disable-wp;
        status = "disabled";
 };
 
index 95e4080..0d4ba94 100644 (file)
        no-1-8-v;
        keep-power-in-suspend;
        wakeup-source;
+       disable-wp;
        status = "disabled";
 };