From: Ricardo Pardini <ricardo@pardini.net>
To: Shawn Lin <shawn.lin@rock-chips.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Heiko Stuebner <heiko@sntech.de>
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
Zhangqun Ming <north_sea@qq.com>
Subject: Re: [PATCH 2/2] arm64: dts: rockchip: Add Seeed Studio reComputer RK3576 Dev Kit
Date: Fri, 4 Dec 2026 02:13:10 +0100 [thread overview]
Message-ID: <fc865afc-8813-4127-a512-7f20d1b7ca23@pardini.net> (raw)
In-Reply-To: <8e4cd322-a3f3-40ac-8c4e-3531f0851251@rock-chips.com>
On 01/12/2026 15:11, Shawn Lin wrote:
>> +
>> +&sdmmc {
>> + bus-width = <4>;
>> + cap-sd-highspeed;
>> + disable-wp;
>> + max-frequency = <200000000>;
>> + no-mmc;
>> + no-sdio;
>> + pinctrl-names = "default";
>> + pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_det &sdmmc0_bus4>;
>> + sd-uhs-sdr104;
>> + vmmc-supply = <&vcc3v3_sd_s0>;
>> + vqmmc-supply = <&vccio_sd_s0>;
>> + status = "okay";
>> +};
>
> Please change to use cd-gpios method for hot-plug support.
Hi Shawn,
Thanks for the review. I'll add
cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
the same way as on the RK3576 EVB1 and the NanoPi R76S: sdmmc0_det
stays in pinctrl-0.
With this I've tested with the controller runtime-suspended (idle for
several minutes), card removal and insertion are both detected through
the GPIO interrupt, and the card comes up at UHS-I SDR104 (198 MHz)
with clean reads, also when reinserted after another idle period.
I'll send v2 with this change shortly.
Thanks,
Ricardo
prev parent reply other threads:[~2026-12-04 1:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 13:18 [PATCH 0/2] " Ricardo Pardini via B4 Relay
2026-12-01 13:18 ` [PATCH 1/2] dt-bindings: arm: " Ricardo Pardini via B4 Relay
2026-12-01 13:18 ` [PATCH 2/2] arm64: dts: " Ricardo Pardini via B4 Relay
2026-12-01 14:11 ` Shawn Lin
2026-12-04 1:13 ` Ricardo Pardini [this message]
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=fc865afc-8813-4127-a512-7f20d1b7ca23@pardini.net \
--to=ricardo@pardini.net \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=heiko@sntech.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=north_sea@qq.com \
--cc=robh@kernel.org \
--cc=shawn.lin@rock-chips.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
all inboxes | Powered by JetHome®