diff options
author | Frieder Schrempf <frieder.schrempf@kontron.de> | 2022-06-27 13:00:59 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2022-06-28 15:24:31 +0200 |
commit | 1af2d4697a3b229e84901d2bdd4ffba0eb2217de (patch) | |
tree | 2530f3ac00c925c56031d22c6f0dabc84c487085 /drivers/ddr/altera/sdram_agilex.c | |
parent | 2add0511757e2c5897a88b57c5ea8c912140e60f (diff) |
imx: kontron-sl-mx8mm: Enable PCA9450 regulator driver and fix SD card access
Currently accessing the SD card on USDHC2 fails with:
=> mmc dev 1
Card did not respond to voltage select! : -110
This is due to the fact that UHS modes are enabled in the defconfig
and the devicetree, but the referenced LDO5 regulator (reg_nvcc_sd)
is not available to switch the data lines from 3.3V to 1.8V mode.
By enabling the regulator driver the vqmmc-supply is now available
and the SD card works also in high speed modes:
=> mmc dev 1
switch to partitions #0, OK
mmc1 is current device
Please note that the board has a GPIO connected to the SD_VSEL signal
of the PMIC. As the driver uses the LDO5CTRL_H register to set the
voltage, we need to make sure that this GPIO (GPIO01_IO4) is set to
a high level.
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Reviewed-by: Fabio Estevam <festevam@denx.de>
Tested-by: Fabio Estevam <festevam@denx.de>
Diffstat (limited to 'drivers/ddr/altera/sdram_agilex.c')
0 files changed, 0 insertions, 0 deletions