pwm: pwm-tiecap: PWM driver support for ECAP APWM
authorPhilip, Avinash <avinashphilip@ti.com>
Wed, 25 Jul 2012 11:28:18 +0000 (16:58 +0530)
committerThierry Reding <thierry.reding@avionic-design.de>
Thu, 26 Jul 2012 05:44:52 +0000 (07:44 +0200)
commit8e0cb05b3b758885aab09883adf189f8dd8402b2
tree2ac613b6894bec3dbd75095a9f27c90dac76f4b5
parentd295b129762bf6b2b7541243f496e363580de4a2
pwm: pwm-tiecap: PWM driver support for ECAP APWM

ECAP hardware on AM33XX SOC supports auxiliary PWM (APWM) feature. This
commit adds PWM driver support for ECAP hardware on AM33XX SOC.

In the ECAP hardware, each PWM pin can also be configured to be in
capture mode. Current implementation only supports PWM mode of
operation. Also, hardware supports sync between multiple PWM pins but
the driver supports simple independent PWM functionality.

Reviewed-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
Signed-off-by: Philip, Avinash <avinashphilip@ti.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
drivers/pwm/Kconfig
drivers/pwm/Makefile
drivers/pwm/pwm-tiecap.c [new file with mode: 0644]