Page MenuHomeFreeBSD

sdhci_fsl_fdt: Fix vccq reconfiguration

Authored by on Dec 7 2021, 12:19 PM.
Referenced Files
Unknown Object (File)
Sun, May 28, 10:30 AM
Unknown Object (File)
Sat, May 27, 8:17 PM
Unknown Object (File)
Sat, May 27, 8:15 PM
Unknown Object (File)
Sat, May 27, 8:12 PM
Unknown Object (File)
Sat, May 27, 2:57 PM
Unknown Object (File)
Sat, May 27, 2:55 PM
Unknown Object (File)
Sat, May 27, 9:33 AM
Unknown Object (File)
May 6 2023, 9:23 AM



As vqmmc-supply is an optional Device Tree property, don't skip vccq
reconfiguration when the regulator is not specified. Instead, accept
voltage specified by the voltage-ranges property.

The actual voltage switch is done through a hw register in LS1028A.
Add errata flag for other boards, as they are not supported. Return
not supported error code when switching to 1.8V on affected platforms.

Fixes: b08bf4c3 ("sdhci_fsl_fdt: Skip vccq reconfiguration without regulator")

Co-authored-by: Artur Rojek <>

Diff Detail

rG FreeBSD src repository
Lint Not Applicable
Tests Not Applicable

Event Timeline

manu requested changes to this revision.Dec 8 2021, 9:27 AM
manu added inline comments.

You don't need this variable.

This revision now requires changes to proceed.Dec 8 2021, 9:27 AM
This revision is now accepted and ready to land.Dec 8 2021, 10:09 AM
This revision was automatically updated to reflect the committed changes.