]> git.baikalelectronics.ru Git - uboot.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)
commit9894d73147f9c4901b566915c9156042219e3065
treea03d589a6bd6b3a7fea44e987aedbde58365e00a
parentfd6328abbbc904d72759c15ca18ce38145357c7d
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]