Merge tag 'pwm/for-4.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry...
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 13 Apr 2018 22:46:21 +0000 (15:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 13 Apr 2018 22:46:21 +0000 (15:46 -0700)
Pull pwm updates from Thierry Reding:
 "This set of changes adds support for more generations of the RCar
  controller as well as runtime PM support. The JZ4740 driver gains
  support for device tree and can now be used on all Ingenic SoCs.

  Rounding things off is a random assortment of fixes and cleanups all
  across the board"

* tag 'pwm/for-4.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm: (29 commits)
  pwm: rcar: Add suspend/resume support
  pwm: rcar: Use PM Runtime to control module clock
  dt-bindings: pwm: rcar: Add bindings for R-Car M3N support
  pwm: rcar: Fix a condition to prevent mismatch value setting to duty
  pwm: sysfs: Use put_device() instead of kfree()
  dt-bindings: pwm: sunxi: Add new compatible strings
  pwm: sun4i: Simplify controller mapping
  pwm: sun4i: Drop unused .has_rdy member
  pwm: sun4i: Properly check current state
  pwm: Remove depends on AVR32
  pwm: stm32: LPTimer: Use 3 cells ->of_xlate()
  dt-bindings: pwm-stm32-lp: Add #pwm-cells
  pwm: stm32: Protect common prescaler for all channels
  pwm: stm32: Remove unused struct device
  pwm: mediatek: Improve precision in rate calculation
  pwm: mediatek: Remove redundant MODULE_ALIAS entries
  pwm: mediatek: Fix up PWM4 and PWM5 malfunction on MT7623
  pwm: jz4740: Enable for all Ingenic SoCs
  pwm: jz4740: Add support for devicetree
  pwm: jz4740: Implement ->set_polarity()
  ...

1  2 
drivers/pwm/Kconfig

diff --combined drivers/pwm/Kconfig
index 38d49dbbf9b7dd984be4a3e680f435d760d23565,db4501d1dc1a281b49ac5a6dfdccf35502e8fa12..4635cb35008c2cdead18f80ab9f692ed8968ff98
@@@ -113,6 -113,15 +113,6 @@@ config PWM_BERLI
          To compile this driver as a module, choose M here: the module
          will be called pwm-berlin.
  
 -config PWM_BFIN
 -      tristate "Blackfin PWM support"
 -      depends on BFIN_GPTIMERS
 -      help
 -        Generic PWM framework driver for Blackfin.
 -
 -        To compile this driver as a module, choose M here: the module
 -        will be called pwm-bfin.
 -
  config PWM_BRCMSTB
        tristate "Broadcom STB PWM support"
        depends on ARCH_BRCMSTB || BMIPS_GENERIC
@@@ -200,10 -209,10 +200,10 @@@ config PWM_IM
          will be called pwm-imx.
  
  config PWM_JZ4740
-       tristate "Ingenic JZ4740 PWM support"
-       depends on MACH_JZ4740
+       tristate "Ingenic JZ47xx PWM support"
+       depends on MACH_INGENIC
        help
-         Generic PWM framework driver for Ingenic JZ4740 based
+         Generic PWM framework driver for Ingenic JZ47xx based
          machines.
  
          To compile this driver as a module, choose M here: the module