[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120407031306.B24D03E1F86@localhost>
Date: Fri, 06 Apr 2012 20:13:06 -0700
From: Grant Likely <grant.likely@...retlab.ca>
To: Jean Pihet <jean.pihet@...oldbits.com>,
Linus Walleij <linus.walleij@...aro.org>,
linux-kernel@...r.kernel.org, Kevin Hilman <khilman@...com>
Subject: Re: gpiolib: per-gpio edges count
On Wed, 4 Apr 2012 16:49:03 +0200, Jean Pihet <jean.pihet@...oldbits.com> wrote:
> Hi,
>
> On Wed, Apr 4, 2012 at 10:53 AM, Jean Pihet <jean.pihet@...oldbits.com> 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,
> Jean
Great, I'm glad you got it sorted out. For the benefit of anyone
coming across this thread, would you mind replying with a summary of
how you solved the problem?
Thanks,
g.
--
Grant Likely, B.Sc, P.Eng.
Secret Lab Technologies,Ltd.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists