[GIT PULL] pwm: Changes for v6.18-rc1

From: Uwe Kleine-König

Date: Mon Sep 29 2025 - 01:41:42 EST


Hello Linus,

the following changes since commit 8f5ae30d69d7543eee0d70083daf4de8fe15d585:

Linux 6.17-rc1 (2025-08-10 19:41:16 +0300)

are available in the Git repository at:

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

for you to fetch changes up to 8f2689f194b8d1bff41150ae316abdfccf191309:

pwm: cros-ec: Avoid -Wflex-array-member-not-at-end warnings (2025-09-15 11:39:47 +0200)

----------------------------------------------------------------
pwm: Changes for v6.18-rc1

The core highlights for this cycle are:

- The pca9586 driver was converted to the waveform API.
- Waveform drivers automatically provide a gpio chip to make PWMs
usable as GPIOs. (The pca9586 driver did that in a driver specific
implementation before.)

Otherwise it's the usual mix of fixes and device tree and driver changes
to support new hardware variants.

----------------------------------------------------------------

There is an immutable branch pending for this merge window that was
created by Lee at

git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git ib-mfd-gpio-input-pinctrl-pwm-v6.18

. I didn't add it here because it merges cleanly into my tree; you'll get
it via Lee's PR and probably others, too. (For the next time such a
situation arises: Would you prefer me including such a merge anyhow?)

Otherwise this PR should be boring for you
(https://www.youtube.com/watch?v=V_ioxeU7Kpw). Diffstat below as usual.

Thanks to all contributors!

Best regards
Uwe

Colin Ian King (1):
pwm: Fix incorrect variable used in error message

Daniel Lezcano (1):
dt-bindings: pwm: fsl,vf610-ftm-pwm: Add compatible for s32g2 and s32g3

Ghennadi Procopciuc (1):
pwm: Add the S32G support in the Freescale FTM driver

Gustavo A. R. Silva (1):
pwm: cros-ec: Avoid -Wflex-array-member-not-at-end warnings

Ivaylo Ivanov (1):
dt-bindings: pwm: samsung: add exynos8890 compatible

Janne Grunau (1):
dt-bindings: pwm: apple,s5l-fpwm: Add t6020-fpwm compatible

Jisheng Zhang (1):
pwm: berlin: Fix wrong register in suspend/resume

Krzysztof Kozlowski (1):
dt-bindings: pwm: nxp,lpc1850-sct-pwm: Minor whitespace cleanup in example

Uwe Kleine-König (21):
pwm: tiehrpwm: Don't drop runtime PM reference in .free()
pwm: tiehrpwm: Make code comment in .free() more useful
pwm: tiehrpwm: Fix various off-by-one errors in duty-cycle calculation
pwm: tiehrpwm: Fix corner case in clock divisor calculation
dt-bindings: timer: renesas,rz-mtu3: Use #pwm-cells = <3>
pwm: Disable PWM_DEBUG check for disabled states
pwm: Check actual period and duty_cycle for ignored polarity test
pwm: Provide a gpio device for waveform drivers
pwm: tiecap: Document behaviour of hardware disable
pwm: mediatek: Simplify representation of channel offsets
pwm: mediatek: Introduce and use a few more register defines
pwm: mediatek: Rework parameters for clk helper function
pwm: mediatek: Initialize clks when the hardware is enabled at probe time
pwm: mediatek: Implement .get_state() callback
pwm: mediatek: Fix various issues in the .apply() callback
pwm: mediatek: Lock and cache clock rate
pwm: pca9685: Don't disable hardware in .free()
pwm: pca9685: Use bulk write to atomicially update registers
pwm: pca9685: Make use of register caching in regmap
pwm: pca9685: Drop GPIO support
pwm: pca9586: Convert to waveform API

Xi Ruoyao (1):
pwm: loongson: Fix LOONGSON_PWM_FREQ_DEFAULT

.../devicetree/bindings/pwm/apple,s5l-fpwm.yaml | 3 +-
.../devicetree/bindings/pwm/fsl,vf610-ftm-pwm.yaml | 11 +-
.../bindings/pwm/nxp,lpc1850-sct-pwm.yaml | 2 +-
.../devicetree/bindings/pwm/pwm-samsung.yaml | 1 +
.../devicetree/bindings/timer/renesas,rz-mtu3.yaml | 7 +-
drivers/pwm/Kconfig | 9 +
drivers/pwm/core.c | 108 +++-
drivers/pwm/pwm-berlin.c | 4 +-
drivers/pwm/pwm-cros-ec.c | 10 +-
drivers/pwm/pwm-fsl-ftm.c | 35 +-
drivers/pwm/pwm-loongson.c | 2 +-
drivers/pwm/pwm-mediatek.c | 312 ++++++++----
drivers/pwm/pwm-pca9685.c | 555 +++++++++------------
drivers/pwm/pwm-tiecap.c | 4 +
drivers/pwm/pwm-tiehrpwm.c | 154 +++---
include/linux/pwm.h | 3 +
16 files changed, 683 insertions(+), 537 deletions(-)

Attachment: signature.asc
Description: PGP signature