diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2015-11-02 14:14:21 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2015-12-16 19:25:37 +0300 |
commit | 6604c6556db9e41c85f2839f66bd9d617bcf9f87 (patch) | |
tree | df8c02d08ed1d824c158ead4c10999b295b652ae /drivers/pwm/pwm-sun4i.c | |
parent | 72c16a9f98afad073b4a9c947c1c89bfb886ffcb (diff) | |
download | linux-6604c6556db9e41c85f2839f66bd9d617bcf9f87.tar.xz |
pwm: Add PWM driver for OMAP using dual-mode timers
Adds support for using a OMAP dual-mode timer with PWM capability
as a Linux PWM device. The driver controls the timer by using the
dmtimer API.
Add a platform_data structure for each pwm-omap-dmtimer nodes containing
the dmtimers functions in order to get driver not rely on platform
specific functions.
Cc: Grant Erickson <marathon96@gmail.com>
Cc: NeilBrown <neilb@suse.de>
Cc: Joachim Eastwood <manabian@gmail.com>
Suggested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Tony Lindgren <tony@atomide.com>
[thierry.reding@gmail.com: coding style bikeshed, fix timer leak]
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-sun4i.c')
0 files changed, 0 insertions, 0 deletions