All of lore.kernel.org
 help / color / mirror / Atom feed
From: Grant Likely <grant.likely@secretlab.ca>
To: Jean Pihet <jean.pihet@newoldbits.com>,
	Linus Walleij <linus.walleij@linaro.org>,
	linux-kernel@vger.kernel.org, Kevin Hilman <khilman@ti.com>
Subject: Re: gpiolib: per-gpio edges count
Date: Fri, 06 Apr 2012 20:13:06 -0700	[thread overview]
Message-ID: <20120407031306.B24D03E1F86@localhost> (raw)
In-Reply-To: <CAORVsuUQbtC=SF9RP2g04mN-ksE8BU40ACfZvoyGUju=LRbwqg@mail.gmail.com>

On Wed, 4 Apr 2012 16:49:03 +0200, Jean Pihet <jean.pihet@newoldbits.com> wrote:
> Hi,
> 
> On Wed, Apr 4, 2012 at 10:53 AM, Jean Pihet <jean.pihet@newoldbits.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.

  reply	other threads:[~2012-04-07  7:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-04  8:53 gpiolib: per-gpio edges count Jean Pihet
2012-04-04 14:49 ` Jean Pihet
2012-04-07  3:13   ` Grant Likely [this message]
2012-04-10 10:07     ` Jean Pihet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120407031306.B24D03E1F86@localhost \
    --to=grant.likely@secretlab.ca \
    --cc=jean.pihet@newoldbits.com \
    --cc=khilman@ti.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.