[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240716085114.3205582-1-andrej.picej@norik.com>
Date: Tue, 16 Jul 2024 10:51:14 +0200
From: Andrej Picej <andrej.picej@...ik.com>
To: robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org,
shawnguo@...nel.org,
s.hauer@...gutronix.de,
kernel@...gutronix.de,
festevam@...il.com
Cc: devicetree@...r.kernel.org,
imx@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
upstream@...ts.phytec.de
Subject: [PATCH] arm64: dts: imx8mp-phyboard-pollux: Disable write-protect on SD card
Micro SD cards can't be physically write-protected like full-sized
cards. Disable this feature in device-tree to get rid of the kernel
warning:
"host does not support reading read-only switch, assuming write-enable"
Signed-off-by: Andrej Picej <andrej.picej@...ik.com>
---
arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts b/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
index 00a240484c25..791909dca6e1 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
@@ -267,6 +267,7 @@ &usdhc2 {
pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_pins>;
pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_pins>;
cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
+ disable-wp;
vmmc-supply = <®_usdhc2_vmmc>;
bus-width = <4>;
status = "okay";
--
2.34.1
Powered by blists - more mailing lists