[PATCH v1 0/5] pwm: tiecap: Assorted fixes and improvements
From: Uwe Kleine-König
Date: Fri Nov 27 2026 - 12:40:14 EST
Hello,
while looking into the driver for the review of
https://lore.kernel.org/linux-pwm/20261116142251.1296742-1-maximpedraza@xxxxxxxxx/
I discovered the patch opportunies taken in this series.
I didn't mark the 2nd patch as a fix as it might result in power
regressions during suspend as the clock is kept enabled there. So it
would be awesome if someone with the hardware could test that.
Best regards
Uwe
Uwe Kleine-König (5):
pwm: tiecap: Fix type of variable holding clock rate
pwm: tiecap: Ensure the input clock is enabled
pwm: tiecap: Use dev_err_probe() for error handling in .probe()
pwm: tiecap: Make sure the input clock doesn't change rate
pwm: tiecap: Improve period calculation around overflow handling
drivers/pwm/pwm-tiecap.c | 94 ++++++++++++++++++++++------------------
1 file changed, 51 insertions(+), 43 deletions(-)
base-commit: 8c35f759bca417ab337f3c383be2d0a001a5ab25
--
2.47.3