summaryrefslogtreecommitdiff
path: root/drivers/iio/trigger/Makefile
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@intel.com>2015-11-09 09:14:01 +0200
committerJonathan Cameron <jic23@kernel.org>2015-12-03 18:19:27 +0000
commitac5006a2a558a2441a840c7be1e0e717839d5e07 (patch)
tree5c285709eb45eb37cbdfa4e7f7661d790b646555 /drivers/iio/trigger/Makefile
parentb662f809d41009749a9ee6f9a4db3d9af579e171 (diff)
iio: trigger: Introduce IIO hrtimer based trigger
This patch registers a new IIO software trigger interrupt source based on high resolution timers. Notice that if configfs is enabled we create sampling_frequency attribute allowing users to change hrtimer period (1/sampling_frequency). The IIO hrtimer trigger has a long history, this patch is based on an older version from Marten and Lars-Peter. Signed-off-by: Marten Svanfeldt <marten@intuitiveaerial.com> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Daniel Baluta <daniel.baluta@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/trigger/Makefile')
-rw-r--r--drivers/iio/trigger/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/trigger/Makefile b/drivers/iio/trigger/Makefile
index 0694daecaf22..fe06eb564367 100644
--- a/drivers/iio/trigger/Makefile
+++ b/drivers/iio/trigger/Makefile
@@ -3,5 +3,7 @@
#
# When adding new entries keep the list in alphabetical order
+
+obj-$(CONFIG_IIO_HRTIMER_TRIGGER) += iio-trig-hrtimer.o
obj-$(CONFIG_IIO_INTERRUPT_TRIGGER) += iio-trig-interrupt.o
obj-$(CONFIG_IIO_SYSFS_TRIGGER) += iio-trig-sysfs.o