[PATCH 0/3] pwm: stm32: Some improvements
Uwe Kleine-König
u.kleine-koenig at pengutronix.de
Sun Mar 17 14:52:13 PDT 2024
Hello,
while working on the character device support on an stm32mp157 I
identified a few bugs / shortcomings in the stm32 pwm driver. These are
fixed here.
I based this series on top of pwm/for-next
+ https://lore.kernel.org/linux-pwm/20240315145443.982807-2-u.kleine-koenig@pengutronix.de
+ a cherry-pick of commit b0cde62e4c54 ("clk: Add a devm variant of clk_rate_exclusive_get()")
Best regards
Uwe
Uwe Kleine-König (3):
pwm: stm32: Improve precision of calculation in .apply()
pwm: stm32: Fix for settings using period > UINT32_MAX
pwm: stm32: Calculate prescaler with a division instead of a loop
drivers/pwm/pwm-stm32.c | 51 +++++++++++++++++++++++++++--------------
1 file changed, 34 insertions(+), 17 deletions(-)
base-commit: dd6c6d57ab61d496f6ff7d6ca38611062af142a1
prerequisite-patch-id: 91e339ba6f6870e208f5d7beef4cfd59e81e7c95
prerequisite-patch-id: 733e7061c2d9b5ba2202fed4ecee4b070d423368
--
2.43.0
More information about the linux-arm-kernel
mailing list