Skip to content

Improve pwm-ir-tx precision

Sean Young dri-devel intel-gfx linux-arm-kernel linux-doc linux-fbdev linux-hwmon linux-input linux-leds linux-media linux-pwm lkml platform-driver-x86 10 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v10 Latest6 patches 6 repliesApplied
  2. v96 patches 2 repliesSuperseded
  3. v86 patches 13 repliesSuperseded
Earlier versions · 7
VersionPostedPatchesRepliesStatus
v74 patches3 repliesSuperseded
v64 patches13 repliesSuperseded
v54 patches8 repliesSuperseded
v44 patches1 replySuperseded
v33 patches11 repliesSuperseded
v23 patches13 repliesSuperseded
v12 patches17 repliesSuperseded

Changes in v10 from the cover letter

- Uwe Kleine-König review comments/fixes

Patches in v10 Applied

#Subject and filesSizeRepliesApplied
1/6pwm: Rename pwm_apply_state() to pwm_apply_might_sleep()Documentation/driver-api/pwm.rst MAINTAINERS drivers/gpu/drm/i915/display/intel_backlight.c +19 more+68 -680 replies
2/6pwm: Replace ENOTSUPP with EOPNOTSUPPinclude/linux/pwm.h+2 -21 reply
3/6pwm: renesas: Remove unused includedrivers/pwm/pwm-renesas-tpu.c+0 -10 replies
4/6pwm: Make it possible to apply PWM changes in atomic contextDocumentation/driver-api/pwm.rst MAINTAINERS drivers/pwm/core.c +1 more+86 -121 reply
5/6pwm: bcm2835: Allow PWM driver to be used in atomic contextdrivers/pwm/pwm-bcm2835.c+25 -91 reply
6/6media: pwm-ir-tx: Trigger edges from hrtimer interrupt contextdrivers/media/rc/pwm-ir-tx.c+78 -50 replies

Reviews trailers per patch

5 of 6 patches have a Reviewed-by or Acked-by.

PatchUwe Kleine-KönigGuenter RoeckMark BrownDmitry TorokhovHans de GoedeJani NikulaLee JonesFlorian Fainelli
1/6A-b A-b A-b A-b A-b A-b A-b
2/6A-b
3/6R-b
4/6R-b
5/6R-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 8 reviewers.

Read the v10 thread

Cover letter [PATCH v10 0/6] Improve pwm-ir-tx precision

The pwm-ir-tx driver has to turn the pwm signal on and off, and suffers from delays as this is done in process context. Make this work in atomic context.

changes:

v10:
- Uwe Kleine-König review comments/fixes

v9:
- Uwe Kleine-König review comments/fixes

v8:
- Uwe Kleine-König review comments
- Minor cleanups

v7:
- Thierry Reding review comments
- Minor cleanups
- rebase

v6:
- Rename pwm_apply_cansleep() to pwm_apply_might_sleep()
- rebase

v5:
- Use dev_err_probe() as Uwe suggested
- rebase

v4:
- Split out the pwm_apply_state() rename into seperate commit
- Atomic pwm function is called pwm_apply_atomic() and sleeping counterpart pwm_apply_cansleep()
- Fix commit messages

v3:
- Renamed pwm_apply_state() to pwm_apply_cansleep()
- Moved pwm atomic to struct pwm_chip
- Fixed pwm docs
- Other minor code review comments

v2:
- Simplified the pwm ir tx based on Ivaylo Dimitrov suggestions
- Renamed pwm_can_sleep() to pwm_is_atomic
- Fix sleeping issue in pwm-bcm2835 (clk_get_rate() can sleep)
- use non_block_start() in pwm to check atomic-ness

Sean Young (6):
pwm: Rename pwm_apply_state() to pwm_apply_might_sleep()
pwm: Replace ENOTSUPP with EOPNOTSUPP
pwm: renesas: Remove unused include
pwm: Make it possible to apply PWM changes in atomic context
pwm: bcm2835: Allow PWM driver to be used in atomic context
media: pwm-ir-tx: Trigger edges from hrtimer interrupt context

 Documentation/driver-api/pwm.rst              | 17 +++-
 MAINTAINERS                                   |  2 +-
 .../gpu/drm/i915/display/intel_backlight.c    |  6 +-
 drivers/gpu/drm/solomon/ssd130x.c             |  2 +-
 drivers/hwmon/pwm-fan.c                       |  8 +-
 drivers/input/misc/da7280.c                   |  4 +-
 drivers/input/misc/pwm-beeper.c               |  4 +-
 drivers/input/misc/pwm-vibra.c                |  8 +-
 drivers/leds/leds-pwm.c                       |  2 +-
 drivers/leds/rgb/leds-pwm-multicolor.c        |  4 +-
 drivers/media/rc/pwm-ir-tx.c                  | 87 +++++++++++++++++--
 drivers/platform/x86/lenovo-yogabook.c        |  2 +-
 drivers/pwm/core.c                            | 74 ++++++++++++----
 drivers/pwm/pwm-bcm2835.c                     | 34 ++++++--
 drivers/pwm/pwm-renesas-tpu.c                 |  1 -
 drivers/pwm/pwm-twl-led.c                     |  2 +-
 drivers/pwm/pwm-vt8500.c                      |  2 +-
 drivers/pwm/sysfs.c                           | 10 +--
 drivers/regulator/pwm-regulator.c             |  4 +-
 drivers/video/backlight/lm3630a_bl.c          |  2 +-
 drivers/video/backlight/lp855x_bl.c           |  2 +-
 drivers/video/backlight/pwm_bl.c              | 12 +--
 drivers/video/fbdev/ssd1307fb.c               |  2 +-
 include/linux/pwm.h                           | 57 ++++++++----
 24 files changed, 255 insertions(+), 93 deletions(-)
Signature · 1 line
2.43.0