[lkml]   [2012]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: gpiolib: per-gpio edges count

On Wed, Apr 4, 2012 at 10:53 AM, Jean Pihet <> wrote:
> Hi Grant, Linus,
> I would like to know if it is possible to get the edges count on a GPIO pin.
> I was hoping to get it by configuring the pin as input with an edge
> trigger but on OMAP there is only one irq line per controller (which
> controls 32 pins).
> Btw I am using a Beaglebone with OMAP AM3358.

I figured it out, with the help from Kevin on IRC (thx!).

Indeed there is a per-pin IRQ count available in /proc/interrupts.
Sorry for the unconvenience.

Thanks & regards,

 \ /
  Last update: 2012-04-04 16:51    [W:0.035 / U:0.072 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site