Re: [PATCH v2 0/3] Fix sd card support for RK3576
From: Shawn Lin <shawn.lin@rock-chips.com>
Date: 2026-01-14 03:16:52
Also in:
linux-rockchip
在 2026/01/14 星期三 4:35, Marco Schirrmeister 写道:
Hi Shawn, On Tue, Jan 13, 2026 at 2:19 AM Shawn Lin [off-list ref] wrote:quoted
This series fixes this mess but only adds slot-gpio support for RK3576-EVB1. Other boards are also missing slot-gpio support, but folks are all cced for checking the boards they are using. Please review and testI tested this series on the FriendlyElec NanoPi R76S. With the addition of 'cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;' in the board DTS, the µSD hot-plug now works correctly.
Thanks for testing.
However, even with this fix, the NanoPi R76S still suffers from the constant 400kHz retuning loop when runtime PM is enabled. I will send a v2 of my driver quirk to address this board-specific instability.
When talking about board-specific instability of SD support, the intuitive reaction is bus more or frequency related. I never came across this kind of problem which caused by runtime PM support. That being said, there is potential unveiled problems for your boards. I will comment your v2 to see if we could sort them out.
Link to v1: https://lore.kernel.org/all/20260110010715.1610159-1-mschirrmeister@gmail.com/T/#t (local) Tested-by: Marco Schirrmeister <redacted>