Skip to content

Commit 19891b2

Browse files
avinashphilipThierry Reding
authored andcommitted
pwm: pwm-tiehrpwm: PWM driver support for EHRPWM
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 <[email protected]> Signed-off-by: Philip, Avinash <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
1 parent 8e0cb05 commit 19891b2

File tree

3 files changed

+422
-0
lines changed

3 files changed

+422
-0
lines changed

drivers/pwm/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,16 @@ config PWM_TIECAP
8686
To compile this driver as a module, choose M here: the module
8787
will be called pwm-tiecap.
8888

89+
config PWM_TIEHRPWM
90+
tristate "EHRPWM PWM support"
91+
depends on SOC_AM33XX
92+
help
93+
PWM driver support for the EHRPWM controller found on AM33XX
94+
TI SOC
95+
96+
To compile this driver as a module, choose M here: the module
97+
will be called pwm-tiehrpwm.
98+
8999
config PWM_VT8500
90100
tristate "vt8500 pwm support"
91101
depends on ARCH_VT8500

drivers/pwm/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ obj-$(CONFIG_PWM_PXA) += pwm-pxa.o
77
obj-$(CONFIG_PWM_SAMSUNG) += pwm-samsung.o
88
obj-$(CONFIG_PWM_TEGRA) += pwm-tegra.o
99
obj-$(CONFIG_PWM_TIECAP) += pwm-tiecap.o
10+
obj-$(CONFIG_PWM_TIEHRPWM) += pwm-tiehrpwm.o
1011
obj-$(CONFIG_PWM_VT8500) += pwm-vt8500.o

0 commit comments

Comments
 (0)