arm: mxs: Provide Kconfig option to to not use VDD5V as IMX28 PMU source
authorLukasz Majewski <lukma@denx.de>
Tue, 9 May 2023 14:32:39 +0000 (16:32 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 11 Jul 2023 12:40:03 +0000 (14:40 +0200)
commit1c3c601ac54d3e3f301f391c4aa86a891d4db6c2
treee9544c475dca8054ff5499fd8c3dd9f5b7da3585
parent8f70f3df6201f28ac0ea604840d1c0e62d521629
arm: mxs: Provide Kconfig option to to not use VDD5V as IMX28 PMU source

This option sets the current limit for 5V source to zero, so all
the PMU outputs are primarily powered from battery source (DCDC_BAT).

This option may be set on systems, where the 5V is NOT supposed to be
in any scenario powering the system - for example on systems where
DCDC_BAT is connected to fixed and regulated 4.2V source (so the
"battery" is not present).

Signed-off-by: Lukasz Majewski <lukma@denx.de>
arch/arm/cpu/arm926ejs/mxs/spl_power_init.c
arch/arm/mach-imx/mxs/Kconfig