linux/drivers/pwm
Boris BREZILLON 9421bade07 pwm: atmel: add Timer Counter Block PWM driver
This patch adds a PWM driver based on Atmel Timer Counter Block. The
Timer Counter Block is used in Waveform generator mode.

A Timer Counter Block provides up to 6 PWM devices grouped by 2:
* group 0 = PWM 0 and 1
* group 1 = PWM 2 and 3
* group 2 = PMW 4 and 5

PWM devices in a given group must be configured with the same period
value. If a PWM device in a group tries to change the period value and
the other device is already configured with a different value an error
will be returned.

This driver requires device tree support. The Timer Counter Block number
used to create a PWM chip is given by the tc-block field in an
"atmel,tcb-pwm" compatible node.

This patch was tested on kizbox board (at91sam9g20 SoC) with pwm-leds.

Signed-off-by: Boris BREZILLON <linux-arm@overkiz.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
2013-01-08 16:52:10 +01:00
..
core.c pwm: Export of_pwm_xlate_with_flags() 2012-12-06 08:51:38 +01:00
Kconfig pwm: atmel: add Timer Counter Block PWM driver 2013-01-08 16:52:10 +01:00
Makefile pwm: atmel: add Timer Counter Block PWM driver 2013-01-08 16:52:10 +01:00
pwm-ab8500.c pwm: remove use of __devexit 2012-11-28 12:23:41 -08:00
pwm-atmel-tcb.c pwm: atmel: add Timer Counter Block PWM driver 2013-01-08 16:52:10 +01:00
pwm-bfin.c pwm: remove use of __devexit 2012-11-28 12:23:41 -08:00
pwm-imx.c pwm: Changes for v3.8-rc1 2012-12-19 08:19:07 -08:00
pwm-jz4740.c pwm: remove use of __devexit 2012-11-28 12:23:41 -08:00
pwm-lpc32xx.c pwm: Changes for v3.8-rc1 2012-12-19 08:19:07 -08:00
pwm-mxs.c pwm: remove use of __devexit 2012-11-28 12:23:41 -08:00
pwm-puv3.c pwm: remove use of __devexit 2012-11-28 12:23:41 -08:00
pwm-pxa.c pwm: remove use of __devexit 2012-11-28 12:23:41 -08:00
pwm-samsung.c pwm: Changes for v3.8-rc1 2012-12-19 08:19:07 -08:00
pwm-spear.c pwm: spear: Staticize spear_pwm_config() 2012-11-22 22:47:10 +01:00
pwm-tegra.c pwm: remove use of __devexit 2012-11-28 12:23:41 -08:00
pwm-tiecap.c pwm: Changes for v3.8-rc1 2012-12-19 08:19:07 -08:00
pwm-tiehrpwm.c pwm: Changes for v3.8-rc1 2012-12-19 08:19:07 -08:00
pwm-tipwmss.c pwm: Add TI PWM subsystem driver 2012-11-28 15:14:41 +01:00
pwm-tipwmss.h pwm: Add TI PWM subsystem driver 2012-11-28 15:14:41 +01:00
pwm-twl-led.c pwm: New driver to support PWM driven LEDs on TWL4030/6030 series of PMICs 2012-11-28 15:16:19 +01:00
pwm-twl.c pwm: New driver to support PWMs on TWL4030/6030 series of PMICs 2012-11-28 15:16:19 +01:00
pwm-vt8500.c pwm: vt8500: Ensure PWM clock is enabled during pwm_config 2012-11-22 22:47:12 +01:00