]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arm64: dts: rockchip: Switch microSD card detect to gpio on Radxa ROCK 5 ITX/5C
authorFUKAUMI Naoki <naoki@radxa.com>
Tue, 11 Nov 2025 07:17:28 +0000 (07:17 +0000)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 13 Nov 2025 22:22:35 +0000 (23:22 +0100)
commitc7a9549ce46e7422e96e2b677ab578b32b3eef25
tree25eebe899ab3dddc70fc274343a009e06d5ed522
parent156a530ed5ed012f35e8319c2ee5223dfc7195d3
arm64: dts: rockchip: Switch microSD card detect to gpio on Radxa ROCK 5 ITX/5C

Due to the discussion about cd-gpios and sdmmmc_det pin functionality [1],
it would be better to use cd-gpios for now.

When the sdmmc controller runtime-suspends, the detection logic inside the
controller cannot detect anything anymore, which using the gpio variant
fixes.

The Rock 5B/5B+/5T already uses cd-gpios, so only get the pinctrl added.

[1] https://lore.kernel.org/linux-rockchip/20240912152538.1.I858c2a0bf83606c8b59ba1ab6944978a398d2ac5@changeid/

Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
[amended commit description a bit and squashed the pinctrl patch]
Link: https://patch.msgid.link/20251111071730.126238-2-naoki@radxa.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts
arch/arm64/boot/dts/rockchip/rk3588-rock-5b-5bp-5t.dtsi
arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts