Skip to content

pwm: Some fixes preparing chardev support

Uwe Kleine-König linux-arm-kernel linux-pwm lkml llvm oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6pwm: Let pwm_set_waveform() succeed even if lowlevel driver rounded updrivers/pwm/core.c+7 -61 reply
2/6pwm: stm32: Search an appropriate duty_cycle if period cannot be modifieddrivers/pwm/pwm-stm32.c+3 -90 replies
3/6pwm: stm32: Don't open-code TIM_CCER_CCxE()drivers/pwm/pwm-stm32.c+1 -10 replies
4/6pwm: stm32: Emit debug output also for corner cases of the rounding callbacksdrivers/pwm/pwm-stm32.c+5 -60 replies
5/6pwm: axi-pwmgen: Let .round_waveform_tohw() signal when request was rounded updrivers/pwm/pwm-axi-pwmgen.c+7 -31 reply
6/6pwm: Do stricter return value checking for .round_waveform_tohw()drivers/pwm/core.c+6 -60 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by.

PatchTrevor Gamblin
1/6T-b
2/6
3/6
4/6
5/6T-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] pwm: Some fixes preparing chardev support

Hello,

while working on character device support for PWMs I found a few inconsistencies that are fixed in this series. After that I plan to work on getting the character device support into shape to get it into mainline, too.

While some of these patches qualify as fixes I think there is no urge to get them into 6.15, but given there is a bunch of such changes I might send them to all together to Linus for inclusion to 6.15.

Best regards
Uwe

Uwe Kleine-König (6):
pwm: Let pwm_set_waveform() succeed even if lowlevel driver rounded up
pwm: stm32: Search an appropriate duty_cycle if period cannot be
modified
pwm: stm32: Don't open-code TIM_CCER_CCxE()
pwm: stm32: Emit debug output also for corner cases of the rounding
callbacks
pwm: axi-pwmgen: Let .round_waveform_tohw() signal when request was
rounded up
pwm: Do stricter return value checking for .round_waveform_tohw()

 drivers/pwm/core.c           | 23 ++++++++++++-----------
 drivers/pwm/pwm-axi-pwmgen.c | 10 +++++++---
 drivers/pwm/pwm-stm32.c      | 25 +++++++++----------------
 3 files changed, 28 insertions(+), 30 deletions(-)

base-commit: e48e99b6edf41c69c5528aa7ffb2daf3c59ee105

Signature · 1 line
2.47.2