[lkml]   [2015]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RESEND RFC PATCH 1/2] gpio: Add isr property of gpio pins
On Tue, Dec 8, 2015 at 4:20 AM, Peter Rosin <> wrote:

> From: Peter Rosin <>
> Adds the possibility to read the interrupt status register bit for the
> gpio pin. Expose the bit as an isr file in sysfs.
> Signed-off-by: Peter Rosin <>

NACK. We have frozen the sysfs ABI and we are working on a
character device to replace it for userspace access, see:

Second question is *WHY* you want this crazy thing? Userspace
should want *events* from a file descriptor, like IIO does it for
example (on top of a proper chardev), not polling a register to
figure out if an IRQ occurred.

We need to think about the real solution to what you want to do.

Linus Walleij

 \ /
  Last update: 2015-12-11 14:01    [W:0.132 / U:0.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site