All of lore.kernel.org
 help / color / mirror / Atom feed
* Multiple IIO_THRESHOLD events
@ 2015-07-09 17:23 Matt Ranostay
  2015-07-11 17:58 ` Jonathan Cameron
  0 siblings, 1 reply; 5+ messages in thread
From: Matt Ranostay @ 2015-07-09 17:23 UTC (permalink / raw)
  To: Jonathan Cameron; +Cc: Marek Vašut, linux-iio@vger.kernel.org

Hello Jonathan,

I am currently working on temperature sensor that has multiple trip
points, and was wondering what would be the correct way to tie this to
one channel if several events may have the same IIO_EV_DIR_*
direction.

low temp trippoint - > IIO_EV_DIR_FALLING
high temp trippoint -> IIO_EV_DIR_RISING
critical temp trippoint ->  ?

Would it make sensor to add functionality to allow iio_event_spec to
have an .index field so multiple IIO_EV_DIR_RISING could be parsed
into sysfs entries?


Thanks,

Matt

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-07-16  2:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-09 17:23 Multiple IIO_THRESHOLD events Matt Ranostay
2015-07-11 17:58 ` Jonathan Cameron
2015-07-13 17:29   ` Matt Ranostay
2015-07-13 20:50     ` Jonathan Cameron
2015-07-16  2:43       ` Matt Ranostay

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.