[PATCH 2/3] pinctrl: rockchip: program RK3308 I/O domains before SDIO probes

Heiko Stuebner heiko at sntech.de
Sun Nov 29 08:15:18 PST 2026


Am Sonntag, 29. November 2026, 08:14:02 Mitteleuropäische Normalzeit schrieb Abduwaris Nurmemet:
> The RK3308 SDIO controller is only reliable at 50 MHz when the I/O
> domain feeding its pins is switched to 1.8V.  The generic io-domain
> driver probes after the MMC controllers, which is too late: the SDIO
> card is already being enumerated, so the bus either fails with
> -84 or stays at a very low clock.
> 
> Program the domain selection from the pinctrl driver instead, which
> probes before the MMC host.  Boards opt in with an io-1v8-domains
> bitmask property on the pinctrl node, where each set bit marks an I/O
> domain that runs at 1.8V.
> 
> This follows the approach used for the Rock Pi-S by Brent Roman.
> 
> Signed-off-by: Abduwaris Nurmemet <daabu at qq.com>


v2 [0] sent 2 hours later, dropped this patch


[0] https://lore.kernel.org/linux-rockchip/tencent_8CBF26AEE0A30976D669C6FF243C03645907@qq.com/






More information about the Linux-rockchip mailing list