mbox series

[git,PULL] pwm: Support for duty_offset for iio

Message ID 7p2rd2634e5ucqc2xub5sibreezblsynvssqvyjlgloolsoy5i@avm2tq37ybmv (mailing list archive)
State Accepted
Headers show
Series [git,PULL] pwm: Support for duty_offset for iio | expand

Pull-request

https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git tags/pwm/duty_offset-for-6.13-rc1

Message

Uwe Kleine-König Oct. 7, 2024, 6:39 a.m. UTC
Hello Jonathan,

The following changes since commit d242feaf81d63b25d8c1fb1a68738dc33966a376:

  pwm: stm32: Fix a typo (2024-09-16 15:24:59 +0200)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git tags/pwm/duty_offset-for-6.13-rc1

for you to fetch changes up to 9c918959e198d25bd3d55068331312812406dec2:

  pwm: stm32: Fix error checking for a regmap_read() call (2024-10-04 19:03:12 +0200)

The base is contained in v6.12-rc1. The head will be part of my pull
request to Linus for the next merge window. If you pull that into your
tree, you can apply Trevor's series for the ad7625.

The tag contains two fixes on top of the original series that cure a few
warnings. The commits were in next a few days now without further
reported fall-outs, so it should be reasonably safe for you to pull it
into your tree.

----------------------------------------------------------------
pwm: Support for duty_offset

Support a new abstraction for pwm configuration that allows to specify
the time between start of period and the raising edge of the signal
("duty offset").

This is used in a patch series by Trevor Gamblin for triggering an ADC
conversion and afterwards read out the result. See
https://lore.kernel.org/linux-iio/20240909-ad7625_r1-v5-0-60a397768b25@baylibre.com/
for more details.

----------------------------------------------------------------
Uwe Kleine-König (9):
      pwm: Add more locking
      pwm: New abstraction for PWM waveforms
      pwm: Provide new consumer API functions for waveforms
      pwm: Add tracing for waveform callbacks
      pwm: axi-pwmgen: Implementation of the waveform callbacks
      pwm: stm32: Implementation of the waveform callbacks
      pwm: Reorder symbols in core.c
      pwm: Add kernel doc for members added to pwm_ops recently
      pwm: stm32: Fix error checking for a regmap_read() call

 drivers/pwm/core.c           | 857 +++++++++++++++++++++++++++++++++++--------
 drivers/pwm/pwm-axi-pwmgen.c | 154 +++++---
 drivers/pwm/pwm-stm32.c      | 612 +++++++++++++++++++-----------
 include/linux/pwm.h          |  60 ++-
 include/trace/events/pwm.h   | 134 ++++++-
 5 files changed, 1389 insertions(+), 428 deletions(-)