@ -12,14 +12,9 @@ define KernelPackage/iio-core
KCONFIG:= \
CONFIG_IIO \
CONFIG_IIO_BUFFER = y \
CONFIG_IIO_KFIFO_BUF \
CONFIG_IIO_TRIGGER = y \
CONFIG_IIO_TRIGGERED_BUFFER
FILES:= \
$( LINUX_DIR) /drivers/iio/industrialio.ko \
$( if $( CONFIG_IIO_TRIGGERED_BUFFER) ,$( LINUX_DIR) /drivers/iio/buffer/industrialio-triggered-buffer.ko) \
$( LINUX_DIR) /drivers/iio/buffer/kfifo_buf.ko
AUTOLOAD:= $( call AutoLoad,55,industrialio kfifo_buf industrialio-triggered-buffer)
CONFIG_IIO_TRIGGER = y
FILES:= $( LINUX_DIR) /drivers/iio/industrialio.ko
AUTOLOAD:= $( call AutoLoad,55,industrialio)
e n d e f
d e f i n e K e r n e l P a c k a g e / i i o - c o r e / d e s c r i p t i o n
@ -31,9 +26,42 @@ endef
$( eval $ ( call KernelPackage ,iio -core ) )
d e f i n e K e r n e l P a c k a g e / i i o - k f i f o - b u f
SUBMENU:= $( IIO_MENU)
TITLE:= Industrial I/O buffering based on kfifo
DEPENDS:= +kmod-iio-core
KCONFIG:= CONFIG_IIO_KFIFO_BUF
FILES:= $( LINUX_DIR) /drivers/iio/buffer/kfifo_buf.ko
AUTOLOAD:= $( call AutoLoad,55,kfifo_buf)
e n d e f
d e f i n e K e r n e l P a c k a g e / i i o - k f i f o - b u f / d e s c r i p t i o n
A simple fifo based on kfifo. Note that this currently provides no buffer
events so it is up to userspace to work out how often to read from the buffer.
e n d e f
$( eval $ ( call KernelPackage ,iio -kfifo -buf ) )
d e f i n e K e r n e l P a c k a g e / i n d u s t r i a l i o - t r i g g e r e d - b u f f e r
SUBMENU:= $( IIO_MENU)
TITLE:= Provides helper functions for setting up triggered buffers.
DEPENDS:= +kmod-iio-core +kmod-iio-kfifo-buf
KCONFIG:= CONFIG_IIO_TRIGGERED_BUFFER
FILES:= $( LINUX_DIR) /drivers/iio/buffer/industrialio-triggered-buffer.ko
AUTOLOAD:= $( call AutoLoad,55,industrialio-triggered-buffer)
e n d e f
d e f i n e K e r n e l P a c k a g e / i n d u s t r i a l i o - t r i g g e r e d - b u f f e r / d e s c r i p t i o n
Provides helper functions for setting up triggered buffers.
e n d e f
$( eval $ ( call KernelPackage ,industrialio -triggered -buffer ) )
d e f i n e K e r n e l P a c k a g e / i i o - a d 7 9 9 x
SUBMENU:= $( IIO_MENU)
DEPENDS:= +kmod-i2c-core +kmod-iio-core
DEPENDS:= +kmod-i2c-core +kmod-iio-core +kmod-industrialio-triggered-buffer
TITLE:= Analog Devices AD799x ADC driver
KCONFIG:= \
CONFIG_AD799X_RING_BUFFER = y \
@ -52,7 +80,7 @@ $(eval $(call KernelPackage,iio-ad799x))
d e f i n e K e r n e l P a c k a g e / i i o - h m c 5 8 4 3
SUBMENU:= $( IIO_MENU)
DEPENDS:= +kmod-i2c-core +kmod-iio-core +kmod-regmap-i2c
DEPENDS:= +kmod-i2c-core +kmod-iio-core +kmod-regmap-i2c +kmod-industrialio-triggered-buffer
TITLE:= Honeywell HMC58x3 Magnetometer
KCONFIG:= CONFIG_SENSORS_HMC5843_I2C
FILES:= \
@ -82,7 +110,7 @@ $(eval $(call KernelPackage,iio-bh1750))
d e f i n e K e r n e l P a c k a g e / i i o - a m 2 3 1 5
SUBMENU:= $( IIO_MENU)
DEPENDS:= +kmod-i2c-core +kmod-iio-core
DEPENDS:= +kmod-i2c-core +kmod-iio-core +kmod-industrialio-triggered-buffer
TITLE:= Asong AM2315 humidity/temperature sensor
KCONFIG:= CONFIG_AM2315
FILES:= $( LINUX_DIR) /drivers/iio/humidity/am2315.ko
@ -95,7 +123,7 @@ $(eval $(call KernelPackage,iio-am2315))
d e f i n e K e r n e l P a c k a g e / i i o - m x s - l r a d c
SUBMENU:= $( IIO_MENU)
DEPENDS:= @TARGET_mxs +kmod-iio-core
DEPENDS:= @TARGET_mxs +kmod-iio-core +kmod-industrialio-triggered-buffer
TITLE:= Freescale i.MX23/i.MX28 LRADC ADC driver
KCONFIG:= \
CONFIG_MXS_LRADC_ADC
@ -245,7 +273,7 @@ $(eval $(call KernelPackage,iio-htu21))
d e f i n e K e r n e l P a c k a g e / i i o - c c s 8 1 1
SUBMENU:= $( IIO_MENU)
DEPENDS:= +kmod-i2c-core +kmod-iio-core
DEPENDS:= +kmod-i2c-core +kmod-iio-core +kmod-industrialio-triggered-buffer
TITLE:= AMS CCS811 VOC sensor
KCONFIG:= \
CONFIG_CCS811
@ -281,7 +309,7 @@ $(eval $(call KernelPackage,iio-si7020))
d e f i n e K e r n e l P a c k a g e / i i o - s t _ a c c e l
SUBMENU:= $( IIO_MENU)
TITLE:= STMicroelectronics accelerometer 3-Axis Driver
DEPENDS:= +kmod-iio-core +kmod-regmap-core
DEPENDS:= +kmod-iio-core +kmod-regmap-core +kmod-industrialio-triggered-buffer
KCONFIG:= \
CONFIG_IIO_ST_ACCEL_3AXIS \
CONFIG_IIO_ST_SENSORS_CORE