]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arm64: dts: rockchip: Fix SD card support for RK3576 EVB1
authorShawn Lin <shawn.lin@rock-chips.com>
Fri, 16 Jan 2026 00:55:31 +0000 (08:55 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 16 Jan 2026 13:35:03 +0000 (14:35 +0100)
commit7226664bf952c4cfddccd74b154a7d994608d153
treebfa5417f4887b9d931804ceebcf272832b687ea2
parentd813ddc0b348febf32fc9d7737ba82d2955051ac
arm64: dts: rockchip: Fix SD card support for RK3576 EVB1

When runtime suspend is enabled, the associated power domain is powered
off, which resets the registers, including the power control bit. As a result,
the card loses power during runtime suspend. The card should still be able
to process I/O with the help of mmc_blk_mq_rw_recovery(), which is suboptimal.
To address this issue, we must use vmmc-supply with a GPIO based method to
maintain power to the card. Also, add cd-gpios method to make hot-plug work
correctly during idle periods.

Fixes: f135a1a07352 ("arm64: dts: rockchip: Add rk3576 evb1 board")
Cc: stable@vger.kernel.org
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Link: https://patch.msgid.link/1768524932-163929-5-git-send-email-shawn.lin@rock-chips.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3576-evb1-v10.dts