* iio: Gpio trigger driver. Happy with interface?
@ 2013-04-14 11:57 Jonathan Cameron
2013-04-18 19:15 ` Lars-Peter Clausen
0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Cameron @ 2013-04-14 11:57 UTC (permalink / raw)
To: linux-iio@vger.kernel.org, Lars-Peter Clausen
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.
Anyhow if people don't like what is there please speak up now and if you
do like it then speak up too!
I'd like to get this out of staging in the next cycle (along with lots
of other things ;)
Jonathan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: iio: Gpio trigger driver. Happy with interface?
2013-04-14 11:57 iio: Gpio trigger driver. Happy with interface? Jonathan Cameron
@ 2013-04-18 19:15 ` Lars-Peter Clausen
0 siblings, 0 replies; 2+ messages in thread
From: Lars-Peter Clausen @ 2013-04-18 19:15 UTC (permalink / raw)
To: Jonathan Cameron; +Cc: linux-iio@vger.kernel.org
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-04-18 19:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-14 11:57 iio: Gpio trigger driver. Happy with interface? Jonathan Cameron
2013-04-18 19:15 ` Lars-Peter Clausen
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.