[PATCH 6/6] arm64: dts: imx8mm-kontron: Add support for reading SD_VSEL signal
Marek Vasut
marex at denx.de
Mon Feb 13 08:08:48 PST 2023
On 2/13/23 16:58, Frieder Schrempf wrote:
> From: Frieder Schrempf <frieder.schrempf at kontron.de>
>
> This fixes the LDO5 regulator handling of the pca9450 driver by
> taking the status of the SD_VSEL into account to determine which
> configuration register is used for the voltage setting.
>
> Even without this change there is no functional issue, as the code
> for switching the voltage in sdhci.c currently switches both, the
> VSELECT/SD_VSEL signal and the regulator voltage at the same time
> and doesn't run into an invalid corner case.
>
> We should still make sure, that we always use the correct register
> when controlling the regulator. At least in U-Boot this fixes an
> actual bug where the wrong IO voltage is used.
>
> Signed-off-by: Frieder Schrempf <frieder.schrempf at kontron.de>
I may have a kind-of obvious request, since we removed those SD_VSEL
very recently from other boards, could you just revert all those patches
and only fill in the SION bit in V2 on all those boards too ? That way,
we fix the LDO5 regulator for everyone who used it before.
More information about the linux-arm-kernel
mailing list