Re: [PATCH] arm64: dts: rockchip: Fix SD card controller probe on Pinephone Pro

From: Tom Fitzhenry
Date: Mon Sep 05 2022 - 16:53:12 EST


On 5/9/22 09:36, Ondrej Jirman wrote:
Voltage constraints on vccio_sd are invalid. They don't match the voltages
that LDO9 can generate, and this causes rk808-regulator driver to fail
to probe with -EINVAL when it tries to apply the constraints during boot.

On most boots, the SD card probe succeeds, and is able to be mounted.

On some boots, however, I observe this bug with error message:

vccio_sd: failed to apply 3150000-3150000uV constraint: -EINVAL


Fix the constraints to something that LDO9 can be actually configured for.

Fixes: 78a21c7d5952 ("arm64: dts: rockchip: Add initial support for Pine64 PinePhone Pro")
Signed-off-by: Ondrej Jirman <megi@xxxxxx>

Reviewed-by: Tom Fitzhenry <tom@xxxxxxxxxxxxxxxxxxx>
Tested-by: Tom Fitzhenry <tom@xxxxxxxxxxxxxxxxxxx>