[U-Boot] [RFC] POWER framework v3 - wish list

Simon Glass sjg at chromium.org
Mon May 19 20:37:19 CEST 2014


Hi,

On 9 May 2014 03:25, Przemyslaw Marczak <p.marczak at samsung.com> wrote:
> Hello,
>
> Some time ago I had a pleasure to work on some kind of a simple
> charger manager for u-boot. For checking battery charge level, cable
> state, and some more info I made a common calls which were implemented in
> board files, so actually it didn't base directly on PMIC framework. This
> allowed making charger abstraction but it was a second power related
> framework next to the PMIC.
> From my side I would like to introduce its next version according to the
> doc/README.power-framework documents "TO DO" list and some more...
>
> In this RFC any comments about next version of power management framework
> are welcome.
> What new PMIC framework should provide?
> How to extend it?
> What can be fixed?
>
> So, what should be done (in my opinion):

Can I suggest we try to build this with driver model if possible? It
seems like you will otherwise end up duplicating much of the plumbing
of that. For example, see 'struct device'.

Regards,
Simon


More information about the U-Boot mailing list