Re: [PATCH 2/2] iio: misc: add support for GPIO power switches

2017-01-02 Thread Linus Walleij
On Fri, Dec 30, 2016 at 4:15 PM, Jonathan Cameron wrote: > On 30/12/16 13:05, Linus Walleij wrote: >> So this needs to be re-architected to either describe the remote system >> in DT and handle it in the kernel, or handle it all from userspace if it >> is a one-off non-product thing. > > I'm not

Re: [PATCH 2/2] iio: misc: add support for GPIO power switches

2016-12-30 Thread Jonathan Cameron
On 30/12/16 13:05, Linus Walleij wrote: > n Thu, Dec 29, 2016 at 5:29 PM, Sebastian Reichel wrote: >> On Wed, Dec 28, 2016 at 01:50:17PM +0100, Linus Walleij wrote: >>> On Sun, Dec 11, 2016 at 11:21 PM, Bartosz Golaszewski >>> wrote: >>> Some power-measuring ADCs work together with power loa

Re: [PATCH 2/2] iio: misc: add support for GPIO power switches

2016-12-30 Thread Linus Walleij
n Thu, Dec 29, 2016 at 5:29 PM, Sebastian Reichel wrote: > On Wed, Dec 28, 2016 at 01:50:17PM +0100, Linus Walleij wrote: >> On Sun, Dec 11, 2016 at 11:21 PM, Bartosz Golaszewski >> wrote: >> >> > Some power-measuring ADCs work together with power load switches which >> > allow to power-cycle mea

Re: [PATCH 2/2] iio: misc: add support for GPIO power switches

2016-12-29 Thread Sebastian Reichel
Hi Linux, On Wed, Dec 28, 2016 at 01:50:17PM +0100, Linus Walleij wrote: > On Sun, Dec 11, 2016 at 11:21 PM, Bartosz Golaszewski > wrote: > > > Some power-measuring ADCs work together with power load switches which > > allow to power-cycle measured devices. > > > > An example use case would be m

Re: [PATCH 2/2] iio: misc: add support for GPIO power switches

2016-12-28 Thread Linus Walleij
On Sun, Dec 11, 2016 at 11:21 PM, Bartosz Golaszewski wrote: > Some power-measuring ADCs work together with power load switches which > allow to power-cycle measured devices. > > An example use case would be measuring the power consumption of a > development board during boot using a power monito