Re: Implementing a gpio based regulator with status pins

2015-05-25 Thread Mark Brown
On Fri, May 22, 2015 at 08:49:01PM -0700, Guenter Roeck wrote: > What would be the best way to implement this ? > - Add status support to the 'fixed' regulator > - Add status support to gpio-regulator.c > - Add (gpio) status support to the regulator core > - Write a new regulator driver > - Somet

Implementing a gpio based regulator with status pins

2015-05-22 Thread Guenter Roeck
Hi all, I have a system with a gpio based regulator which does not only have an enable pin, but also a status pin to report the actual power status. In some cases there may be a secondary status pin, making it possible to report on/off/error. Some twist of this is that power activation time is n