Skip to content

pwm: lpc32xx: switch driver to one phandle argument for PWM consumers

Vladimir Zapolskiy linux-arm-kernel linux-devicetree linux-pwm 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt: pwm: lpc32xx: add description of clocks and #pwm-cells propertiesDocumentation/devicetree/bindings/pwm/lpc32xx-pwm.txt+7 -02 replies
1/3dt: pwm: lpc32xx: add description of clocks and #pwm-cells properties+0 -00 replies
1/3dt: pwm: lpc32xx: add description of clocks and #pwm-cells properties+0 -03 replies
2/3pwm: lpc32xx: switch driver to one phandle argument for PWM consumersdrivers/pwm/pwm-lpc32xx.c+16 -01 reply
3/3pwm: lpc32xx: remove handling of PWM channelsdrivers/pwm/pwm-lpc32xx.c+9 -111 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchSylvain LemieuxRob Herring
1/3R-b A-b
1/3R-b A-b
1/3R-b A-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] pwm: lpc32xx: switch driver to one phandle argument for PWM consumers

The change adds private of_xlate() function to process one argument given along with a PWM phandle. LPC32xx SoCs have two independent single channel PWM controllers, the argument is used as a description of PWM output frequency, see previous discussion here:

http://www.spinics.net/lists/arm-kernel/msg534068.html

The changes on actual board dts files are not needed at the moment, because all LPC32xx boards in upstream don't describe any PWM consumers.

Vladimir Zapolskiy (3):
dt: pwm: lpc32xx: add description of clocks and #pwm-cells properties
pwm: lpc32xx: switch driver to one phandle argument for PWM consumers
pwm: lpc32xx: remove handling of PWM channels

 .../devicetree/bindings/pwm/lpc32xx-pwm.txt        |  7 +++++
 drivers/pwm/pwm-lpc32xx.c                          | 36 +++++++++++++++-------
 2 files changed, 32 insertions(+), 11 deletions(-)
Signature · 1 line
2.10.2