Re: [PATCH v7 3/8] pwm: pca9685: Improve runtime PM behavior

2021-04-09 Thread Clemens Gruber
On Fri, Apr 09, 2021 at 03:03:20PM +0200, Thierry Reding wrote: > On Tue, Apr 06, 2021 at 06:41:35PM +0200, Clemens Gruber wrote: > > The chip does not come out of POR in active state but in sleep state. > > To be sure (in case the bootloader woke it up) we force it to sleep in > > probe. > > > >

Re: [PATCH v7 3/8] pwm: pca9685: Improve runtime PM behavior

2021-04-09 Thread Thierry Reding
On Tue, Apr 06, 2021 at 06:41:35PM +0200, Clemens Gruber wrote: > The chip does not come out of POR in active state but in sleep state. > To be sure (in case the bootloader woke it up) we force it to sleep in > probe. > > On kernels without CONFIG_PM, we wake the chip in .probe and put it to >

[PATCH v7 3/8] pwm: pca9685: Improve runtime PM behavior

2021-04-06 Thread Clemens Gruber
The chip does not come out of POR in active state but in sleep state. To be sure (in case the bootloader woke it up) we force it to sleep in probe. On kernels without CONFIG_PM, we wake the chip in .probe and put it to sleep in .remove. Signed-off-by: Clemens Gruber --- Changes since v6: -