lkml.org 
[lkml]   [2013]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] drivers: misc: add gpio wakeup driver
From
On Tue, Oct 15, 2013 at 9:32 PM, Arnd Bergmann <arnd@arndb.de> wrote:
> On Friday 11 October 2013, Linus Walleij wrote:

>> It *may* be that we have many GPIO drivers that do not accept
>> that you request an interrupt on them before you have done
>> request_gpio() followed by gpio_to_irq() on the pin. Then this
>> shall be treated like a bug and the GPIO driver fixed to handle
>> this. (That was the outcome of this discussion.)
>
> I haven't followed that discussion, but it's good to hear that
> you made some progress there. I find it a bit worrying that you
> say the behavior may be dependent on the gpio driver, but maybe
> I didn't fully understand what the resolution is.

It's some consensus on how to do this, but the existing drivers
need to be augmented to implement it according to that
consensus, especially those using device tree.

If noone else helps I guess it goes on top of the pile of stuff
for the GPIO maintainer to fix...

Yours,
Linus Walleij


\
 
 \ /
  Last update: 2013-10-16 00:01    [W:0.074 / U:0.912 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site