From: Lars-Peter Clausen <lars@metafoo.de>
To: Jonathan Cameron <jic23@jic23.retrosnub.co.uk>
Cc: "linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>
Subject: Re: iio: Gpio trigger driver. Happy with interface?
Date: Thu, 18 Apr 2013 21:15:15 +0200 [thread overview]
Message-ID: <51704643.5020203@metafoo.de> (raw)
In-Reply-To: <516A99AA.50905@jic23.retrosnub.co.uk>
On 04/14/2013 01:57 PM, Jonathan Cameron wrote:
> Hi all,
>
> I have no idea how often people are using the GPIO trigger driver but what I am
> looking for here is a discussion (hopefully brief) of the interface and means
> of registering gpio triggers. To my mind it makes little sense to have this
> via a nice userspace control like the sysfs triggers. If you are using a gpio
> for a trigger it is probably a hardware design related descision.
>
Just remembered I wanted to your mail...
I think the interface is fine, there isn't much of an interface anyway. One
suggestion though, maybe make it one interrupt per device. And the name is
outdated, there are no gpio specific bits in the driver anymore. It's a pure
IRQ based trigger these days.
- Lars
prev parent reply other threads:[~2013-04-18 19:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-14 11:57 iio: Gpio trigger driver. Happy with interface? Jonathan Cameron
2013-04-18 19:15 ` Lars-Peter Clausen [this message]
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=51704643.5020203@metafoo.de \
--to=lars@metafoo.de \
--cc=jic23@jic23.retrosnub.co.uk \
--cc=linux-iio@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.