]> git.dujemihanovic.xyz Git - u-boot.git/commit
pwm: ti: am33xx: add enhanced pwm driver
authorDario Binacchi <dariobin@libero.it>
Tue, 29 Dec 2020 23:16:24 +0000 (00:16 +0100)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 12 Jan 2021 05:28:05 +0000 (10:58 +0530)
commitade7f0d00e598387fe67475d54511df4fe25d83f
treea03d589a6bd6b3a7fea44e987aedbde58365e00a
parent8322fdcedfa44dd22eab07c2dc32f0b3b02ec797
pwm: ti: am33xx: add enhanced pwm driver

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.

The code is based on the drivers/pwm/pwm-tiehrpwm.c driver of the Linux
kernel version 5.9-rc7.
For DT binding details see:
- Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt

Signed-off-by: Dario Binacchi <dariobin@libero.it>
drivers/pwm/Kconfig
drivers/pwm/Makefile
drivers/pwm/pwm-ti-ehrpwm.c [new file with mode: 0644]