[PATCH v2 0/5] unicore32: Move PWM driver to PWM framework

From: Thierry Reding
Date: Tue Sep 18 2012 - 04:25:57 EST


This series cleans up the PWM driver as well as moves and converts it
to the PWM framework. I don't have any Unicore32 hardware, so all I
could do was test if the kernel builds properly with the patches
applied. I think except for the final patch all of these should go
through the Unicore32 tree.

Changes in v2:
- drop common clock framework support (this series now depends on a
patch (https://lkml.org/lkml/2012/9/9/54) by Lars-Peter Clausen that
should soon appear in linux-next and which makes devm_clk_get()
available outside of the common clock framework)
- update patch 1 to incorporate changes by Guan Xuetao

Thierry

Thierry Reding (5):
unicore32: pwm: Properly remap memory-mapped registers
unicore32: pwm: Use module_platform_driver()
unicore32: pwm: Remove unnecessary indirection
unicore32: pwm: Use managed resource allocations
pwm: Move PUV3 PWM driver to PWM framework

arch/unicore32/Kconfig | 12 +-
arch/unicore32/include/mach/regs-ost.h | 18 +--
arch/unicore32/kernel/Makefile | 1 -
arch/unicore32/kernel/pwm.c | 263 ---------------------------------
drivers/pwm/Kconfig | 10 +-
drivers/pwm/Makefile | 1 +
drivers/pwm/pwm-puv3.c | 161 ++++++++++++++++++++
7 files changed, 181 insertions(+), 285 deletions(-)
delete mode 100644 arch/unicore32/kernel/pwm.c
create mode 100644 drivers/pwm/pwm-puv3.c

--
1.7.12

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/