devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/5] pwm: support backward compatibility of DTB extending PWM args
@ 2014-11-18 19:37 Vladimir Zapolskiy
  2014-11-18 19:38 ` [PATCH 1/5] pwm: process pwm polarity argument in of_pwm_simple_xlate() Vladimir Zapolskiy
  2014-12-01 14:50 ` [PATCH v3 0/5] pwm: support backward compatibility of DTB extending PWM args Vladimir Zapolskiy
  0 siblings, 2 replies; 8+ messages in thread
From: Vladimir Zapolskiy @ 2014-11-18 19:37 UTC (permalink / raw)
  To: Thierry Reding
  Cc: Greg Kroah-Hartman, devicetree, linux-pwm, Lothar Waßmann,
	Sascha Hauer, Heiko Stuebner, Tony Prisk, linux-arm-kernel,
	linux-rockchip, Shawn Guo

Please review this alternative in-house version of supporting backward
compatibility of DTB files (new kernel/PWM driver and old DTS), overcoming
a problem that pwms arguments of existing PWM drivers are to be extended
with polarity field.

Unfortunately I've firstly created the change and only after that
found that Lothar Waßmann is working on his version, so I won't insist
on formal preference, but still I like to share my variant since it
technically different from Lothar's one.

Changes from v2 to v3:
- improved commit messages
- added two more patches removing of_pwm_xlate_with_flags()

Changes from v1 to v2:
- corrected the proper kernel log level, thanks to Lothar Waßmann.

Vladimir Zapolskiy (5):
  pwm: process pwm polarity argument in of_pwm_simple_xlate()
  pwm: push up dynamic printk level on errors in of_pwm_get()
  pwm: set the actual number of pwms arguments defined in board dts
  pwm: do not set of_pwm_xlate_with_flags() as a callback
  pwm: remove of_pwm_xlate_with_flags() function

 drivers/pwm/core.c            |   42 ++++++++++++-----------------------------
 drivers/pwm/pwm-atmel-hlcdc.c |    2 --
 drivers/pwm/pwm-atmel-tcb.c   |    2 --
 drivers/pwm/pwm-atmel.c       |    6 ------
 drivers/pwm/pwm-bcm-kona.c    |    2 --
 drivers/pwm/pwm-fsl-ftm.c     |    2 --
 drivers/pwm/pwm-renesas-tpu.c |    2 --
 drivers/pwm/pwm-rockchip.c    |    5 -----
 drivers/pwm/pwm-samsung.c     |    3 ---
 drivers/pwm/pwm-tiecap.c      |    2 --
 drivers/pwm/pwm-tiehrpwm.c    |    2 --
 drivers/pwm/pwm-vt8500.c      |    2 --
 include/linux/pwm.h           |    3 ---
 13 files changed, 12 insertions(+), 63 deletions(-)

-- 
1.7.10.4


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

end of thread, other threads:[~2015-01-21 13:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-18 19:37 [PATCH v3 0/5] pwm: support backward compatibility of DTB extending PWM args Vladimir Zapolskiy
2014-11-18 19:38 ` [PATCH 1/5] pwm: process pwm polarity argument in of_pwm_simple_xlate() Vladimir Zapolskiy
2014-11-18 19:38   ` [PATCH 2/5] pwm: push up dynamic printk level on errors in of_pwm_get() Vladimir Zapolskiy
2014-11-18 19:38   ` [PATCH 3/5] pwm: set the actual number of pwms arguments defined in board dts Vladimir Zapolskiy
2014-11-18 19:38   ` [PATCH 4/5] pwm: do not set of_pwm_xlate_with_flags() as a callback Vladimir Zapolskiy
2014-11-18 19:38   ` [PATCH 5/5] pwm: remove of_pwm_xlate_with_flags() function Vladimir Zapolskiy
2014-12-01 14:50 ` [PATCH v3 0/5] pwm: support backward compatibility of DTB extending PWM args Vladimir Zapolskiy
2015-01-21 13:16   ` Vladimir Zapolskiy

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).