lkml.org 
[lkml]   [2009]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: [PATCH] gpiolib: introduce for_each_gpio_in_chip macro
From
Date
On Tue, 2009-08-04 at 20:48 -0400, H Hartley Sweeten wrote:

> For the record. The reason I sent this is I'm trying to work out an
> extension to gpiolib that adds gpio_port_* access to the API. Most
> of the gpiolib drivers already the necessary logic since the raw I/O
> is performed on the entire 'chip'. The API just needs the extensions
> added to request/free the port, set the direction and get/set the value.
>
> Is this a worthwhile addition?

Plenty of people seem to think so. Personally I haven't seen a great
use case except "'coz I can", but if you've got one I'd love to hear.

Have you seen http://lkml.org/lkml/2009/1/25/10 ? Donno what ended up
happening to that patchset..

--Ben.




\
 
 \ /
  Last update: 2009-08-06 05:33    [W:0.047 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site