[PATCH v2 0/3] Fix sd card support for RK3576

Shawn Lin shawn.lin at rock-chips.com
Tue Jan 13 18:01:08 PST 2026


在 2026/01/14 星期三 4:35, Marco Schirrmeister 写道:
> Hi Shawn,
> 
> On Tue, Jan 13, 2026 at 2:19 AM Shawn Lin <shawn.lin at rock-chips.com> wrote:
>>
>> 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 test
> 
> I 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
> 
> Tested-by: Marco Schirrmeister <mschirrmeister at gmail.com>
> 




More information about the Linux-rockchip mailing list