Skip to content

Implements a common PWM API

Bill Gatliff linux-embedded lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 24 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5API to consolidate PWM devices behind a common user and kernel interfaceDocumentation/pwm.txt drivers/pwm/pwm.c include/linux/pwm.h +1 more+1063 -318 replies
2/5Emulates PWM hardware using a high-resolution timer and a GPIO pindrivers/pwm/gpio.c+307 -09 replies
3/5Expunge old Atmel PWMC driver, replacing it with one that conforms to the PWM APIdrivers/misc/Makefile drivers/misc/atmel_pwm.c drivers/pwm/atmel-pwm.c+594 -4103 replies
4/5PWM-based LED controldrivers/leds/leds-pwm.c include/linux/pwm/pwm-led.h+158 -1000 replies
5/5LED "dimmer" triggerdrivers/leds/ledtrig-dim.c+95 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PWM PATCH 0/5] Implements a common PWM API

This patch series implements a common PWM API. This series incorporates the feedback from the linux-embedded mailing list and elsewhere; the author greatly appreciates the efforts of everyone who reviewed the previous version of this code.

Bill Gatliff (5):
API to consolidate PWM devices behind a common user and kernel
interface
Emulates PWM hardware using a high-resolution timer and a GPIO pin Expunge old Atmel PWMC driver, replacing it with one that conforms to
the PWM API
PWM-based LED control
LED "dimmer" trigger

 Documentation/pwm.txt       |  260 ++++++++++++++++++
 drivers/leds/leds-pwm.c     |  224 +++++++++-------
 drivers/leds/ledtrig-dim.c  |   95 +++++++
 drivers/misc/Makefile       |    6 +-
 drivers/misc/atmel_pwm.c    |  409 ----------------------------
 drivers/pwm/atmel-pwm.c     |  589 ++++++++++++++++++++++++++++++++++++++++
 drivers/pwm/gpio.c          |  307 +++++++++++++++++++++
 drivers/pwm/pwm.c           |  633 +++++++++++++++++++++++++++++++++++++++++++
 include/linux/pwm.h         |   31 --
 include/linux/pwm/pwm-led.h |   34 +++
 include/linux/pwm/pwm.h     |  170 ++++++++++++
 11 files changed, 2217 insertions(+), 541 deletions(-)
 create mode 100644 Documentation/pwm.txt
 create mode 100644 drivers/leds/ledtrig-dim.c
 delete mode 100644 drivers/misc/atmel_pwm.c
 create mode 100644 drivers/pwm/atmel-pwm.c
 create mode 100644 drivers/pwm/gpio.c
 create mode 100644 drivers/pwm/pwm.c
 delete mode 100644 include/linux/pwm.h
 create mode 100644 include/linux/pwm/pwm-led.h
 create mode 100644 include/linux/pwm/pwm.h