pwm: ti: am33xx: Enable Auxiliary PWM using eCAP
authorSukrut Bellary <sbellary@baylibre.com>
Fri, 30 May 2025 21:22:30 +0000 (14:22 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 12 Jun 2025 22:26:56 +0000 (16:26 -0600)
commit1bf82082b9e4f079adaffc1dcee5306b082dc760
tree76de5cca23b0596bb5e89e7b285377531a21d168
parent37195f84133da33388fe65cb2b141c1c84635b52
pwm: ti: am33xx: Enable Auxiliary PWM using eCAP

In am33xx SoC[1], enhanced capture (eCAP) supports auxiliary PWM (APWM).
This series adds the PWM driver support for the APWM feature for eCAP on
AM33xx.

eCAP HW also supports the capture mode. Currently, this driver only
supports APWM.

This is based on the Linux kernel driver -> drivers/pwm/pwm-tiecap.c
Version: v6.12

Tested on AM335x EVM[2].

[1] AM335x TRM - https://www.ti.com/lit/ug/spruh73q/spruh73q.pdf
[2] AM335x EVM - https://www.ti.com/tool/TMDXEVM3358

Signed-off-by: Sukrut Bellary <sbellary@baylibre.com>
drivers/pwm/Kconfig
drivers/pwm/Makefile
drivers/pwm/pwm-tiecap.c [new file with mode: 0644]