linux-pwm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND v5 0/2] PWM: PXA: add device tree support to PWM driver
@ 2013-09-21 19:19 Mike Dunn
  2013-09-21 19:19 ` [PATCH RESEND v5 1/2] " Mike Dunn
  2013-09-21 19:19 ` [PATCH RESEND v5 2/2] PXA: add PWM nodes to pxa27x.dtsi Mike Dunn
  0 siblings, 2 replies; 12+ messages in thread
From: Mike Dunn @ 2013-09-21 19:19 UTC (permalink / raw)
  To: linux-pwm
  Cc: Mike Dunn, Grant Likely, Thierry Reding, Rob Herring,
	Haojian Zhuang, Robert Jarzmik, Marek Vasut, devicetree,
	linux-arm-kernel, Dmitry Torokhov, Chao Xie, Sergei Shtylyov,
	Pawel Moll, Mark Rutland, Stephen Warren, Ian Campbell

Dang! Sorry, please disregard previous patch set.
RESENDing because previous set did not include the file
Documentation/devicetree/bindings/pwm/pxa-pwm.txt

This is now a patch set because the changes to pxa27x.dtsi have been moved to a
separate patch.  This was done so that it can go through the arm-soc tree.

Changle log:
v5:
- changes to pxa27x.dtsi moved to a separate patch
- minor changes in phrasing made to bindings documentation
- cast removed from void *
- dummy functions for !CONFIG_OF removed; called only if (IS_ENABLED(CONFIG_OF)
- if-else block in pxa_pwm_get_id_dt() replaced with ternary operator

v4:
- add second "compatible" string to pxa27x.dtsi
- change phrasing in binding doc pxa-pwm.txt to "one or more of"

v3:
- remove support for the polarity flag
- remove per-chip pwm index cell; define custom of_xlate()
   (now #pwm-cells = <1>)
- "compatible" strings for all devices added to OF match table
- various stylistic changes recommended by reviewers

v2:
- of_match_table contains only the "pxa250-pwm" compatible string; require one
  device instance per pwm
- add Documentation/devicetree/bindings/pwm/pxa-pwm.txt
- add support for polarity flag in DT and implement set_polarity() method
  (the treo 680 inverts the signal between pwm out and backlight)
- return -EINVAL instead of -ENODEV if platform data or DT node not found
- output dev_info string if platform data missing
- expanded CC list of patch


Mike Dunn (2):
  PWM: PXA: add device tree support to PWM driver
  PXA: add PWM nodes to pxa27x.dtsi

 Documentation/devicetree/bindings/pwm/pxa-pwm.txt | 30 +++++++++++++
 arch/arm/boot/dts/pxa27x.dtsi                     | 24 +++++++++++
 drivers/pwm/pwm-pxa.c                             | 52 ++++++++++++++++++++++-
 3 files changed, 105 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/pwm/pxa-pwm.txt

-- 
1.8.1.5

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2013-12-04 18:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-21 19:19 [PATCH RESEND v5 0/2] PWM: PXA: add device tree support to PWM driver Mike Dunn
2013-09-21 19:19 ` [PATCH RESEND v5 1/2] " Mike Dunn
2013-10-08 13:12   ` Thierry Reding
2013-10-10 16:58     ` Mike Dunn
2013-12-03 10:17   ` Thierry Reding
2013-12-03 18:45     ` Mike Dunn
2013-12-04  1:12       ` Haojian Zhuang
2013-12-04  9:03         ` Thierry Reding
2013-12-04  9:17           ` Haojian Zhuang
2013-12-04  9:21       ` Thierry Reding
2013-12-04 18:21         ` Mike Dunn
2013-09-21 19:19 ` [PATCH RESEND v5 2/2] PXA: add PWM nodes to pxa27x.dtsi Mike Dunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).