Skip to content
Snippets Groups Projects
Commit 2a09649f authored by Frieder Schrempf's avatar Frieder Schrempf
Browse files

arm64: dts: imx8mm-kontron: Add support for reading SD_VSEL signal


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: default avatarFrieder Schrempf <frieder.schrempf@kontron.de>
---
Changes for v2:
* rebase to current master
parent 979a00a4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment