mach-stm32: add multifunction timer driver support
authorCheick Traore <cheick.traore@foss.st.com>
Tue, 11 Mar 2025 14:30:34 +0000 (15:30 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Wed, 12 Mar 2025 15:39:15 +0000 (16:39 +0100)
commit17d57b74948c1061793b197e28c0dffec74d2d85
tree68e49fcec80f664983634be5abf369fcc56ed0aa
parent19585f3da6227064f7c44fa3bea8f77f71d70eb4
mach-stm32: add multifunction timer driver support

Add support for STM32MP timer multi-function driver.
These timers can be use as counter, trigger or pwm generator.
This driver will be used to manage the main resources of the timer to
provide them to the functionnalities which need these ones.

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>
arch/arm/mach-stm32mp/Kconfig
arch/arm/mach-stm32mp/Makefile
arch/arm/mach-stm32mp/include/mach/timers.h [new file with mode: 0644]
arch/arm/mach-stm32mp/timers.c [new file with mode: 0644]