Skip to content

pwm: omap: Add PWM support using dual-mode timers

Neil Armstrong linux-arm-kernel linux-omap linux-pwm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3arm: plat-omap: dmtimer: Add clock source from DTarch/arm/plat-omap/dmtimer.c+30 -10 replies
2/3pwm: Add PWM driver for OMAP using dual-mode timersDocumentation/devicetree/bindings/pwm/pwm-omap-dmtimer.txt drivers/pwm/Kconfig drivers/pwm/Makefile +2 more+419 -03 replies
3/3arm: plat-omap: Add PWM dmtimer platform data quirksarch/arm/mach-omap2/pdata-quirks.c+23 -04 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchTony Lindgren
1/3
2/3A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] pwm: omap: Add PWM support using dual-mode timers

This patch is based on an earlier patch by NeilBrown which is based on a older patch from Grant Erickson which provided PWM devices using the 'legacy' interface.

The pwm driver was renamed to not be confused with the OMAP4 PWM dedicated hardware and was cleaned with the review from Thierry Reding.

The first patch introduces a way to select to dmtimer clock source via a clocks binding and a dedicated function wit the legacy fallback.

In order to prepare for the future form of the dmtimer (clksource or whatever), and less rely on specific bindings the first patch introduces the PWM driver with all the dmtimer calls into a platform data structure.

The structure is then filled in plat-omap and added as auxdata for the ti,pwm-dmtimer-omap compatible nodes.

RFC Thread : http://lkml.kernel.org/r/562505DB.3010402 at baylibre.com

Neil Armstrong (3):
arm: plat-omap: dmtimer: Add clock source from DT
pwm: Add PWM driver for OMAP using dual-mode timers
arm: plat-omap: Add PWM dmtimer platform data quirks

 .../devicetree/bindings/pwm/pwm-omap-dmtimer.txt   |  18 ++
 arch/arm/mach-omap2/pdata-quirks.c                 |  23 ++
 arch/arm/plat-omap/dmtimer.c                       |  31 +-
 drivers/pwm/Kconfig                                |   9 +
 drivers/pwm/Makefile                               |   1 +
 drivers/pwm/pwm-omap-dmtimer.c                     | 322 +++++++++++++++++++++
 include/linux/platform_data/pwm_omap_dmtimer.h     |  69 +++++
 7 files changed, 472 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/pwm/pwm-omap-dmtimer.txt
 create mode 100644 drivers/pwm/pwm-omap-dmtimer.c
 create mode 100644 include/linux/platform_data/pwm_omap_dmtimer.h
Signature · 1 line
1.9.1