Skip to content

Add capture functionality to OMAP pwm driver

Ladislav Michl linux-arm-kernel linux-omap linux-pwm 1 version New

Get series with b4
b4 am 20180108153926.GA3916@lenoch

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5clocksource: timer-dm: Make unexported functions staticdrivers/clocksource/timer-dm.c include/clocksource/dmtimer.h+111 -1350 replies
2/5clocksource: timer-dm: Check prescaler valuedrivers/clocksource/timer-dm.c+2 -20 replies
3/5pwm: pwm-omap-dmtimer: Fix frequency when using prescalerdrivers/pwm/pwm-omap-dmtimer.c+42 -290 replies
4/5clocksource: timer-dm: Add event capturedrivers/clocksource/timer-dm.c include/linux/platform_data/dmtimer-omap.h+51 -00 replies
5/5pwm: pwm-omap-dmtimer: Add capture functionalitydrivers/pwm/pwm-omap-dmtimer.c+128 -11 reply
5/5pwm: pwm-omap-dmtimer: Add capture functionality+0 -01 reply
5/5pwm: pwm-omap-dmtimer: Add capture functionality+0 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/5] Add capture functionality to OMAP pwm driver

Folowing patchset is based on Keerthy's "v6 omap: dmtimer: Move driver out of plat-omap" minus last patch which is here corrected.

Keerthy, feel free to pick cleanup/bugfix patches into your serie if you find it usefull.

Tony, I wanted to do something easy to understand as a base for event capture interrupt, but either I do not understand hardware, or it indeed cannot do pulse capture.

Please see comments in the last patch in the serie.

Ladislav Michl (5):
clocksource: timer-dm: Make unexported functions static
clocksource: timer-dm: Check prescaler value
pwm: pwm-omap-dmtimer: Fix frequency when using prescaler
clocksource: timer-dm: Add event capture
pwm: pwm-omap-dmtimer: Add capture functionality

 drivers/clocksource/timer-dm.c             | 269 +++++++++++++++++------------
 drivers/pwm/pwm-omap-dmtimer.c             | 200 +++++++++++++++++----
 include/clocksource/dmtimer.h              |  24 ---
 include/linux/platform_data/dmtimer-omap.h |   8 +
 4 files changed, 334 insertions(+), 167 deletions(-)
Signature · 1 line
2.15.1