Re: [PATCH RESEND v3] gpio: lib-sysfs: Add 'wakeup' attribute

2015-01-15 Thread Sören Brinkmann
On Thu, 2015-01-15 at 05:34PM +0100, Linus Walleij wrote: > On Mon, Jan 5, 2015 at 7:16 PM, Soren Brinkmann > wrote: > > > Add an attribute 'wakeup' to the GPIO sysfs interface which allows > > marking/unmarking a GPIO as wake IRQ. > > The file 'wakeup' is created in each exported GPIOs directory

Re: [PATCH RESEND v3] gpio: lib-sysfs: Add 'wakeup' attribute

2015-01-15 Thread Linus Walleij
On Mon, Jan 5, 2015 at 7:16 PM, Soren Brinkmann wrote: > Add an attribute 'wakeup' to the GPIO sysfs interface which allows > marking/unmarking a GPIO as wake IRQ. > The file 'wakeup' is created in each exported GPIOs directory, if an IRQ > is associated with that GPIO and the irqchip implements

Re: [PATCH RESEND v3] gpio: lib-sysfs: Add 'wakeup' attribute

2015-01-09 Thread Sören Brinkmann
On Fri, 2015-01-09 at 10:32AM +0100, Linus Walleij wrote: > On Mon, Jan 5, 2015 at 7:16 PM, Soren Brinkmann > wrote: > > > Add an attribute 'wakeup' to the GPIO sysfs interface which allows > > marking/unmarking a GPIO as wake IRQ. > > The file 'wakeup' is created in each exported GPIOs directory

Re: [PATCH RESEND v3] gpio: lib-sysfs: Add 'wakeup' attribute

2015-01-09 Thread Linus Walleij
On Mon, Jan 5, 2015 at 7:16 PM, Soren Brinkmann wrote: > Add an attribute 'wakeup' to the GPIO sysfs interface which allows > marking/unmarking a GPIO as wake IRQ. > The file 'wakeup' is created in each exported GPIOs directory, if an IRQ > is associated with that GPIO and the irqchip implements

[PATCH RESEND v3] gpio: lib-sysfs: Add 'wakeup' attribute

2015-01-05 Thread Soren Brinkmann
Add an attribute 'wakeup' to the GPIO sysfs interface which allows marking/unmarking a GPIO as wake IRQ. The file 'wakeup' is created in each exported GPIOs directory, if an IRQ is associated with that GPIO and the irqchip implements set_wake(). Writing 'enabled' to that file will enable wake for t