diff options
author | Daniel Baluta <daniel.baluta@intel.com> | 2015-11-09 10:14:00 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-12-03 21:19:27 +0300 |
commit | b662f809d41009749a9ee6f9a4db3d9af579e171 (patch) | |
tree | 0659aafbf7c3d51b871467f79f73f241f1e555cc /drivers/iio/Makefile | |
parent | 8261d961d1f397925d7a470864c14663d01ed714 (diff) | |
download | linux-b662f809d41009749a9ee6f9a4db3d9af579e171.tar.xz |
iio: core: Introduce IIO software triggers
A software trigger associates an IIO device trigger with a software
interrupt source (e.g: timer, sysfs). This patch adds the generic
infrastructure for handling software triggers.
Software interrupts sources are kept in a iio_trigger_types_list and
registered separately when the associated kernel module is loaded.
Software triggers can be created directly from drivers or from user
space via configfs interface.
To sum up, this dynamically creates "triggers" group to be found under
/config/iio/triggers and offers the possibility of dynamically
creating trigger types groups. The first supported trigger type is
"hrtimer" found under /config/iio/triggers/hrtimer.
Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/Makefile')
-rw-r--r-- | drivers/iio/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/Makefile b/drivers/iio/Makefile index 39d119f18f2e..f670b82298aa 100644 --- a/drivers/iio/Makefile +++ b/drivers/iio/Makefile @@ -8,6 +8,7 @@ industrialio-$(CONFIG_IIO_BUFFER) += industrialio-buffer.o industrialio-$(CONFIG_IIO_TRIGGER) += industrialio-trigger.o obj-$(CONFIG_IIO_CONFIGFS) += industrialio-configfs.o +obj-$(CONFIG_IIO_SW_TRIGGER) += industrialio-sw-trigger.o obj-$(CONFIG_IIO_TRIGGERED_EVENT) += industrialio-triggered-event.o obj-y += accel/ |