[U-Boot] [PATCH 1/2] ARM: mxs: Enable DCDC converter for battery boot

Fabio Estevam festevam at gmail.com
Sat Oct 25 23:43:05 CEST 2014


Hi Michael,

On Thu, Oct 23, 2014 at 5:07 AM, Michael Thalmeier
<michael.thalmeier at hale.at> wrote:
> Hi Marek, and Fabio
>
>> > Shouldn't this be conditional?
>> >
>> > #if defined CONFIG_MXS_ENABLE_4P2
>> > mxs_power_enable_4p2();
>> > #endif
>> >
>> > Then the boards that need this power supply enable
>> > CONFIG_MXS_ENABLE_4P2 in its config file.
>>
>> No, we want to start the DCDC converter unconditionally when running on
> battery
>> power to increase efficiency.
>>
>
> I just stumbled upon this, because our board does not boot reliably any more
> with this change.
> Perhaps we have a special situation in that our board is powered via
> DCDC_BATT only by an external power source (no battery).
>
> I am currently working on creating a patch to only conditionally enabling
> this feature, or to enable it by default and have it conditionally be
> disabled for boards that are known to have problems with this.
>
> Which approach seems to be more feasible to you?

Initially I proposed something like:

#if defined CONFIG_MXS_ENABLE_4P2
mxs_power_enable_4p2();
#endif

,but Marek was not happy about it, so let's wait for his thoughts. Marek?

Regards,

Fabio Estevam


More information about the U-Boot mailing list