aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-stm32-lp.c
diff options
context:
space:
mode:
authorFabrice Gasnier <[email protected]>2025-04-29 12:51:29 +0000
committerLee Jones <[email protected]>2025-05-13 10:13:02 +0000
commit5414bc8c57c41038b1994cd21a2cc0b8415c1544 (patch)
tree9b62f4dec9b924e7831100d6b2400ad2aa2f6825 /drivers/pwm/pwm-stm32-lp.c
parentmfd: stm32-lptimer: Add support for stm32mp25 (diff)
downloadkernel-5414bc8c57c41038b1994cd21a2cc0b8415c1544.tar.gz
kernel-5414bc8c57c41038b1994cd21a2cc0b8415c1544.zip
clocksource/drivers/stm32-lptimer: Add support for stm32mp25
On stm32mp25, DIER (former IER) must only be modified when the lptimer is enabled. On earlier SoCs, it must be only be modified when it is disabled. There's also a new DIEROK flag, to ensure register access has completed. Add a new "set_evt" routine to be used on stm32mp25, called depending on the version register, read by the MFD core (LPTIM_VERR). Signed-off-by: Patrick Delaunay <[email protected]> Signed-off-by: Fabrice Gasnier <[email protected]> Acked-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-stm32-lp.c')
0 files changed, 0 insertions, 0 deletions