From: Rosen Penev <rosenp@gmail.com>
To: devicetree@vger.kernel.org
Cc: Andrew Lunn <andrew@lunn.ch>,
Gregory Clement <gregory.clement@bootlin.com>,
Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Dennis Gilmore <dennis@ausil.us>,
linux-arm-kernel@lists.infradead.org (moderated list:ARM/Marvell
Kirkwood and Armada 370, 375, 38x,...)
Subject: [PATCH 5/7] ARM: dts: helios4: use disable-wp for the microSD slot
Date: Wed, 25 Nov 2026 18:38:54 -0800 [thread overview]
Message-ID: <20261126023856.767961-6-rosenp@gmail.com> (raw)
In-Reply-To: <20261126023856.767961-1-rosenp@gmail.com>
The microSD socket (U3) has no write-protect switch, and no pin is
muxed to the SDHCI WP input: the sd0 group only carries CLK, CMD and
DAT0-3. wp-inverted merely flips the reading of that unconnected input
so the card ends up writable.
Say what the hardware is instead: there is no write-protect line.
disable-wp makes the MMC core skip the WP check altogether, with the
same result for the user.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
arch/arm/boot/dts/marvell/armada-388-helios4.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/marvell/armada-388-helios4.dts b/arch/arm/boot/dts/marvell/armada-388-helios4.dts
index f8ac74d7935e..d4ed47ae73c5 100644
--- a/arch/arm/boot/dts/marvell/armada-388-helios4.dts
+++ b/arch/arm/boot/dts/marvell/armada-388-helios4.dts
@@ -256,7 +256,7 @@ sdhci@d8000 {
pinctrl-names = "default";
status = "okay";
vmmc-supply = <®_3p3v>;
- wp-inverted;
+ disable-wp;
};
usb3@f0000 {
--
2.56.1
next prev parent reply other threads:[~2026-11-26 2:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 2:38 [PATCH 0/7] ARM: dts: helios4: fixes and cleanups Rosen Penev
2026-11-26 2:38 ` [PATCH 1/7] ARM: dts: helios4: fix board revision GPIO polarity Rosen Penev
2026-11-26 2:38 ` [PATCH 2/7] ARM: dts: helios4: use a level interrupt for the GPIO expander Rosen Penev
2026-11-26 2:38 ` [PATCH 3/7] ARM: dts: helios4: drop the unconnected EHCI controller Rosen Penev
2026-11-26 2:38 ` [PATCH 4/7] ARM: dts: helios4: describe the fan tachometer inputs Rosen Penev
2026-11-26 2:38 ` Rosen Penev [this message]
2026-11-26 2:38 ` [PATCH 6/7] ARM: dts: helios4: use hyphens in fan pinctrl node names Rosen Penev
2026-11-26 2:38 ` [PATCH 7/7] ARM: dts: helios4: describe LED color and function Rosen Penev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261126023856.767961-6-rosenp@gmail.com \
--to=rosenp@gmail.com \
--cc=andrew@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=dennis@ausil.us \
--cc=devicetree@vger.kernel.org \
--cc=gregory.clement@bootlin.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=robh@kernel.org \
--cc=sebastian.hesselbarth@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox