forked from Minki/linux
b662f809d4
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>
34 lines
817 B
Makefile
34 lines
817 B
Makefile
#
|
|
# Makefile for the industrial I/O core.
|
|
#
|
|
|
|
obj-$(CONFIG_IIO) += industrialio.o
|
|
industrialio-y := industrialio-core.o industrialio-event.o inkern.o
|
|
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/
|
|
obj-y += adc/
|
|
obj-y += amplifiers/
|
|
obj-y += buffer/
|
|
obj-y += chemical/
|
|
obj-y += common/
|
|
obj-y += dac/
|
|
obj-y += dummy/
|
|
obj-y += gyro/
|
|
obj-y += frequency/
|
|
obj-y += humidity/
|
|
obj-y += imu/
|
|
obj-y += light/
|
|
obj-y += magnetometer/
|
|
obj-y += orientation/
|
|
obj-y += potentiometer/
|
|
obj-y += pressure/
|
|
obj-y += proximity/
|
|
obj-y += temperature/
|
|
obj-y += trigger/
|