summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-stm32.c
diff options
context:
space:
mode:
authorCheick Traore <cheick.traore@foss.st.com>2025-06-20 17:49:58 +0200
committerPatrice Chotard <patrice.chotard@foss.st.com>2025-07-29 16:44:58 +0200
commit8e1fafb807dcc4304fc703a00bde034a2c1bbdbf (patch)
tree85dd41bee3ecf8e2eaeeeb8779f08cb16629d91a /drivers/pwm/pwm-stm32.c
parent182cb30084516c3085d2ca5dde3f105f7625d774 (diff)
arm: stm32mp2: add multifunction timer support for stm32mp25
Add support for STM32MP25 SoC. Identification and hardware configuration registers allow to read the timer version and capabilities (counter width, ...). So, rework the probe to avoid touching ARR register by simply read the counter width when available. This may avoid messing with a possibly running timer. Also add useful bit fields to stm32-timers header file. Signed-off-by: Cheick Traore <cheick.traore@foss.st.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions