iio: Support triggered events
authorVladimir Barinov <vladimir.barinov@cogentembedded.com>
Thu, 20 Aug 2015 19:37:39 +0000 (22:37 +0300)
committerJonathan Cameron <jic23@kernel.org>
Thu, 27 Aug 2015 19:47:09 +0000 (20:47 +0100)
commit735ad074ffa72ccc4fdba8e54eb024df95545e7d
tree5cc52d06761fba79d2a70ce0d665b1c583bf386c
parent764589b688a1b087b5ff6c1e99f7cd57a5241395
iio: Support triggered events

Support triggered events.

This is useful for chips that don't have their own interrupt sources.
It allows to use generic/standalone iio triggers for those drivers.

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/Kconfig
drivers/iio/Makefile
drivers/iio/industrialio-core.c
drivers/iio/industrialio-trigger.c
drivers/iio/industrialio-triggered-event.c [new file with mode: 0644]
include/linux/iio/iio.h
include/linux/iio/triggered_event.h [new file with mode: 0644]