Skip to contentSkip to conversation

ARM: dts: imx6: phycore-som: Disable micro-SD write protection

PATCH Applied Yunus Bas 3 participants 3 messages Sep 9, 2021 – Sep 22, 2021

Subsystems (2)
lore
Share & tools
lore

Yunus Bas

author
#0 lore raw

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.

---
 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
index 019938562aa9..0873f53ea275 100644
@@ -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
index 95e4080dd0a6..0d4ba9494cf2 100644
@@ -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