Skip to content

pwm: lpc32xx: fixes in the LPC32xx PWM driver

Thierry Reding linux-arm-kernel linux-devicetree linux-pwm 1 version New

Get series with b4
b4 am 20151216160247.GJ28947@ulmo

Versions newest first

  1. v2 Latest0 of 6 patches 0 repliesNew

Patches in v2 No applies recorded yet

None of the 6 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/6] pwm: lpc32xx: fixes in the LPC32xx PWM driver
Quoted 26 lines · Vladimir Zapolskiy

The changeset fixes a number of issues within current implementation of LPC32xx PWM controller driver, namely
- the SoC has two independent PWM controllers with one channel each,
- runtime warnings from common clock framework,
- overflow in duty cycle calculation may result in disabled PWM,
- unsupported period values are not accepted.

Correction of PWM channels requires a correspondent change in arch/arm/boot/dts/lpc32xx.dtsi, it has been already sent for review.

Changes from v1 to v2:
- corrected style of examples in documentation,
- improved commit messages

Version v1 can be found here:
http://comments.gmane.org/gmane.linux.pwm/2828
http://www.spinics.net/lists/devicetree/msg105398.html

Vladimir Zapolskiy (6):
dt: lpc32xx: pwm: correct LPC32xx PWM device node example
dt: lpc32xx: pwm: update documentation of LPC32xx PWM device
pwm: lpc32xx: correct number of PWM channels from 2 to 1
pwm: lpc32xx: fix warnings from common clock framework
pwm: lpc32xx: fix and simplify duty cycle and period calculations
pwm: lpc32xx: return ERANGE, if requested period is not supported

Quoted 3 lines
 .../devicetree/bindings/pwm/lpc32xx-pwm.txt        |  9 +++-
 drivers/pwm/pwm-lpc32xx.c                          | 59 ++++++++--------------
 2 files changed, 29 insertions(+), 39 deletions(-)

All patches applied, thanks.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20151216/241bf709/attachment.sig>