linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 00/24] pwm: add support for atomic update
@ 2015-11-16  8:56 Boris Brezillon
  2015-11-16  8:56 ` [PATCH v4 01/24] pwm: rcar: make use of pwm_is_enabled() Boris Brezillon
                   ` (24 more replies)
  0 siblings, 25 replies; 46+ messages in thread
From: Boris Brezillon @ 2015-11-16  8:56 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

This series adds support for atomic PWM update, or IOW, the capability
to update all the parameters of a PWM device (enabled/disabled, period,
duty and polarity) in one go.

Best Regards,

Boris

Changes since v3:
- rebased on pwm/for-next after pulling 4.4-rc1
- replace direct access to pwm fields by pwm_get/set_xxx() helpers, thus
  fixing some build errors
- split changes to allow each maintainer to review/ack or take the
  modification through its subsystem

Changes since v2:
- rebased on top of 4.3-rc2
- reintroduced pwm-regulator patches

Changes since v1:
- dropped applied patches
- squashed Heiko's fixes into the rockchip driver changes
- made a few cosmetic changes
- added kerneldoc comments
- added Heiko's patch to display more information in debugfs
- dropped pwm-regulator patches (should be submitted separately)

Boris Brezillon (23):
  pwm: rcar: make use of pwm_is_enabled()
  pwm: use pwm_get_xxx() helpers where appropriate
  clk: pwm: use pwm_get_xxx() helpers where appropriate
  hwmon: pwm-fan: use pwm_get_xxx() helpers where appropriate
  misc: max77693-haptic: use pwm_get_xxx() helpers where appropriate
  pwm: introduce default period and polarity concepts
  pwm: use pwm_get/set_default_xxx() helpers where appropriate
  leds: pwm: use pwm_get/set_default_xxx() helpers where appropriate
  regulator: pwm: use pwm_get/set_default_xxx() helpers where
    appropriate
  backlight: pwm: use pwm_get/set_default_xxx() helpers where
    appropriate
  fbdev: use pwm_get/set_default_xxx() helpers where appropriate
  misc: max77693: use pwm_get/set_default_xxx() helpers where
    appropriate
  hwmon: pwm-fan: use pwm_get/set_default_xxx() helpers where
    appropriate
  clk: pwm: use pwm_get/set_default_xxx() helpers where appropriate
  pwm: define a new pwm_state struct
  pwm: move the enabled/disabled info to pwm_state struct
  backlight: pwm_bl: remove useless call to pwm_set_period
  pwm: declare a default PWM state
  pwm: add the PWM initial state retrieval infra
  pwm: add the core infrastructure to allow atomic update
  pwm: rockchip: add initial state retrieval
  pwm: rockchip: add support for atomic update
  regulator: pwm: properly initialize the ->state field

Heiko Stübner (1):
  pwm: add information about polarity, duty cycle and period to debugfs

 drivers/clk/clk-pwm.c                |  11 +--
 drivers/hwmon/pwm-fan.c              |  16 ++--
 drivers/input/misc/max77693-haptic.c |   9 +-
 drivers/leds/leds-pwm.c              |   2 +-
 drivers/pwm/core.c                   | 169 +++++++++++++++++++++++++++++++----
 drivers/pwm/pwm-crc.c                |   2 +-
 drivers/pwm/pwm-lpc18xx-sct.c        |   2 +-
 drivers/pwm/pwm-pxa.c                |   2 +-
 drivers/pwm/pwm-rcar.c               |   2 +-
 drivers/pwm/pwm-rockchip.c           | 119 +++++++++++++++++++-----
 drivers/pwm/pwm-sun4i.c              |   3 +-
 drivers/regulator/pwm-regulator.c    |  30 ++++++-
 drivers/video/backlight/lm3630a_bl.c |   4 +-
 drivers/video/backlight/pwm_bl.c     |  10 ++-
 drivers/video/fbdev/ssd1307fb.c      |   2 +-
 include/linux/pwm.h                  |  89 +++++++++++++++---
 16 files changed, 386 insertions(+), 86 deletions(-)

-- 
2.1.4


^ permalink raw reply	[flat|nested] 46+ messages in thread

end of thread, other threads:[~2016-03-16 14:30 UTC | newest]

Thread overview: 46+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-16  8:56 [PATCH v4 00/24] pwm: add support for atomic update Boris Brezillon
2015-11-16  8:56 ` [PATCH v4 01/24] pwm: rcar: make use of pwm_is_enabled() Boris Brezillon
2016-03-16 14:30   ` Boris Brezillon
2015-11-16  8:56 ` [PATCH v4 02/24] pwm: use pwm_get_xxx() helpers where appropriate Boris Brezillon
2015-11-16 17:46   ` Joachim Eastwood
2015-11-16 18:06     ` Boris Brezillon
2015-11-16  8:56 ` [PATCH v4 03/24] clk: " Boris Brezillon
2015-12-30 21:03   ` Michael Turquette
2015-11-16  8:56 ` [PATCH v4 04/24] hwmon: pwm-fan: " Boris Brezillon
2015-11-16 15:59   ` Guenter Roeck
2015-11-16 16:53     ` Boris Brezillon
2015-11-16 17:00       ` Guenter Roeck
2015-11-16  8:56 ` [PATCH v4 05/24] misc: max77693-haptic: " Boris Brezillon
2015-11-16 13:10   ` Krzysztof Kozlowski
2015-11-16 13:55     ` Boris Brezillon
2015-11-16 15:55       ` Guenter Roeck
2015-11-16 16:00         ` Boris Brezillon
2015-11-17 17:32   ` Dmitry Torokhov
2015-11-16  8:56 ` [PATCH v4 06/24] pwm: introduce default period and polarity concepts Boris Brezillon
2015-11-16  8:56 ` [PATCH v4 07/24] pwm: use pwm_get/set_default_xxx() helpers where appropriate Boris Brezillon
2015-11-16  8:56 ` [PATCH v4 08/24] leds: " Boris Brezillon
2015-11-16  8:56 ` [PATCH v4 09/24] regulator: " Boris Brezillon
2015-11-16 10:55   ` Mark Brown
2015-11-16 12:23     ` Boris Brezillon
2015-11-16 18:42       ` Mark Brown
2015-11-16 19:28         ` Boris Brezillon
2015-12-02 10:37         ` Boris Brezillon
2015-12-30 11:01           ` Boris Brezillon
2015-11-16  8:56 ` [PATCH v4 10/24] backlight: " Boris Brezillon
2015-11-16  8:56 ` [PATCH v4 11/24] fbdev: " Boris Brezillon
2015-11-16  8:56 ` [PATCH v4 12/24] misc: max77693: " Boris Brezillon
2015-11-16  8:56 ` [PATCH v4 13/24] hwmon: pwm-fan: " Boris Brezillon
2015-11-16 16:00   ` Guenter Roeck
2015-11-16  8:56 ` [PATCH v4 14/24] clk: pwm: " Boris Brezillon
2015-12-30 21:05   ` Michael Turquette
2015-11-16  8:56 ` [PATCH v4 15/24] pwm: define a new pwm_state struct Boris Brezillon
2015-11-16  8:56 ` [PATCH v4 16/24] pwm: move the enabled/disabled info to " Boris Brezillon
2015-11-16  8:56 ` [PATCH v4 17/24] backlight: pwm_bl: remove useless call to pwm_set_period Boris Brezillon
2015-11-16  8:56 ` [PATCH v4 18/24] pwm: declare a default PWM state Boris Brezillon
2015-11-16  8:56 ` [PATCH v4 19/24] pwm: add the PWM initial state retrieval infra Boris Brezillon
2015-11-16  8:56 ` [PATCH v4 20/24] pwm: add the core infrastructure to allow atomic update Boris Brezillon
2015-11-16  8:56 ` [PATCH v4 21/24] pwm: add information about polarity, duty cycle and period to debugfs Boris Brezillon
2015-11-16  8:56 ` [PATCH v4 22/24] pwm: rockchip: add initial state retrieval Boris Brezillon
2015-11-16  8:56 ` [PATCH v4 23/24] pwm: rockchip: add support for atomic update Boris Brezillon
2015-11-16  8:56 ` [PATCH v4 24/24] regulator: pwm: properly initialize the ->state field Boris Brezillon
2015-11-16 14:45 ` [PATCH v4 00/24] pwm: add support for atomic update Heiko Stübner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).