linux/drivers/pwm
Linus Torvalds d5f7411411 gpio updates for v6.18-rc1
GPIO core:
 - add support for sparse pin ranges to the glue between GPIO and pinctrl
 - use a common prefix across all GPIO descriptor flags for improved
   namespacing
 
 New drivers:
 - add new GPIO driver for the Nuvoton NCT6694
 - add new GPIO driver for MAX7360
 
 Driver improvements:
 - add support for Tegra 256 to the gpio-tegra186 driver
 - add support for Loongson-2K0300 to the gpio-loongson-64bit driver
 - refactor the gpio-aggregator module to expose its GPIO forwarder API
   to other in-kernel users (to enable merging of a new pinctrl driver
   that uses it)
 - convert all remaining drivers to using the modernized generic GPIO chip
   API and remove the old interface
 - stop displaying global GPIO numbers in debugfs output of controller
   drivers
 - extend the gpio-regmap helper with a new config option and improve its
   support for GPIO interrupts
 - remove redundant fast_io parameter from regmap configs in GPIO drivers
   that already use MMIO regmaps which imply it
 - add support for a new model in gpio-mmio: ixp4xx expansion bus
 - order includes alphabetically in a few drivers for better readability
 - use generic device properties where applicable
 - use devm_mutex_init() where applicable
 - extend build coverage of drivers by enabling more to be compiled with
   COMPILE_TEST enabled
 - allow building gpio-stmpe as a module
 - use dev_err_probe() where it makes sense in drivers
 
 Late driver fixes:
 - fix setting GPIO direction to output in gpio-mpfs
 
 Documentation:
 - document the usage of software nodes with GPIO chips
 
 Device-tree bindings:
 - Add DT bindings documents for new hardware: Tegra256, MAX7360
 - Document a new model in Loongson bindings: LS2K0300
 - Document a new model using the generic GPIO binding: IXP4xx
 - Convert the DT binding for fsl,mxs-pinctrl to YAML
 - fix the schema ID in the "trivial" GPIO schema
 - describe GPIO hogs in the generic GPIO binding
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEFp3rbAvDxGAT0sefEacuoBRx13IFAmjaTpAACgkQEacuoBRx
 13Iqwg//bcAxAcYGsEzMqcid9ugu+1KFiULWhgIYi4PBeX72UR7ZtSbzQ+hwTY68
 Vs1W7eoeaglHwd46K/oXEBsnOvot/gQBjuw4QmYbO6viDWY9OuU81xppgAyw4IEx
 wBmPiRVHHRNhcAA9/lu5OkFSWeeBNqcUkWlGgyUzsIIpQnadBRYXga+qFW9mq4m5
 FMSCagsNP0tnRG4ae1Ek8SAbi3BiKaC/bpxukLVvv6Ma6CUktN2d49gW24h9NbKi
 clflMVWgWgZBgYVk7Nmz5IQwYtvQz2M3y4Mb4VsuSWXWKRjX+gJb0knmq1fa8SEn
 lx1MyhSgkpdtUx/bzLjZrPvesbiS1JnyLRAQVa+vtOU8ct2GSWjbKK9vY9w6guVT
 KlptBNxxyQQi3WVtC+lvYz303gAlm5R2veehTMkmR6PIAE+zQ3EBNstiEEQsoMb2
 npAqr/maodIo+FvUpFghSTfG2dSNRnXpRXmGzn49Y3LSjZu/7gC0B5mZYuGghK/g
 UIvo3m40G/ajTUSyWOWPViUnJPkNMiQTHiH8MrXFUO/sbCavZCC2xp37D0ezWfIx
 KRq3KPLHEL39dDvLFkpTQccOfSXch/bVFNX0X6EtfyAx4rSCphbX25IaWeuhJ9Ox
 N3bALHVs0hMvY5nq0sUDTgf8oQMbpqKdAhKnSae3SBWLhon/EaA=
 =TZ1G
 -----END PGP SIGNATURE-----

Merge tag 'gpio-updates-for-v6.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux

Pull gpio updates from Bartosz Golaszewski:
 "There are two new drivers and support for more models in existing
  ones.

  The generic GPIO API has been reworked and all users converted
  which allowed us to move the fields specific to the generic GPIO
  implementation out of the high-level struct gpio_chip into its own
  structure that wraps the gpio_chip.

  Other than that, there's nothing too exciting. Mostly minor tweaks and
  fixes all over the place, some refactoring and some small new features
  in helper modules.

  GPIO core:
   - add support for sparse pin ranges to the glue between GPIO and
     pinctrl
   - use a common prefix across all GPIO descriptor flags for improved
     namespacing

  New drivers:
   - add new GPIO driver for the Nuvoton NCT6694
   - add new GPIO driver for MAX7360

  Driver improvements:
   - add support for Tegra 256 to the gpio-tegra186 driver
   - add support for Loongson-2K0300 to the gpio-loongson-64bit driver
   - refactor the gpio-aggregator module to expose its GPIO forwarder
     API to other in-kernel users (to enable merging of a new pinctrl
     driver that uses it)
   - convert all remaining drivers to using the modernized generic GPIO
     chip API and remove the old interface
   - stop displaying global GPIO numbers in debugfs output of controller
     drivers
   - extend the gpio-regmap helper with a new config option and improve
     its support for GPIO interrupts
   - remove redundant fast_io parameter from regmap configs in GPIO
     drivers that already use MMIO regmaps which imply it
   - add support for a new model in gpio-mmio: ixp4xx expansion bus
   - order includes alphabetically in a few drivers for better
     readability
   - use generic device properties where applicable
   - use devm_mutex_init() where applicable
   - extend build coverage of drivers by enabling more to be compiled
     with COMPILE_TEST enabled
   - allow building gpio-stmpe as a module
   - use dev_err_probe() where it makes sense in drivers

  Late driver fixes:
   - fix setting GPIO direction to output in gpio-mpfs

  Documentation:
   - document the usage of software nodes with GPIO chips

  Device-tree bindings:
   - Add DT bindings documents for new hardware: Tegra256, MAX7360
   - Document a new model in Loongson bindings: LS2K0300
   - Document a new model using the generic GPIO binding: IXP4xx
   - Convert the DT binding for fsl,mxs-pinctrl to YAML
   - fix the schema ID in the "trivial" GPIO schema
   - describe GPIO hogs in the generic GPIO binding"

* tag 'gpio-updates-for-v6.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux: (122 commits)
  gpio: mpfs: fix setting gpio direction to output
  gpio: generic: move GPIO_GENERIC_ flags to the correct header
  gpio: generic: rename BGPIOF_ flags to GPIO_GENERIC_
  gpio: nomadik: fix the debugfs helper stub
  MAINTAINERS: Add entry on MAX7360 driver
  input: misc: Add support for MAX7360 rotary
  input: keyboard: Add support for MAX7360 keypad
  gpio: max7360: Add MAX7360 gpio support
  gpio: regmap: Allow to provide init_valid_mask callback
  gpio: regmap: Allow to allocate regmap-irq device
  pwm: max7360: Add MAX7360 PWM support
  pinctrl: Add MAX7360 pinctrl driver
  mfd: Add max7360 support
  dt-bindings: mfd: gpio: Add MAX7360
  rtc: Add Nuvoton NCT6694 RTC support
  hwmon: Add Nuvoton NCT6694 HWMON support
  watchdog: Add Nuvoton NCT6694 WDT support
  can: Add Nuvoton NCT6694 CANFD support
  i2c: Add Nuvoton NCT6694 I2C support
  gpio: Add Nuvoton NCT6694 GPIO support
  ...
2025-10-01 11:34:12 -07:00
..
core.c pwm: Provide a gpio device for waveform drivers 2025-09-15 11:39:44 +02:00
Kconfig gpio updates for v6.18-rc1 2025-10-01 11:34:12 -07:00
Makefile pwm: max7360: Add MAX7360 PWM support 2025-09-16 15:24:48 +01:00
pwm-ab8500.c
pwm-adp5585.c pwm: adp5585: add support for adp5589 2025-07-01 21:50:51 +01:00
pwm-apple.c
pwm-argon-fan-hat.c pwm: argon-fan-hat: Add Argon40 Fan HAT support 2025-07-07 08:39:35 +02:00
pwm-atmel-hlcdc.c
pwm-atmel-tcb.c pwm: atmel-tcb: Use min() macro 2024-10-25 11:33:34 +02:00
pwm-atmel.c pwm: atmel: Drop driver local locking 2025-07-07 08:39:35 +02:00
pwm-axi-pwmgen.c include: linux: move adi-axi-common.h out of fpga 2025-06-30 17:57:15 -07:00
pwm-bcm-iproc.c
pwm-bcm-kona.c
pwm-bcm2835.c
pwm-berlin.c pwm: berlin: Fix wrong register in suspend/resume 2025-09-15 11:39:43 +02:00
pwm-brcmstb.c
pwm-clk.c
pwm-clps711x.c pwm: clps711x: Drop driver local locking 2025-07-07 08:39:35 +02:00
pwm-crc.c
pwm-cros-ec.c pwm: cros-ec: Avoid -Wflex-array-member-not-at-end warnings 2025-09-15 11:39:47 +02:00
pwm-dwc-core.c module: Convert default symbol namespace to string literal 2024-12-03 08:22:25 -08:00
pwm-dwc.c pwm: Replace deprecated PCI functions 2024-12-18 11:12:05 +01:00
pwm-dwc.h module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
pwm-ep93xx.c
pwm-fsl-ftm.c pwm: Add the S32G support in the Freescale FTM driver 2025-09-15 11:39:45 +02:00
pwm-gpio.c pwm: gpio: Switch to use hrtimer_setup() 2025-02-07 16:41:37 +01:00
pwm-hibvt.c
pwm-img.c pwm: img: Remove redundant pm_runtime_mark_last_busy() calls 2025-07-09 10:51:20 +02:00
pwm-imx-tpm.c pwm: imx-tpm: Reset counter if CMOD is 0 2025-07-29 17:51:27 +02:00
pwm-imx1.c
pwm-imx27.c pwm: imx27: Use clk_bulk_*() API to simplify clock handling 2024-10-25 11:42:36 +02:00
pwm-intel-lgm.c
pwm-iqs620a.c
pwm-jz4740.c
pwm-keembay.c
pwm-loongson.c pwm: loongson: Fix LOONGSON_PWM_FREQ_DEFAULT 2025-09-15 11:39:28 +02:00
pwm-lp3943.c
pwm-lpc18xx-sct.c pwm: lpc18xx-sct: Drop driver local locking 2025-07-07 08:39:36 +02:00
pwm-lpc32xx.c
pwm-lpss-pci.c pwm: Changes for v6.14-rc1 2025-01-22 10:43:09 -08:00
pwm-lpss-platform.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
pwm-lpss.c Pin control changes for the v6.15 kernel cycle: 2025-03-29 16:59:16 -07:00
pwm-lpss.h pwm: lpss: Only include <linux/pwm.h> where needed 2025-02-04 08:23:42 +01:00
pwm-max7360.c pwm: max7360: Add MAX7360 PWM support 2025-09-16 15:24:48 +01:00
pwm-mc33xs2410.c pwm: mc33xs2410: add hwmon support 2025-07-24 09:20:39 +02:00
pwm-mediatek.c pwm: mediatek: Lock and cache clock rate 2025-09-15 11:39:45 +02:00
pwm-meson.c pwm: meson: Simplify meson_pwm_cnt_to_ns() 2025-04-14 08:03:15 +02:00
pwm-microchip-core.c pwm: microchip-core: Drop driver local locking 2025-07-07 08:39:36 +02:00
pwm-mtk-disp.c
pwm-mxs.c
pwm-ntxec.c
pwm-omap-dmtimer.c
pwm-pca9685.c pwm: pca9586: Convert to waveform API 2025-09-15 11:39:46 +02:00
pwm-pxa.c pwm: pxa: Add optional reset control 2025-07-07 08:39:33 +02:00
pwm-raspberrypi-poe.c
pwm-rcar.c pwm: rcar: Improve register calculation 2025-04-04 09:23:39 +02:00
pwm-renesas-tpu.c
pwm-rockchip.c pwm: rockchip: Round period/duty down on apply, up on get 2025-07-07 08:39:35 +02:00
pwm-rz-mtu3.c
pwm-rzg2l-gpt.c pwm: rzg2l-gpt: Accept requests for too high period length 2025-04-30 09:01:03 +02:00
pwm-samsung.c
pwm-sifive.c pwm: sifive: Fix rounding and idempotency issues in apply and get_state 2025-07-07 08:39:34 +02:00
pwm-sl28cpld.c
pwm-sophgo-sg2042.c pwm: sophgo-sg2042: Add support for SG2044 2025-07-07 08:39:34 +02:00
pwm-spear.c
pwm-sprd.c
pwm-sti.c pwm: sti: Drop driver local locking 2025-07-07 08:39:36 +02:00
pwm-stm32-lp.c pwm: stm32-lp: Add support for stm32mp25 2025-05-13 11:13:56 +01:00
pwm-stm32.c pwm: stm32: add support for stm32mp25 2025-07-07 08:39:34 +02:00
pwm-stmpe.c pwm: stmpe: Allow to compile as a module 2025-03-03 10:38:54 +01:00
pwm-sun4i.c pwm: sun4i: Drop driver local locking 2025-07-07 08:39:36 +02:00
pwm-sunplus.c
pwm-tegra.c
pwm-tiecap.c pwm: tiecap: Document behaviour of hardware disable 2025-09-15 11:39:44 +02:00
pwm-tiehrpwm.c pwm: tiehrpwm: Fix corner case in clock divisor calculation 2025-09-15 11:39:43 +02:00
pwm-twl-led.c pwm: twl-led: Drop driver local locking 2025-07-07 08:39:36 +02:00
pwm-twl.c
pwm-visconti.c
pwm-vt8500.c
pwm-xilinx.c