From: Benjamin Hahn <B.Hahn@phytec.de>
To: Andrej Picej <andrej.picej@norik.com>,
"robh@kernel.org" <robh@kernel.org>,
"krzk+dt@kernel.org" <krzk+dt@kernel.org>,
"conor+dt@kernel.org" <conor+dt@kernel.org>,
"shawnguo@kernel.org" <shawnguo@kernel.org>,
"s.hauer@pengutronix.de" <s.hauer@pengutronix.de>,
"kernel@pengutronix.de" <kernel@pengutronix.de>,
"festevam@gmail.com" <festevam@gmail.com>
Cc: "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
PHYTEC Upstream <upstream@lists.phytec.de>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"imx@lists.linux.dev" <imx@lists.linux.dev>
Subject: Re: [Upstream] [PATCH] arm64: dts: imx8mp-phyboard-pollux: Disable write-protect on SD card
Date: Fri, 26 Jul 2024 12:31:03 +0000 [thread overview]
Message-ID: <0b2eecd0-cd5f-48d9-9377-164b5ad5b78d@phytec.de> (raw)
In-Reply-To: <20240716085114.3205582-1-andrej.picej@norik.com>
On 16.07.24 10:51, Andrej Picej wrote:
> 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@norik.com>
Reviewed-by: Benjamin Hahn <B.Hahn@phytec.de>
> ---
> 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";
next prev parent reply other threads:[~2024-07-26 12:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-16 8:51 [PATCH] arm64: dts: imx8mp-phyboard-pollux: Disable write-protect on SD card Andrej Picej
2024-07-26 12:31 ` Benjamin Hahn [this message]
2024-08-12 9:21 ` Shawn Guo
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=0b2eecd0-cd5f-48d9-9377-164b5ad5b78d@phytec.de \
--to=b.hahn@phytec.de \
--cc=andrej.picej@norik.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
--cc=upstream@lists.phytec.de \
/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;
as well as URLs for NNTP newsgroup(s).