[PATCH] mmc: dw_mmc-rockchip: fix training on devices with internal phases
Heiko Stuebner
heiko at sntech.de
Fri Nov 13 11:41:23 PST 2026
Am Dienstag, 10. November 2026, 21:00:46 Mitteleuropäische Normalzeit schrieb Alexis Bauvin:
> Controllers with internal phases don't need the "ciu-drive" and
> "ciu-sample" clocks, and recent versions don't have them at all. Tuning
> expects those clocks to be filled when it is not necessary, and fails on
> devices which don't need them.
>
> Fixes eMMC training on such device by not requiring the clocks when they
> are internal to the controller, as they are not populated anymore on
> devices using the RK3576 compatible strings.
>
> This has been tested on an RK3506 on the 6.12 branch from
> linux-rockchip.
>
> Fixes: 73abb1f16e ("mmc: dw_mmc-rockchip: Add support for rk3576 SoCs")
> Signed-off-by: Alexis Bauvin <alexis at bauvin.com>
Reviewed-by: Heiko Stuebner <heiko at sntech.de>
More information about the Linux-rockchip
mailing list