Files
u-boot/drivers
Kory Maincent fd30e492cc mmc: fsl_esdhc_imx: Skip voltage switching for fixed 1.8V regulator
When using a fixed 1.8V regulator for vqmmc (indicated by vs18_enable),
attempting to change the voltage produces spurious errors since the
regulator cannot be adjusted. The driver currently attempts the voltage
change, receives -ENOSYS from the regulator subsystem, and reports:

  Setting to 1.8V error: -38
  esdhc_set_voltage error -5

Fix this by checking vs18_enable early in esdhc_set_voltage() and
returning -ENOTSUPP for all voltage switch requests, not just 3.3V.
This prevents unnecessary regulator operations and eliminates the
error messages when the hardware is correctly configured with a fixed
1.8V supply.

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
2026-02-28 15:31:49 -03:00
..
2025-10-30 12:32:12 -06:00
2026-01-15 09:25:21 +01:00
2025-08-27 15:49:59 +08:00
2026-01-14 16:25:09 +01:00
2025-10-14 10:42:27 +03:00
2026-02-23 13:45:55 -06:00
2025-11-07 15:34:22 -06:00