[PATCH 1/5] arm: mxs: Provide Kconfig option to to not use VDD5V as IMX28 PMU source

Marek Vasut marex at denx.de
Tue May 9 16:48:40 CEST 2023

On 5/9/23 16:46, Lukasz Majewski wrote:
> Hi Marek,


>> On 5/9/23 16:32, Lukasz Majewski wrote:
>>> 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).
>> Is it possible to dig this information out of DT or is the DT not
>> available in SPL for this platform ?
> This platform uses only SPL_OF_PLATDATA to keep the SPL size < 40 KiB.
> I would prefer to keep this as Kconfig as the PMU driver is not
> supporting DT and in fact now ARCH_MX28 only has two boards supported -
> XEA and imx28evk.

Why not use the platdata then ?
This makes it far better, as the code is actually always compiled and 
doesn't start to bitrot.

More information about the U-Boot mailing list