pwm: stm32: add driver to support pwm with timer
authorCheick Traore <cheick.traore@foss.st.com>
Tue, 11 Mar 2025 14:30:35 +0000 (15:30 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Wed, 12 Mar 2025 15:39:39 +0000 (16:39 +0100)
commitbe5523d38296a3c8bd7b6c0d64db6b953e95b770
tree399c42c72ad3190ff0d027aa45764d3ff1b21ec1
parent17d57b74948c1061793b197e28c0dffec74d2d85
pwm: stm32: add driver to support pwm with timer

Add driver to support pwm on STM32MP1X SoCs. The PWM signal is generated
using a multifuntion timer which provide a pwm feature. Clock rate and
addresses are retrieved from the multifunction timer driver.

Signed-off-by: Cheick Traore <cheick.traore@foss.st.com>
Reviewed-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
drivers/pwm/Kconfig
drivers/pwm/Makefile
drivers/pwm/pwm-stm32.c [new file with mode: 0644]