lkml.org 
[lkml]   [2011]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/2] gpio: add pin biasing and drive mode to gpiolib
From
Date

On 22/04/2011, at 9:36 PM, Linus Walleij wrote:

> 2011/4/21 Stijn Devriendt <highguy@gmail.com>:
>
>
>> I'd also like to add (if not already mentioned by others) that in
>> general drivers that use GPIOs are unaware of their physical
>> connection on the board. Having this information
>> in device-tree or platform-data equivalent solves this.
>
> Yes, this has been mentioned a few times, and a few times I have
> replied that there is not one word in the patch set that says anything
> about whether drivers or board code or whatever shall make use of
> the mechanism, it's just an interface...
>
> I don't understand why this keeps popping up, have I written
> *anything* unclear about this?

You haven't, no! Just that the use case for gpiolib was always to expose
gpio functionality to drivers/ in a generic way. The fact that it's
now been picked up extensively throughout arch/ is a (very) happy
side-effect.

--Ben.



\
 
 \ /
  Last update: 2011-04-23 10:39    [from the cache]
©2003-2011 Jasper Spaans