Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

iio:triggers:interrupt trigger - move out of staging.

This is now a very simple trigger indeed but useful in many common cases.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>

+10 -7
+9
drivers/iio/trigger/Kconfig
··· 3 3 # 4 4 menu "Triggers - standalone" 5 5 6 + config IIO_INTERRUPT_TRIGGER 7 + tristate "Generic interrupt trigger" 8 + help 9 + Provides support for using an interrupt of any type as an IIO 10 + trigger. This may be provided by a gpio driver for example. 11 + 12 + To compile this driver as a module, choose M here: the 13 + module will be called iio-trig-interrupt. 14 + 6 15 config IIO_SYSFS_TRIGGER 7 16 tristate "SYSFS trigger" 8 17 depends on SYSFS
+1
drivers/iio/trigger/Makefile
··· 2 2 # Makefile for triggers not associated with iio-devices 3 3 # 4 4 5 + obj-$(CONFIG_IIO_INTERRUPT_TRIGGER) += iio-trig-interrupt.o 5 6 obj-$(CONFIG_IIO_SYSFS_TRIGGER) += iio-trig-sysfs.o
-6
drivers/staging/iio/trigger/Kconfig
··· 12 12 Provides support for using periodic capable real time 13 13 clocks as IIO triggers. 14 14 15 - config IIO_INTERRUPT_TRIGGER 16 - tristate "Generic interrupt trigger" 17 - help 18 - Provides support for using interrupts of various types as IIO 19 - triggers. These may be provided by a gpio driver for example. 20 - 21 15 config IIO_BFIN_TMR_TRIGGER 22 16 tristate "Blackfin TIMER trigger" 23 17 depends on BLACKFIN
-1
drivers/staging/iio/trigger/Makefile
··· 3 3 # 4 4 5 5 obj-$(CONFIG_IIO_PERIODIC_RTC_TRIGGER) += iio-trig-periodic-rtc.o 6 - obj-$(CONFIG_IIO_INTERRUPT_TRIGGER) += iio-trig-interrupt.o 7 6 obj-$(CONFIG_IIO_BFIN_TMR_TRIGGER) += iio-trig-bfin-timer.o
drivers/staging/iio/trigger/iio-trig-interrupt.c drivers/iio/trigger/iio-trig-interrupt.c