Re: [PATCH v1] pwm: pca9685: re-enable active pwm channels on pwm period change
From: Sven Van Asbroeck
Date: Sat Apr 04 2020 - 15:21:35 EST
On Sat, Apr 4, 2020 at 1:58 PM Clemens Gruber
<clemens.gruber@xxxxxxxxxxxx> wrote:
>
> According to the PCA9685 datasheet revision 4, page 15, the RESTART bit
> is not only cleared by writing a 1 to it, but also by other actions like
> a write to any of the PWM registers.
>
> This seems to be the reason why I could not reproduce the reported
> problem.
Thanks Clemens for checking this. If .config will always write at least one
of the pwm registers (which seems to be the case), then all pwm channels
should stay on after a period change. And we (fortunately) won't need this
patch.