[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <karzhndxysg5whnrp5pby3ulvmircl76a7dkcbinkdyuyx5flg@6al4vimzwjhc>
Date: Mon, 18 Nov 2024 11:06:12 +0100
From: Uwe Kleine-König <u.kleine-koenig@...libre.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org, linux-pwm@...r.kernel.org,
Jonathan Cameron <jic23@...nel.org>, linux-iio@...r.kernel.org
Subject: [GIT PULL] pwm: Changes for 6.13-rc1
Hello Linus,
The following changes since commit 517fb4d77c44c7519ae6937329c496894461f416:
MAINTAINERS: add self as reviewer for AXI PWM GENERATOR (2024-10-25 11:31:17 +0200)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git tags/pwm/for-6.13-rc1
for you to fetch changes up to b2eaa1170e45dc18eb09dcc9abafbe9a7502e960:
pwm: Assume a disabled PWM to emit a constant inactive output (2024-11-07 12:03:39 +0100)
----------------------------------------------------------------
pwm: Changes for v6.13-rc1
This pull request prominently contains a new abstraction for PWM
waveforms that is more expressive that the legacy one. Compared to the
old abstraction it contains a duty_offset member instead of polarity.
This new abstraction is already used in an ADC driver merged into the
iio tree. So I expect you will get a part of this tree also via the iio
pull request for 6.13-rc1 (tag pwm/duty_offset-for-6.13-rc1).
Otherwise it's the usual collection of fixes, cleanups and dt doc
updates.
This time around thanks go to Andy Shevchenko, Clark Wang, Conor Dooley,
David Lechner, Dimitri Fedrau, Frank Li, Jun Li, Kelvin Zhang, Krzysztof
Kozlowski, Nuno Sa, Shen Lichuan and Trevor Gamblin for code
contributions, testing and review.
----------------------------------------------------------------
The new API requires changes to the lowlevel drivers. For now there are
two drivers that are converted to the new API (axi-pwmgen and stm32).
Converted drivers continue to work with the old API. Drivers not yet
converted only work with the older API.
Please pull these changes for 6.13-rc1.
Thanks
Uwe
Andy Shevchenko (1):
pwm: core: use device_match_name() instead of strcmp(dev_name(...
Clark Wang (1):
pwm: imx27: Workaround of the pwm output bug when decrease the duty cycle
David Lechner (3):
pwm: axi-pwmgen: Rename 0x10 register
pwm: axi-pwmgen: Enable FORCE_ALIGN by default
pwm: core: export pwm_get_state_hw()
Frank Li (1):
pwm: imx27: Use clk_bulk_*() API to simplify clock handling
Kelvin Zhang (1):
dt-bindings: pwm: amlogic: Document C3 PWM
Shen Lichuan (1):
pwm: atmel-tcb: Use min() macro
Uwe Kleine-König (13):
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
pwm: axi-pwmgen: Create a dedicated function for getting driver data from a chip
Merge tag 'pwm/duty_offset-for-6.13-rc1' of https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux
dt-bindings: pwm: adi,axi-pwmgen: Increase #pwm-cells to 3
pwm: Assume a disabled PWM to emit a constant inactive output
.../devicetree/bindings/pwm/adi,axi-pwmgen.yaml | 4 +-
.../devicetree/bindings/pwm/pwm-amlogic.yaml | 1 +
drivers/pwm/core.c | 885 +++++++++++++++++----
drivers/pwm/pwm-atmel-tcb.c | 4 +-
drivers/pwm/pwm-axi-pwmgen.c | 199 +++--
drivers/pwm/pwm-imx27.c | 161 +++-
drivers/pwm/pwm-stm32.c | 612 +++++++++-----
include/linux/pwm.h | 66 +-
include/trace/events/pwm.h | 134 +++-
9 files changed, 1571 insertions(+), 495 deletions(-)
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists