
On Fri, Aug 22, 2014 at 02:12:19PM -0600, Simon Glass wrote:
On 22 August 2014 13:40, Thierry Reding thierry.reding@gmail.com wrote:
[...]
I've opted instead to provide an somewhat higher-level API that users can call to set voltages on the regulators and enable them.
But then this should use/extend the pmic interface I think, and not create a parallel one.
It's not a parallel framework. And it's not anything out of the ordinary either. There's a whole bunch of drivers in drivers/power that do the very same thing.
And I'm not sure something like Linux' regulator framework is something that we really need in U-Boot. The code in question is usually run in some board-specific initialization file, not from some generic driver that would need to be used in conjunction with potentially very many PMICs.
Thierry