[U-Boot] [PATCH 1/4] power: make pfuze100 be able to coexist with other pmics

Stefano Babic sbabic at denx.de
Thu Apr 24 10:30:57 CEST 2014


Hi Tim,

On 24/04/2014 10:19, Tim Harvey wrote:

>>
>> This is a change in the PMIC framework API and must be documented.
>>
>> Currently, we support multiple instances of the same PMIC, but not
>> different PMIC on the same board.
>>
> 
> Stefano,
> 
> Hmm... I see several pmic's that use their own namespace for init:
> 
> grep init include/power/*.h shows a few (power_bat_init,
> power_fg_init, power_muic_init, pmic_init_max77693). And if you look
> at trats.c or trats2.c boards you will see how they call several of
> them.

Thanks for pointing it out, I have missed them.

> Granted, both of those do also call a generic pmic_init() thats
> implemented by pmic_max77686 'or' pmic_max8977. So in the case of
> those two boards, they have several pmic's, one that uses the generic
> pmic_init() namespace, and 2 others that use their own unique
> namespace.

I see. Please drop my comment.

Best regards,
Stefano

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list