Re: [RFC][PATCH] gpiolib: add irq_wake (power-management) sysfs file

2011-11-10 Thread Kevin Hilman
Patrick Combes p-com...@ti.com writes: From: Hugo Dupras h-dup...@ti.com By calling poll() on the /sys/class/gpio/gpioN/value sysfs file, usermode application can take benefit of gpio interrupts. However, depending on the power state reached, this interrupt may not wake-up the CPU. This

[RFC][PATCH] gpiolib: add irq_wake (power-management) sysfs file

2011-11-09 Thread Patrick Combes
From: Hugo Dupras h-dup...@ti.com By calling poll() on the /sys/class/gpio/gpioN/value sysfs file, usermode application can take benefit of gpio interrupts. However, depending on the power state reached, this interrupt may not wake-up the CPU. This patch creates a new sysfs file