pwm: add support for atomic update
Get series with b4
b4 am 1442828009-6241-1-git-send-email-boris.brezillon@free-electrons.comVersions newest first · linked by author and title
- v3 Latest12 patches 44 repliesIn review
- v210 patches 7 repliesSuperseded
- v1 RFC0 of 15 patches 0 repliesSuperseded
Changes in v3 from the cover letter
- rebased on top of 4.3-rc2
- reintroduced pwm-regulator patches
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | pwm: introduce default period and polarity conceptsdrivers/ drivers/ drivers/ +6 more | +34 | 4 replies | |
| 2/12 | pwm: define a new pwm_state structdrivers/ include/ | +22 | 0 replies | |
| 3/12 | pwm: move the enabled/disabled info to pwm_state structdrivers/ include/ | +16 | 0 replies | |
| 4/12 | backlight: pwm_bl: remove useless call to pwm_set_perioddrivers/ | +5 | 1 reply | |
| 5/12 | pwm: declare a default PWM stateinclude/ | +7 | 0 replies | |
| 6/12 | pwm: add the PWM initial state retrieval infradrivers/ include/ | +7 | 0 replies | |
| 7/12 | pwm: add the core infrastructure to allow atomic updatedrivers/ include/ | +157 | 0 replies | |
| 8/12 | pwm: add information about polarity, duty cycle and period to debugfsdrivers/ | +5 | 0 replies | |
| 9/12 | pwm: rockchip: add initial state retrievaldrivers/ | +66 | 0 replies | |
| 10/12 | pwm: rockchip: add support for atomic updatedrivers/ | +29 | 0 replies | |
| 11/12 | regulator: pwm: implement ->enable(), ->disable() and ->is_enabled methodsdrivers/ | +29 | 1 reply | |
| 12/12 | regulator: pwm: properly initialize the ->state fielddrivers/ | +26 | 1 reply |
Reviews trailers per patch
3 of 12 patches have a Reviewed-by or Acked-by.
| Patch | Robert Jarzmik | Mark Brown | Heiko Stuebner | Jacek Anaszewski | Lee Jones | Alexandre Belloni |
|---|---|---|---|---|---|---|
| Series | T-b T-b T-b T-b T-b T-b | |||||
| 1/12 | A-b | A-b | A-b | R-b | ||
| 2/12 | ||||||
| 3/12 | ||||||
| 4/12 | A-b | |||||
| 5/12 | ||||||
| 6/12 | ||||||
| 7/12 | ||||||
| 8/12 | ||||||
| 9/12 | ||||||
| 10/12 | ||||||
| 11/12 | ||||||
| 12/12 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.
Cover letter [PATCH v3 00/12] pwm: add support for atomic update
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 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 (11):
pwm: introduce default period and polarity concepts
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: implement ->enable(), ->disable() and ->is_enabled
methods
regulator: pwm: properly initialize the ->state field
Heiko St?bner (1):
pwm: add information about polarity, duty cycle and period to debugfs
drivers/leds/leds-pwm.c | 2 +- drivers/pwm/core.c | 169 +++++++++++++++++++++++++++++++---- drivers/pwm/pwm-pxa.c | 2 +- drivers/pwm/pwm-rockchip.c | 119 +++++++++++++++++++----- drivers/pwm/pwm-sun4i.c | 3 +- drivers/regulator/pwm-regulator.c | 65 ++++++++++++-- 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 +++++++++++++++--- 10 files changed, 392 insertions(+), 73 deletions(-)
Signature · 1 line
1.9.1