Skip to content

Commit

Permalink
pwm: atmel-pwm: Add Atmel PWM controller driver
Browse files Browse the repository at this point in the history
Add a PWM framework driver for the PWM controller found on Atmel SoCs.

Signed-off-by: Bo Shen <voice.shen@atmel.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
[thierry.reding: coding style and other minor cleanups]
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
  • Loading branch information
Bo Shen authored and Thierry Reding committed Dec 17, 2013
1 parent ca7a97a commit 32b16d4
Show file tree
Hide file tree
Showing 3 changed files with 403 additions and 0 deletions.
9 changes: 9 additions & 0 deletions drivers/pwm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,15 @@ config PWM_AB8500
To compile this driver as a module, choose M here: the module
will be called pwm-ab8500.

config PWM_ATMEL
tristate "Atmel PWM support"
depends on ARCH_AT91
help
Generic PWM framework driver for Atmel SoC.

To compile this driver as a module, choose M here: the module
will be called pwm-atmel.

config PWM_ATMEL_TCB
tristate "Atmel TC Block PWM support"
depends on ATMEL_TCLIB && OF
Expand Down
1 change: 1 addition & 0 deletions drivers/pwm/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
obj-$(CONFIG_PWM) += core.o
obj-$(CONFIG_PWM_SYSFS) += sysfs.o
obj-$(CONFIG_PWM_AB8500) += pwm-ab8500.o
obj-$(CONFIG_PWM_ATMEL) += pwm-atmel.o
obj-$(CONFIG_PWM_ATMEL_TCB) += pwm-atmel-tcb.o
obj-$(CONFIG_PWM_BFIN) += pwm-bfin.o
obj-$(CONFIG_PWM_EP93XX) += pwm-ep93xx.o
Expand Down
Loading

0 comments on commit 32b16d4

Please sign in to comment.