Re: [PATCH v4 0/2] pwm-pca9685: Bugfixes and prescaler support

From: Thierry Reding
Date: Mon Aug 17 2015 - 10:38:57 EST


On Thu, Jul 23, 2015 at 05:19:00PM +0200, Clemens Gruber wrote:
> Hi,
>
> the first patch from this series contains bugfixes and the second patch
> adds support for changing the PWM output frequency of the PCA9685.
>
> Regards,
> Clemens
>
> Cc: Thierry Reding <thierry.reding@xxxxxxxxx>
> Cc: Steffen Trumtrar <s.trumtrar@xxxxxxxxxxxxxx>
>
> Changes in v2:
> - Only put chip into sleep mode if the bounds checking succeeds
>
> Changes in v3:
> - Fix checkpatch style warnings introduced in v2
>
> Changes in v4:
> - Set RESTART bit. Now the duty cycle to period ratio stays the same
> after only changing the period.
> - Added a comment at the start of the file pointing out that the chip
> has only one prescaler and changing the period affects all outputs.
>
> Clemens Gruber (2):
> pwm-pca9685: Fix several driver bugs
> pwm-pca9685: Support changing the output frequency
>
> drivers/pwm/pwm-pca9685.c | 89 ++++++++++++++++++++++++++++++++++++++++++++++-
> 1 file changed, 88 insertions(+), 1 deletion(-)

Applied, thanks.

Thierry

Attachment: signature.asc
Description: PGP signature