public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/3] pwm: support backward compatibility of DTB extending PWM args
@ 2014-10-10 15:50 Vladimir Zapolskiy
  2014-10-10 15:50 ` [PATCH 1/3] pwm: process pwm polarity argument in of_pwm_simple_xlate() Vladimir Zapolskiy
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Vladimir Zapolskiy @ 2014-10-10 15:50 UTC (permalink / raw)
  To: linux-arm-kernel

Please review this alternative in-house version of supporting backward
compatibility of DTB files, if pwms arguments of exisitng 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.

One visual benefit of my verison is that if this version is accepted,
then of_pwm_xlate_with_flags() can be removed from all touched PWM
drivers and pwm/core.c as a redundant interface and generally is looks
to be a more simple change.

The particular changes in iMX PWM driver and other PWM drivers are out
of this change scope.

Feel free to criticize the change.

Vladimir Zapolskiy (3):
  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

 drivers/pwm/core.c |   16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

-- 
1.7.10.4

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

end of thread, other threads:[~2014-10-13 14:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-10 15:50 [PATCH 0/3] pwm: support backward compatibility of DTB extending PWM args Vladimir Zapolskiy
2014-10-10 15:50 ` [PATCH 1/3] pwm: process pwm polarity argument in of_pwm_simple_xlate() Vladimir Zapolskiy
2014-10-10 15:50 ` [PATCH 2/3] pwm: push up dynamic printk level on errors in of_pwm_get() Vladimir Zapolskiy
2014-10-13  6:12   ` Lothar Waßmann
2014-10-10 15:50 ` [PATCH 3/3] pwm: set the actual number of pwms arguments defined in board dts Vladimir Zapolskiy
2014-10-13 14:21 ` [PATCHv2 2/3] pwm: push up dynamic printk level on errors in of_pwm_get() Vladimir Zapolskiy
2014-10-13 14:21   ` [PATCHv2 0/3] pwm: support backward compatibility of DTB extending PWM args Vladimir Zapolskiy
2014-10-13 14:21   ` [PATCH 1/3] pwm: process pwm polarity argument in of_pwm_simple_xlate() Vladimir Zapolskiy
2014-10-13 14:21   ` [PATCHv2 2/3] pwm: push up dynamic printk level on errors in of_pwm_get() Vladimir Zapolskiy
2014-10-13 14:21   ` [PATCHv2 3/3] pwm: set the actual number of pwms arguments defined in board dts Vladimir Zapolskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox