ARM: dts: imx6: phycore-som: Disable micro-SD write protection
Subsystems (2)
PATCH 1/1 ARM: dts: imx6: phycore-som: Disable micro-SD write protection
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 <[email protected]>
--- arch/arm/boot/dts/imx6qdl-phytec-mira.dtsi | 1 + arch/arm/boot/dts/imx6ul-phytec-segin.dtsi | 1 + 2 files changed, 2 insertions(+)
arch/arm/boot/dts/imx6qdl-phytec-mira.dtsi +1 -0
@@ -256,6 +256,7 @@ &usdhc1 { pinctrl-0 = <&pinctrl_usdhc1>; cd-gpios = <&gpio6 31 GPIO_ACTIVE_LOW>; no-1-8-v; + disable-wp; status = "disabled"; };
arch/arm/boot/dts/imx6ul-phytec-segin.dtsi +1 -0
@@ -191,6 +191,7 @@ &usdhc1 { no-1-8-v; keep-power-in-suspend; wakeup-source; + disable-wp; status = "disabled"; };
Signature · 1 line
2.33.0
Hi Yunus,
Quoted 6 lines · Yunus Bas
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 <[email protected]>
Reviewed-by Fabio Estevam <[email protected]>
Shawn Guo
AppliedQuoted 5 lines · Yunus Bas
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 <[email protected]>
Applied, thanks!