Skip to content

Commit

Permalink
pwm: pwm-tiehrpwm: PWM driver support for EHRPWM
Browse files Browse the repository at this point in the history
Enhanced high resolution PWM module (EHRPWM) hardware can be used to
generate PWM output over 2 channels. This commit adds PWM driver support
for EHRPWM device present on AM33XX SOC. Current implementation supports
simple 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>
  • Loading branch information
Philip, Avinash authored and Thierry Reding committed Jul 26, 2012
1 parent 8e0cb05 commit 19891b2
Show file tree
Hide file tree
Showing 3 changed files with 422 additions and 0 deletions.
10 changes: 10 additions & 0 deletions drivers/pwm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,16 @@ config PWM_TIECAP
To compile this driver as a module, choose M here: the module
will be called pwm-tiecap.

config PWM_TIEHRPWM
tristate "EHRPWM PWM support"
depends on SOC_AM33XX
help
PWM driver support for the EHRPWM controller found on AM33XX
TI SOC

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

config PWM_VT8500
tristate "vt8500 pwm support"
depends on ARCH_VT8500
Expand Down
1 change: 1 addition & 0 deletions drivers/pwm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ obj-$(CONFIG_PWM_PXA) += pwm-pxa.o
obj-$(CONFIG_PWM_SAMSUNG) += pwm-samsung.o
obj-$(CONFIG_PWM_TEGRA) += pwm-tegra.o
obj-$(CONFIG_PWM_TIECAP) += pwm-tiecap.o
obj-$(CONFIG_PWM_TIEHRPWM) += pwm-tiehrpwm.o
obj-$(CONFIG_PWM_VT8500) += pwm-vt8500.o
Loading

0 comments on commit 19891b2

Please sign in to comment.