[PATCH v5 04/16] pwm: Add table-based lookup for static mappings

Thierry Reding thierry.reding at avionic-design.de
Mon Apr 2 00:50:39 EDT 2012


* Shawn Guo wrote:
> On Sun, Apr 01, 2012 at 11:20:46PM +0800, Shawn Guo wrote:
> > On Sat, Mar 31, 2012 at 04:30:21PM +0200, Thierry Reding wrote:
> ...
> > > The "bad"
> > > thing is that it'll make the "pwm-names" property mandatory if more than a
> > > single PWM is requested.
> > > 
> > You do not have to make it mandatory, but anyone requesting any pwm
> > other than the first on in "pwms" list should fail.
> > 
> I should have put it this way.  If a client device does not have
> "pwm-names" property in its node, it should fail when requesting pwm
> with a name.  And if no name is given, the first pwm device in the
> "pwms" list could just be returned.

Yes, that's how I understood it. =)

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120402/b14048f2/attachment.sig>


More information about the linux-arm-kernel mailing list