Skip to content

pwm: imx: support output polarity inversion

Lothar Waßmann linux-arm-kernel linux-pwm 8 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest2 of 3 patches 0 repliesNew
  2. v53 patches 0 repliesSuperseded
  3. v4 posting 3/31 of 3 patches 0 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v4 posting 2/34 patches4 repliesSuperseded
v4 posting 1/34 patches0 repliesSuperseded
v33 patches11 repliesSuperseded
v22 patches6 repliesSuperseded
v12 patches2 repliesSuperseded

2 of 3 patches are in this archive. The cover letter announces 3.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3pwm: print error messages with pr_err() instead of pr_debug()drivers/pwm/core.c+2 -20 replies
2/3pwm: make the PWM_POLARITY flag in DTB optionaldrivers/pwm/core.c+16 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.

Read the v6 thread

Cover letter [PATCHv6 0/3] pwm: imx: support output polarity inversion

This patch series adds support for polarity inversion to the pwm-imx driver. The patches have been tested on i.MX6, i.MX53 and with the ti-ehrpwm.c driver.

Changes wrt. v2:
- make the use of '#pwm-cells = <3>' optional, so that the change does not break existing DT blobs as suggested by Arnd Bergmann and Sascha Hauer.

Changes wrt. v3:
- implemented the approach suggested by Sascha Hauer
- don't modify struct pwm_ops in the imx_pwm probe function

Changes wrt. v4:
- rebased onto current linux-next
- dropped cleanup patch which is not necessary any more
- resent with ACK from Shawn Guo and Reviewed-By tag from Sascha Hauer

Changes wrt. v5:
- don't remove of_pwm_n_cells to keep sanity checks for #pwm-cells as suggested by Thierry Reding