[GIT PULL] pwm: Changes for 6.11-rc1

From: Uwe Kleine-König
Date: Sun Jul 14 2024 - 19:56:15 EST


Hello Linus,

the following changes since commit f01af3022d4a46362c5dda3d35dea939f3246d10:

pwm: stm32: Fix error message to not describe the previous error path (2024-06-22 16:13:19 +0200)

that is part of v6.10-rc5 are available in the Git repository at:

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

for you to fetch changes up to 240b129d597cb8a8880eb3a381ff10eb98ca0c07:

pwm: axi-pwmgen: add .max_register to regmap (2024-07-11 15:44:40 +0200)

Summary of the changes and shortlog below. Please pull these changes for
v6.11-rc1.

Best regards
Uwe

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

This contains the usual mix of fixes, cleanups, two new drivers and
several dt binding updates. The fixes are for minor issues that are
already old (4.11-rc1 and 3.9-rc1) and were found by code review and not
during usage, so I didn't sent them for earlier inclusion.

The changes to include/linux/mfd/stm32-timers.h and
drivers/counter/stm32-timer-cnt.c are part of an immutable branch that
will also be included in the mfd and counter PR. It changes some
register definitions and affects the pwm-stm32 driver.

Thanks go to Andy Shevchenko, AngeloGioacchino Del Regno, Conor Dooley,
David Lechner, Dhruva Gole, Drew Fustini, Frank Li, Jeff Johnson, Junyi
Zhao, Kelvin Zhang, Krzysztof Kozlowski, Lee Jones, Linus Walleij, Linus
Walleij, Michael Hennerich, Nicola Di Lieto, Nicolas Ferre, Nuno Sa,
Paul Cercueil, Raag Jadav, Rob Herring, Sean Anderson, Sean Young,
Shenwei Wang, Stefan Wahren, Trevor Gamblin, Tzung-Bi Shih, Vincent
Whitchurch and William Breathitt Gray for their contributions to this
pull request; they authored changes, spend time reviewing changes and
coordinated the above mentioned immutable branch.

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

Conor Dooley (1):
dt-bindings: pwm: describe the cells in #pwm-cells in pwm.yaml

Drew Fustini (2):
dt-bindings: pwm: Add AXI PWM generator
pwm: Add driver for AXI PWM generator

Frank Li (2):
dt-bindings: pwm: fsl-ftm: Convert to yaml format
dt-bindings: pwm: imx: remove interrupt property from required

Jeff Johnson (1):
pwm: add missing MODULE_DESCRIPTION() macros

Junyi Zhao (1):
pwm: meson: Add support for Amlogic S4 PWM

Nicola Di Lieto (1):
dt-bindings: pwm: Add pwm-gpio

Nicolas Ferre (1):
dt-bindings: pwm: at91: Add sama7d65 compatible string

Raag Jadav (2):
pwm: lpss: use devm_pm_runtime_enable() helper
pwm: lpss: drop redundant runtime PM handles

Sean Young (1):
bus: ts-nbus: Use pwm_apply_might_sleep()

Shenwei Wang (1):
pwm: imx-tpm: Enable pinctrl setting for sleep state

Trevor Gamblin (1):
pwm: axi-pwmgen: add .max_register to regmap

Uwe Kleine-König (24):
mfd: stm32-timers: Unify alignment of register definition
mfd: stm32-timers: Add some register definitions with a parameter
counter: stm32-timer-cnt: Use TIM_DIER_CCxIE(x) instead of TIM_DIER_CCxIE(x)
mfd: stm32-timers: Drop unused TIM_DIER_CC_IE
pwm: stm32: Always do lazy disabling
pwm: atmel-tcb: Fix race condition and convert to guards
pwm: jz4740: Another few conversions to regmap_{set,clear}_bits()
pwm: axi-pwmgen: Make use of regmap_clear_bits()
pwm: Make use of a symbol namespace for the core
pwm: cros-ec: Don't care about consumers in .get_state()
pwm: cros-ec: Simplify device tree xlation
pwm: Make pwm_request_from_chip() private to the core
pwm: Remove wrong implementation details from pwm_ops's documentation
pwm: Drop pwm_apply_state()
Merge tag 'ib-mfd-counter-v5.11' of https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd into HEAD
pwm-stm32: Make use of parametrised register definitions
pwm: Register debugfs operations after the pwm class
pwm: Use guards for pwm_lock instead of explicity mutex_lock + mutex_unlock
pwm: Use guards for export->lock instead of explicity mutex_lock + mutex_unlock
pwm: Use guards for pwm_lookup_lock instead of explicity mutex_lock + mutex_unlock
pwm: xilinx: Simplify using devm_ functions
pwm: Allow pwm state transitions from an invalid state
pwm: atmel-tcb: Simplify checking the companion output
pwm: atmel-tcb: Make private data variable naming consistent

Vincent Whitchurch (1):
pwm: Add GPIO PWM driver

.../devicetree/bindings/pwm/adi,axi-pwmgen.yaml | 48 ++++
.../devicetree/bindings/pwm/atmel,at91sam-pwm.yaml | 4 +-
.../devicetree/bindings/pwm/fsl,vf610-ftm-pwm.yaml | 92 ++++++++
Documentation/devicetree/bindings/pwm/imx-pwm.yaml | 1 -
.../devicetree/bindings/pwm/pwm-fsl-ftm.txt | 55 -----
.../devicetree/bindings/pwm/pwm-gpio.yaml | 46 ++++
Documentation/devicetree/bindings/pwm/pwm.yaml | 6 +-
Documentation/driver-api/gpio/drivers-on-gpio.rst | 7 +-
MAINTAINERS | 9 +
drivers/bus/ts-nbus.c | 2 +-
drivers/counter/stm32-timer-cnt.c | 4 +-
drivers/pwm/Kconfig | 24 ++
drivers/pwm/Makefile | 2 +
drivers/pwm/core.c | 187 ++++++++--------
drivers/pwm/pwm-atmel-tcb.c | 113 +++++-----
drivers/pwm/pwm-axi-pwmgen.c | 242 +++++++++++++++++++++
drivers/pwm/pwm-cros-ec.c | 64 +-----
drivers/pwm/pwm-gpio.c | 241 ++++++++++++++++++++
drivers/pwm/pwm-imx-tpm.c | 16 +-
drivers/pwm/pwm-imx1.c | 1 +
drivers/pwm/pwm-imx27.c | 1 +
drivers/pwm/pwm-intel-lgm.c | 1 +
drivers/pwm/pwm-jz4740.c | 9 +-
drivers/pwm/pwm-lpss-pci.c | 22 --
drivers/pwm/pwm-lpss-platform.c | 10 +-
drivers/pwm/pwm-mediatek.c | 1 +
drivers/pwm/pwm-meson.c | 39 ++++
drivers/pwm/pwm-pxa.c | 1 +
drivers/pwm/pwm-samsung.c | 1 +
drivers/pwm/pwm-spear.c | 1 +
drivers/pwm/pwm-stm32.c | 27 +--
drivers/pwm/pwm-visconti.c | 1 +
drivers/pwm/pwm-xilinx.c | 27 +--
include/linux/mfd/stm32-timers.h | 179 +++++++--------
include/linux/pwm.h | 26 +--
35 files changed, 1068 insertions(+), 442 deletions(-)
create mode 100644 Documentation/devicetree/bindings/pwm/adi,axi-pwmgen.yaml
create mode 100644 Documentation/devicetree/bindings/pwm/fsl,vf610-ftm-pwm.yaml
delete mode 100644 Documentation/devicetree/bindings/pwm/pwm-fsl-ftm.txt
create mode 100644 Documentation/devicetree/bindings/pwm/pwm-gpio.yaml
create mode 100644 drivers/pwm/pwm-axi-pwmgen.c
create mode 100644 drivers/pwm/pwm-gpio.c

Attachment: signature.asc
Description: PGP signature