[GIT PULL] pwm: Changes for v5.20-rc1
From: Thierry Reding
Date: Fri Jul 29 2022 - 12:21:05 EST
Hi Linus,
The following changes since commit f2906aa863381afb0015a9eb7fefad885d4e5a56:
Linux 5.19-rc1 (2022-06-05 17:18:54 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm.git tags/pwm/for-5.20-rc1
for you to fetch changes up to 8933d30c5f468d6cc1e4bf9bb535149da35f202e:
pwm: lpc18xx: Fix period handling (2022-07-29 13:41:18 +0200)
Thanks,
Thierry
----------------------------------------------------------------
pwm: Changes for v5.20-rc1
After v5.19 had all drivers converted to the new atomic API and nobody
has reported any breakage, this set of changes starts by dropping the
legacy support.
Some existing drivers get improvements and broader chip support and a
new driver is added that emulates a PWM controller using a clock output.
Other than that there's the usual bits of cleanups and minor fixes.
----------------------------------------------------------------
Fabien Parent (3):
dt-bindings: pwm: Add MT8365 SoC binding
pwm: mediatek: Add MT8365 support
dt-bindings: pwm: mediatek: Add compatible string for MT8195
Julia Lawall (1):
pwm: atmel-tcb: Fix typo in comment
Lee Jones (1):
MAINTAINERS: Remove myself as PWM maintainer
Lukas Bulwahn (1):
MAINTAINERS: Add include/dt-bindings/pwm to PWM SUBSYSTEM
Nikita Travkin (2):
dt-bindings: pwm: Document clk based PWM controller
pwm: Add clock based PWM output driver
Uwe Kleine-König (13):
pwm: Drop support for legacy drivers
pwm: Reorder header file to get rid of struct pwm_capture forward declaration
pwm: Drop unused forward declaration from pwm.h
pwm: sifive: Simplify offset calculation for PWMCMP registers
pwm: sifive: Fold pwm_sifive_enable() into its only caller
pwm: sifive: Reduce time the controller lock is held
pwm: sifive: Enable clk only after period check in .apply()
pwm: sifive: Simplify clk handling
pwm: sifive: Ensure the clk is enabled exactly once per running PWM
pwm: sifive: Shut down hardware only after pwmchip_remove() completed
pwm: twl-led: Document some limitations and link to the reference manual
pwm: lpc18xx: Convert to use dev_err_probe()
pwm: lpc18xx: Fix period handling
Documentation/devicetree/bindings/pwm/clk-pwm.yaml | 46 +++++++
.../devicetree/bindings/pwm/pwm-mediatek.txt | 3 +
MAINTAINERS | 2 +-
drivers/pwm/Kconfig | 10 ++
drivers/pwm/Makefile | 1 +
drivers/pwm/core.c | 82 +-----------
drivers/pwm/pwm-atmel-tcb.c | 2 +-
drivers/pwm/pwm-clk.c | 148 +++++++++++++++++++++
drivers/pwm/pwm-lpc18xx-sct.c | 67 ++++++----
drivers/pwm/pwm-mediatek.c | 7 +
drivers/pwm/pwm-sifive.c | 117 ++++++++--------
drivers/pwm/pwm-twl-led.c | 16 +++
include/linux/pwm.h | 35 ++---
13 files changed, 349 insertions(+), 187 deletions(-)
create mode 100644 Documentation/devicetree/bindings/pwm/clk-pwm.yaml
create mode 100644 drivers/pwm/pwm-clk.c