Skip to content

pwm: mxs: add support for setting polarity via DT

Rasmus Villemoes linux-arm-kernel linux-devicetree linux-pwm lkml 2 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. v2 Latest6 patches 8 repliesApplied
  2. v14 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- Rebase to v5.4-rc1
- Address comments from Uwe.
- Add Rob's ack to patch 4.
- New patches 5 and 6. The last one is independent of the others, but I stumbled on this when rebasing and found the signature had changed.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/6pwm: mxs: implement ->applydrivers/pwm/pwm-mxs.c+70 -01 reply
2/6pwm: mxs: remove legacy methodsdrivers/pwm/pwm-mxs.c+0 -771 reply
3/6pwm: mxs: add support for inverse polaritydrivers/pwm/pwm-mxs.c+10 -41 reply
4/6dt-bindings: pwm: mxs-pwm: Increase #pwm-cellsDocumentation/devicetree/bindings/pwm/mxs-pwm.txt+2 -21 reply
5/6pwm: mxs: avoid a division in mxs_pwm_apply()drivers/pwm/pwm-mxs.c+3 -31 reply
6/6pwm: update comment on struct pwm_ops::applyinclude/linux/pwm.h+1 -42 replies

Reviews trailers per patch

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

PatchRob HerringUwe Kleine-KönigBjorn Andersson
1/6R-b
2/6R-b
3/6
4/6A-b A-b
5/6R-b
6/6R-b R-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 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/6] pwm: mxs: add support for setting polarity via DT

This series adds support for setting the polarity via DT to the pwm-mxs driver.

The DT binding is updated, but I'm not touching the existing .dts or .dtsi files - it seems that the same was done for bcm2835 in commits 46421d9d8e802e570dfa4d793a4938d2642ec7a7 and 8a88b2a2017d1e7e80db53080baff591fd454722, while arch/arm/boot/dts/bcm283x.dtsi still has #pwm-cells = <2>.

v2:
- Rebase to v5.4-rc1
- Address comments from Uwe.
- Add Rob's ack to patch 4.
- New patches 5 and 6. The last one is independent of the others, but I stumbled on this when rebasing and found the signature had changed.

Rasmus Villemoes (6):
pwm: mxs: implement ->apply
pwm: mxs: remove legacy methods
pwm: mxs: add support for inverse polarity
dt-bindings: pwm: mxs-pwm: Increase #pwm-cells
pwm: mxs: avoid a division in mxs_pwm_apply()
pwm: update comment on struct pwm_ops::apply

 .../devicetree/bindings/pwm/mxs-pwm.txt       |   4 +-
 drivers/pwm/pwm-mxs.c                         | 101 +++++++++---------
 include/linux/pwm.h                           |   5 +-
 3 files changed, 53 insertions(+), 57 deletions(-)
Signature · 1 line
2.20.1