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

From
Sören Brinkmann <hidden>
Date
2015-01-15 16:37:42
Also in
linux-gpio, lkml
Reply to
Linus Walleij, 2015-01-15
On Thu, 2015-01-15 at 05:34PM +0100, Linus Walleij wrote:
On Mon, Jan 5, 2015 at 7:16 PM, Soren Brinkmann
[off-list ref] wrote:
quoted
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 that GPIO, while
writing 'disabled' will disable wake.
Reading that file will return either 'disabled' or 'enabled' depening on
the currently set flag for the GPIO's IRQ.

Signed-off-by: Soren Brinkmann <redacted>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
---
v3:
 - add documentation
As per discussion with Johan Hovold I have had to remove this patch
from the development tree.

Please rebase as indicated on the "fixes" branch, fix any resource
leaks, include Johan Hovold on CC for review and resend.
Is that public somewhere? What are the issues?

	Sören
Thread (5 messages) 5 messages, 2 authors, last reply 2015-01-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help