2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
6 IIO_MENU
:=Industrial I
/O Modules
9 define KernelPackage
/iio-core
11 TITLE
:=Industrial IO core
16 FILES
:=$(LINUX_DIR
)/drivers
/iio
/industrialio.ko
17 AUTOLOAD
:=$(call AutoLoad
,55,industrialio
)
20 define KernelPackage
/iio-core
/description
21 The industrial I
/O subsystem provides a unified framework for
22 drivers for many different types of embedded sensors using a
23 number of different physical interfaces
(i2c
, spi
, etc
)
26 $(eval
$(call KernelPackage
,iio-core
))
29 define KernelPackage
/iio-kfifo-buf
31 TITLE
:=Industrial I
/O buffering based on kfifo
32 DEPENDS
:=+kmod-iio-core
33 KCONFIG
:=CONFIG_IIO_KFIFO_BUF
34 FILES
:=$(LINUX_DIR
)/drivers
/iio
/buffer
/kfifo_buf.ko
35 AUTOLOAD
:=$(call AutoLoad
,55,kfifo_buf
)
38 define KernelPackage
/iio-kfifo-buf
/description
39 A simple fifo based on kfifo. Note that this currently provides no buffer
40 events so it is up to userspace to work out how often to read from the buffer.
43 $(eval
$(call KernelPackage
,iio-kfifo-buf
))
46 define KernelPackage
/industrialio-triggered-buffer
48 TITLE
:=Provides helper functions for setting up triggered buffers.
49 DEPENDS
:=+kmod-iio-core
+kmod-iio-kfifo-buf
50 KCONFIG
:=CONFIG_IIO_TRIGGERED_BUFFER
51 FILES
:=$(LINUX_DIR
)/drivers
/iio
/buffer
/industrialio-triggered-buffer.ko
52 AUTOLOAD
:=$(call AutoLoad
,55,industrialio-triggered-buffer
)
55 define KernelPackage
/industrialio-triggered-buffer
/description
56 Provides helper functions for setting up triggered buffers.
59 $(eval
$(call KernelPackage
,industrialio-triggered-buffer
))
62 define KernelPackage
/iio-ad799x
64 DEPENDS
:=+kmod-i2c-core
+kmod-iio-core
+kmod-industrialio-triggered-buffer
65 TITLE
:=Analog Devices AD799x ADC driver
67 CONFIG_AD799X_RING_BUFFER
=y \
69 FILES
:=$(LINUX_DIR
)/drivers
/iio
/adc
/ad799x.ko
70 AUTOLOAD
:=$(call AutoLoad
,56,ad799x
)
73 define KernelPackage
/iio-ad799x
/description
74 support for Analog Devices
:
75 ad7991
, ad7995
, ad7999
, ad7992
, ad7993
, ad7994
, ad7997
, ad7998
76 i2c analog to digital converters
(ADC
).
79 $(eval
$(call KernelPackage
,iio-ad799x
))
81 define KernelPackage
/iio-hmc5843
83 DEPENDS
:=+kmod-i2c-core
+kmod-iio-core
+kmod-regmap-i2c
+kmod-industrialio-triggered-buffer
84 TITLE
:=Honeywell HMC58x3 Magnetometer
85 KCONFIG
:= CONFIG_SENSORS_HMC5843_I2C
87 $(LINUX_DIR
)/drivers
/iio
/magnetometer
/hmc5843_i2c.ko \
88 $(LINUX_DIR
)/drivers
/iio
/magnetometer
/hmc5843_core.ko
89 AUTOLOAD
:=$(call AutoLoad
,56,hmc5843
)
92 define KernelPackage
/iio-hmc5843
/description
93 Honeywell HMC5843
/5883/5883L 3-Axis Magnetometer
96 $(eval
$(call KernelPackage
,iio-hmc5843
))
98 define KernelPackage
/iio-bh1750
100 DEPENDS
:=+kmod-i2c-core
+kmod-iio-core
101 TITLE
:=ROHM BH1750 ambient light sensor
102 KCONFIG
:= CONFIG_BH1750
103 FILES
:=$(LINUX_DIR
)/drivers
/iio
/light
/bh1750.ko
104 AUTOLOAD
:=$(call AutoLoad
,56,bh1750
)
106 define KernelPackage
/iio-bh1750
/description
107 ROHM BH1750 ambient light sensor
(i2c bus
)
109 $(eval
$(call KernelPackage
,iio-bh1750
))
111 define KernelPackage
/iio-am2315
113 DEPENDS
:=+kmod-i2c-core
+kmod-iio-core
+kmod-industrialio-triggered-buffer
114 TITLE
:=Asong AM2315 humidity
/temperature sensor
115 KCONFIG
:= CONFIG_AM2315
116 FILES
:=$(LINUX_DIR
)/drivers
/iio
/humidity
/am2315.ko
117 AUTOLOAD
:=$(call AutoLoad
,56,am2315
)
119 define KernelPackage
/iio-am2315
/description
120 Aosong AM2315 humidity
/temperature sensor
(I2C bus
)
122 $(eval
$(call KernelPackage
,iio-am2315
))
124 define KernelPackage
/iio-mxs-lradc
126 DEPENDS
:=@TARGET_mxs
+kmod-iio-core
+kmod-industrialio-triggered-buffer
127 TITLE
:=Freescale i.MX23
/i.MX28 LRADC ADC driver
130 FILES
:=$(LINUX_DIR
)/drivers
/iio
/adc
/mxs-lradc-adc.ko
131 AUTOLOAD
:=$(call AutoLoad
,56,mxs-lradc-adc
)
134 define KernelPackage
/iio-mxs-lradc
/description
135 Support for Freescale
's i.MX23/i.MX28 SoC internal Low-Resolution ADC
138 $(eval $(call KernelPackage,iio-mxs-lradc))
140 define KernelPackage/iio-dht11
142 DEPENDS:=+kmod-iio-core @GPIO_SUPPORT @USES_DEVICETREE
143 TITLE:=DHT11 (and compatible) humidity and temperature sensors
146 FILES:=$(LINUX_DIR)/drivers/iio/humidity/dht11.ko
147 AUTOLOAD:=$(call AutoLoad,56,dht11)
150 define KernelPackage/iio-dht11/description
151 support for DHT11 and DHT22 digitial humidity and temperature sensors
152 attached at GPIO lines. You will need a custom device tree file to
153 specify the GPIO line to use.
156 $(eval $(call KernelPackage,iio-dht11))
159 define KernelPackage/iio-bme680
161 TITLE:=BME680 gas/humidity/pressure/temperature sensor
162 DEPENDS:=+kmod-iio-core +kmod-regmap-core
163 KCONFIG:=CONFIG_BME680
164 FILES:=$(LINUX_DIR)/drivers/iio/chemical/bme680_core.ko
167 define KernelPackage/iio-bme680/description
168 This driver adds support for Bosch Sensortec BME680 sensor with gas,
169 humidity, pressure and temperatue sensing capability.
172 $(eval $(call KernelPackage,iio-bme680))
174 define KernelPackage/iio-bme680-i2c
176 TITLE:=BME680 gas/humidity/pressure/temperature sensor (I2C)
177 DEPENDS:=+kmod-iio-bme680 +kmod-regmap-i2c
178 KCONFIG:=CONFIG_BME680_I2C
179 FILES:=$(LINUX_DIR)/drivers/iio/chemical/bme680_i2c.ko
180 AUTOLOAD:=$(call AutoProbe,bme680-i2c)
182 define KernelPackage/iio-bme680-i2c/description
183 This driver adds support for Bosch Sensortec's BME680 connected via I2C.
186 $(eval
$(call KernelPackage
,iio-bme680-i2c
))
188 define KernelPackage
/iio-bme680-spi
190 TITLE
:=BME680 gas
/humidity
/pressure
/temperature sensor
(SPI
)
191 DEPENDS
:=+kmod-iio-bme680
+kmod-regmap-spi
192 KCONFIG
:=CONFIG_BME680_SPI
193 FILES
:=$(LINUX_DIR
)/drivers
/iio
/chemical
/bme680_spi.ko
194 AUTOLOAD
:=$(call AutoProbe
,bme680-spi
)
196 define KernelPackage
/iio-bme680-spi
/description
197 This driver adds support for Bosch Sensortec
's BME680 connected via SPI.
200 $(eval $(call KernelPackage,iio-bme680-spi))
203 define KernelPackage/iio-bmp280
205 TITLE:=BMP180/BMP280/BME280 pressure/temperatur sensor
206 DEPENDS:=+kmod-iio-core +kmod-regmap-core
207 KCONFIG:=CONFIG_BMP280
208 FILES:=$(LINUX_DIR)/drivers/iio/pressure/bmp280.ko
211 define KernelPackage/iio-bmp280/description
212 This driver adds support for Bosch Sensortec BMP180 and BMP280 pressure and
213 temperature sensors. Also supports the BME280 with an additional humidity
217 $(eval $(call KernelPackage,iio-bmp280))
220 define KernelPackage/iio-bmp280-i2c
222 TITLE:=BMP180/BMP280/BME280 pressure/temperatur sensor (I2C)
223 DEPENDS:=+kmod-iio-bmp280 +kmod-i2c-core +kmod-regmap-i2c
224 KCONFIG:=CONFIG_BMP280_I2C
225 FILES:=$(LINUX_DIR)/drivers/iio/pressure/bmp280-i2c.ko
226 AUTOLOAD:=$(call AutoProbe,bmp280-i2c)
228 define KernelPackage/iio-bmp280-i2c/description
229 This driver adds support for Bosch Sensortec's digital pressure and
230 temperature sensor connected via I2C.
233 $(eval
$(call KernelPackage
,iio-bmp280-i2c
))
236 define KernelPackage
/iio-bmp280-spi
238 TITLE
:=BMP180
/BMP280
/BME280 pressure
/temperatur sensor
(SPI
)
239 DEPENDS
:=+kmod-iio-bmp280
+kmod-spi-bitbang
240 KCONFIG
:=CONFIG_BMP280_SPI
241 FILES
:=$(LINUX_DIR
)/drivers
/iio
/pressure
/bmp280-spi.ko
242 AUTOLOAD
:=$(call AutoProbe
,bmp280-spi
)
244 define KernelPackage
/iio-bmp280-spi
/description
245 This driver adds support for Bosch Sensortec
's digital pressure and
246 temperature sensor connected via SPI.
249 $(eval $(call KernelPackage,iio-bmp280-spi))
251 define KernelPackage/iio-htu21
253 DEPENDS:=+kmod-i2c-core +kmod-iio-core
254 TITLE:=HTU21 humidity & temperature sensor
257 CONFIG_IIO_MS_SENSORS_I2C
259 $(LINUX_DIR)/drivers/iio/humidity/htu21.ko \
260 $(LINUX_DIR)/drivers/iio/common/ms_sensors/ms_sensors_i2c.ko
261 AUTOLOAD:=$(call AutoLoad,56,htu21)
264 define KernelPackage/iio-htu21/description
265 support for the Measurement Specialties HTU21 humidity and
267 This driver is also used for MS8607 temperature, pressure & humidity
271 $(eval $(call KernelPackage,iio-htu21))
274 define KernelPackage/iio-ccs811
276 DEPENDS:=+kmod-i2c-core +kmod-iio-core +kmod-industrialio-triggered-buffer
277 TITLE:=AMS CCS811 VOC sensor
280 FILES:= $(LINUX_DIR)/drivers/iio/chemical/ccs811.ko
281 AUTOLOAD:=$(call AutoLoad,56,ccs811)
284 define KernelPackage/iio-ccs811/description
285 Support for the AMS CCS811 VOC (Volatile Organic Compounds) sensor
288 $(eval $(call KernelPackage,iio-ccs811))
291 define KernelPackage/iio-si7020
293 DEPENDS:=+kmod-i2c-core +kmod-iio-core
294 TITLE:=Silicon Labs Si7020 sensor
295 KCONFIG:= CONFIG_SI7020
296 FILES:=$(LINUX_DIR)/drivers/iio/humidity/si7020.ko
297 AUTOLOAD:=$(call AutoLoad,56,si7020)
300 define KernelPackage/iio-si7020/description
301 Support for Silicon Labs Si7020 family of relative humidity and
302 temperature sensors connected via I2C. Following models are usable:
303 Si7013, Si7020, Si7021, Hoperf TH06.
306 $(eval $(call KernelPackage,iio-si7020))
309 define KernelPackage/iio-st_accel
311 TITLE:=STMicroelectronics accelerometer 3-Axis Driver
312 DEPENDS:=+kmod-iio-core +kmod-regmap-core +kmod-industrialio-triggered-buffer
314 CONFIG_IIO_ST_ACCEL_3AXIS \
315 CONFIG_IIO_ST_SENSORS_CORE
317 $(LINUX_DIR)/drivers/iio/accel/st_accel.ko \
318 $(LINUX_DIR)/drivers/iio/common/st_sensors/st_sensors.ko
321 define KernelPackage/iio-st_accel/description
322 This package adds support for STMicroelectronics accelerometers:
323 LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
324 LIS331DLH, LSM303DL, LSM303DLM, LSM330, LIS2DH12, H3LIS331DL,
325 LNG2DM, LIS3DE, LIS2DE12
328 $(eval $(call KernelPackage,iio-st_accel))
331 define KernelPackage/iio-st_accel-i2c
333 TITLE:=STMicroelectronics accelerometer 3-Axis Driver (I2C)
334 DEPENDS:=+kmod-iio-st_accel +kmod-i2c-core +kmod-regmap-i2c
335 KCONFIG:= CONFIG_IIO_ST_ACCEL_I2C_3AXIS
337 $(LINUX_DIR)/drivers/iio/accel/st_accel_i2c.ko \
338 $(LINUX_DIR)/drivers/iio/common/st_sensors/st_sensors_i2c.ko
339 AUTOLOAD:=$(call AutoLoad,56,st_accel_i2c)
342 define KernelPackage/iio-st_accel-i2c/description
343 This package adds support for STMicroelectronics I2C based accelerometers
346 $(eval $(call KernelPackage,iio-st_accel-i2c))
349 define KernelPackage/iio-st_accel-spi
351 TITLE:=STMicroelectronics accelerometer 3-Axis Driver (SPI)
352 DEPENDS:=+kmod-iio-st_accel +kmod-regmap-spi
353 KCONFIG:= CONFIG_IIO_ST_ACCEL_SPI_3AXIS
355 $(LINUX_DIR)/drivers/iio/accel/st_accel_spi.ko \
356 $(LINUX_DIR)/drivers/iio/common/st_sensors/st_sensors_spi.ko
357 AUTOLOAD:=$(call AutoLoad,56,st_accel_spi)
360 define KernelPackage/iio-st_accel-spi/description
361 This package adds support for STMicroelectronics SPI based accelerometers
364 $(eval $(call KernelPackage,iio-st_accel-spi))
367 define KernelPackage/iio-lsm6dsx
369 DEPENDS:=+kmod-iio-core +kmod-iio-kfifo-buf +kmod-regmap-core
370 TITLE:=ST LSM6DSx driver for IMU MEMS sensors
371 KCONFIG:=CONFIG_IIO_ST_LSM6DSX
372 FILES:=$(LINUX_DIR)/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.ko
373 AUTOLOAD:=$(call AutoProbe,st_lsm6dsx)
376 define KernelPackage/iio-lsm6dsx/description
377 Support for the ST LSM6DSx and related IMU MEMS sensors.
380 $(eval $(call KernelPackage,iio-lsm6dsx))
383 define KernelPackage/iio-lsm6dsx-i2c
385 DEPENDS:=+kmod-iio-lsm6dsx +kmod-i2c-core +kmod-regmap-i2c
386 TITLE:=ST LSM6DSx driver for IMU MEMS sensors (I2C)
387 KCONFIG:=CONFIG_IIO_ST_LSM6DSX
388 FILES:=$(LINUX_DIR)/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.ko
389 AUTOLOAD:=$(call AutoProbe,st_lsm6dsx-i2c)
392 define KernelPackage/iio-lsm6dsx-i2c/description
393 Support for the ST LSM6DSx and related IMU MEMS I2C sensors.
396 $(eval $(call KernelPackage,iio-lsm6dsx-i2c))
399 define KernelPackage/iio-lsm6dsx-spi
401 DEPENDS:=+kmod-iio-lsm6dsx +kmod-regmap-spi
402 TITLE:=ST LSM6DSx driver for IMU MEMS sensors (SPI)
403 KCONFIG:=CONFIG_IIO_ST_LSM6DSX
404 FILES:=$(LINUX_DIR)/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_spi.ko
405 AUTOLOAD:=$(call AutoProbe,st_lsm6dsx-spi)
408 define KernelPackage/iio-lsm6dsx-spi/description
409 Support for the ST LSM6DSx and related IMU MEMS SPI sensors.
412 $(eval $(call KernelPackage,iio-lsm6dsx-spi))
415 define KernelPackage/iio-sps30
417 DEPENDS:=+kmod-i2c-core +kmod-iio-core +kmod-industrialio-triggered-buffer +kmod-lib-crc8
418 TITLE:=Sensirion SPS30 particulate matter sensor
419 KCONFIG:=CONFIG_SPS30
420 FILES:=$(LINUX_DIR)/drivers/iio/chemical/sps30.ko
421 AUTOLOAD:=$(call AutoProbe,sps30)
424 define KernelPackage/iio-sps30/description
425 Support for the Sensirion SPS30 particulate matter sensor.
428 $(eval $(call KernelPackage,iio-sps30))
431 define KernelPackage/iio-tsl4531
433 DEPENDS:=+kmod-i2c-core +kmod-iio-core
434 TITLE:=TAOS TSL4531 ambient light sensor
435 KCONFIG:= CONFIG_TSL4531
436 FILES:=$(LINUX_DIR)/drivers/iio/light/tsl4531.ko
437 AUTOLOAD:=$(call AutoLoad,56,tsl4531)
440 define KernelPackage/iio-tsl4531/description
441 Support for TAOS TSL4531x family of ambient light sensors
442 connected via I2C. Following models are usable:
443 TSL45311, TSL45313, TSL45315, TSL45317.
446 $(eval $(call KernelPackage,iio-tsl4531))
449 define KernelPackage/iio-fxas21002c
451 TITLE:=Freescale FXAS21002C 3-axis gyro driver
452 DEPENDS:=+kmod-iio-core +kmod-regmap-core +kmod-industrialio-triggered-buffer
453 KCONFIG:= CONFIG_FXAS21002C
454 FILES:=$(LINUX_DIR)/drivers/iio/gyro/fxas21002c_core.ko
455 AUTOLOAD:=$(call AutoLoad,56,fxas21002c)
458 define KernelPackage/iio-fxas21002c/description
459 Support for Freescale FXAS21002C 3-axis gyro.
462 $(eval $(call KernelPackage,iio-fxas21002c))
465 define KernelPackage/iio-fxas21002c-i2c
467 TITLE:=Freescale FXAS21002C 3-axis gyro driver (I2C)
468 DEPENDS:=+kmod-iio-fxas21002c +kmod-i2c-core +kmod-regmap-i2c
469 KCONFIG:= CONFIG_FXAS21002C_I2C
470 FILES:=$(LINUX_DIR)/drivers/iio/gyro/fxas21002c_i2c.ko
471 AUTOLOAD:=$(call AutoLoad,56,fxas21002c_i2c)
474 define KernelPackage/iio-fxas21002c-i2c/description
475 Support for Freescale FXAS21002C 3-axis gyro
480 $(eval $(call KernelPackage,iio-fxas21002c-i2c))
482 define KernelPackage/iio-fxas21002c-spi
484 DEPENDS:=+kmod-iio-fxas21002c +kmod-regmap-spi
485 TITLE:=Freescale FXAS21002C 3-axis gyro driver (SPI)
486 KCONFIG:= CONFIG_FXAS21002C_SPI
487 FILES:=$(LINUX_DIR)/drivers/iio/gyro/fxas21002c_spi.ko
488 AUTOLOAD:=$(call AutoLoad,56,fxas21002c_spi)
491 define KernelPackage/iio-fxas21002c-spi/description
492 Support for Freescale FXAS21002C 3-axis gyro
496 $(eval $(call KernelPackage,iio-fxas21002c-spi))
499 define KernelPackage/iio-fxos8700
501 TITLE:=Freescale FXOS8700 3-axis accelerometer driver
502 DEPENDS:=+kmod-iio-core +kmod-regmap-core
503 KCONFIG:= CONFIG_FXOS8700
504 FILES:=$(LINUX_DIR)/drivers/iio/imu/fxos8700_core.ko
505 AUTOLOAD:=$(call AutoLoad,56,fxos8700)
508 define KernelPackage/iio-fxos8700/description
509 Support for Freescale FXOS8700 3-axis accelerometer.
512 $(eval $(call KernelPackage,iio-fxos8700))
515 define KernelPackage/iio-fxos8700-i2c
517 TITLE:=Freescale FXOS8700 3-axis acceleromter driver (I2C)
518 DEPENDS:=+kmod-iio-fxos8700 +kmod-i2c-core +kmod-regmap-i2c
519 KCONFIG:= CONFIG_FXOS8700_I2C
520 FILES:=$(LINUX_DIR)/drivers/iio/imu/fxos8700_i2c.ko
521 AUTOLOAD:=$(call AutoLoad,56,fxos8700_i2c)
524 define KernelPackage/iio-fxos8700-i2c/description
525 Support for Freescale FXOS8700 3-axis accelerometer
530 $(eval $(call KernelPackage,iio-fxos8700-i2c))
532 define KernelPackage/iio-fxos8700-spi
534 DEPENDS:=+kmod-iio-fxos8700 +kmod-regmap-spi
535 TITLE:=Freescale FXOS8700 3-axis accelerometer driver (SPI)
536 KCONFIG:= CONFIG_FXOS8700_SPI
537 FILES:=$(LINUX_DIR)/drivers/iio/imu/fxos8700_spi.ko
538 AUTOLOAD:=$(call AutoLoad,56,fxos8700_spi)
541 define KernelPackage/iio-fxos8700-spi/description
542 Support for Freescale FXOS8700 3-axis accelerometer
546 $(eval $(call KernelPackage,iio-fxos8700-spi))