2017-10-18 17:13:27 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
IIO_MENU:=Industrial I/O Modules
|
|
|
|
|
|
|
|
|
|
|
|
define KernelPackage/iio-core
|
|
|
|
SUBMENU:=$(IIO_MENU)
|
|
|
|
TITLE:=Industrial IO core
|
|
|
|
KCONFIG:= \
|
|
|
|
CONFIG_IIO \
|
|
|
|
CONFIG_IIO_BUFFER=y \
|
2020-02-23 20:45:05 +00:00
|
|
|
CONFIG_IIO_TRIGGER=y
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/iio/industrialio.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,55,industrialio)
|
2017-10-18 17:13:27 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/iio-core/description
|
|
|
|
The industrial I/O subsystem provides a unified framework for
|
|
|
|
drivers for many different types of embedded sensors using a
|
|
|
|
number of different physical interfaces (i2c, spi, etc)
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-core))
|
|
|
|
|
2022-10-19 22:00:37 +00:00
|
|
|
define AddDepends/iio
|
|
|
|
SUBMENU:=$(IIO_MENU)
|
|
|
|
DEPENDS+=+kmod-iio-core $(1)
|
|
|
|
endef
|
2017-10-18 17:13:27 +00:00
|
|
|
|
2020-02-23 20:45:05 +00:00
|
|
|
define KernelPackage/iio-kfifo-buf
|
|
|
|
TITLE:=Industrial I/O buffering based on kfifo
|
|
|
|
KCONFIG:=CONFIG_IIO_KFIFO_BUF
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/iio/buffer/kfifo_buf.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,55,kfifo_buf)
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2020-02-23 20:45:05 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/iio-kfifo-buf/description
|
|
|
|
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.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-kfifo-buf))
|
|
|
|
|
|
|
|
|
|
|
|
define KernelPackage/industrialio-triggered-buffer
|
|
|
|
TITLE:=Provides helper functions for setting up triggered buffers.
|
2022-10-19 22:00:37 +00:00
|
|
|
DEPENDS:=+kmod-iio-kfifo-buf
|
2020-02-23 20:45:05 +00:00
|
|
|
KCONFIG:=CONFIG_IIO_TRIGGERED_BUFFER
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/iio/buffer/industrialio-triggered-buffer.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,55,industrialio-triggered-buffer)
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2020-02-23 20:45:05 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/industrialio-triggered-buffer/description
|
|
|
|
Provides helper functions for setting up triggered buffers.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,industrialio-triggered-buffer))
|
|
|
|
|
|
|
|
|
2017-10-18 17:13:27 +00:00
|
|
|
define KernelPackage/iio-ad799x
|
2022-10-19 22:00:37 +00:00
|
|
|
DEPENDS:=+kmod-i2c-core +kmod-industrialio-triggered-buffer
|
2017-10-18 17:13:27 +00:00
|
|
|
TITLE:=Analog Devices AD799x ADC driver
|
|
|
|
KCONFIG:= \
|
|
|
|
CONFIG_AD799X_RING_BUFFER=y \
|
|
|
|
CONFIG_AD799X
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/iio/adc/ad799x.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,56,ad799x)
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2017-10-18 17:13:27 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/iio-ad799x/description
|
|
|
|
support for Analog Devices:
|
|
|
|
ad7991, ad7995, ad7999, ad7992, ad7993, ad7994, ad7997, ad7998
|
|
|
|
i2c analog to digital converters (ADC).
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-ad799x))
|
|
|
|
|
2021-09-05 02:37:14 +00:00
|
|
|
define KernelPackage/iio-ads1015
|
2022-10-19 22:00:37 +00:00
|
|
|
DEPENDS:=+kmod-i2c-core +kmod-regmap-i2c +kmod-industrialio-triggered-buffer
|
2021-09-05 02:37:14 +00:00
|
|
|
TITLE:=Texas Instruments ADS1015 ADC driver
|
|
|
|
KCONFIG:= CONFIG_TI_ADS1015
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/iio/adc/ti-ads1015.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,56,ti-ads1015)
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2021-09-05 02:37:14 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/iio-ads1015/description
|
|
|
|
This driver adds support for Texas Instruments ADS1015 and ADS1115 ADCs.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-ads1015))
|
|
|
|
|
2018-12-06 11:54:41 +00:00
|
|
|
define KernelPackage/iio-hmc5843
|
2022-10-19 22:00:37 +00:00
|
|
|
DEPENDS:=+kmod-i2c-core +kmod-regmap-i2c +kmod-industrialio-triggered-buffer
|
2018-12-06 11:54:41 +00:00
|
|
|
TITLE:=Honeywell HMC58x3 Magnetometer
|
|
|
|
KCONFIG:= CONFIG_SENSORS_HMC5843_I2C
|
|
|
|
FILES:= \
|
|
|
|
$(LINUX_DIR)/drivers/iio/magnetometer/hmc5843_i2c.ko \
|
|
|
|
$(LINUX_DIR)/drivers/iio/magnetometer/hmc5843_core.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,56,hmc5843)
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2018-12-06 11:54:41 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/iio-hmc5843/description
|
|
|
|
Honeywell HMC5843/5883/5883L 3-Axis Magnetometer
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-hmc5843))
|
|
|
|
|
2018-11-05 02:27:30 +00:00
|
|
|
define KernelPackage/iio-bh1750
|
2022-10-19 22:00:37 +00:00
|
|
|
DEPENDS:=+kmod-i2c-core
|
2018-11-05 02:27:30 +00:00
|
|
|
TITLE:=ROHM BH1750 ambient light sensor
|
|
|
|
KCONFIG:= CONFIG_BH1750
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/iio/light/bh1750.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,56,bh1750)
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2018-11-05 02:27:30 +00:00
|
|
|
endef
|
|
|
|
define KernelPackage/iio-bh1750/description
|
|
|
|
ROHM BH1750 ambient light sensor (i2c bus)
|
|
|
|
endef
|
|
|
|
$(eval $(call KernelPackage,iio-bh1750))
|
|
|
|
|
2018-10-12 12:16:42 +00:00
|
|
|
define KernelPackage/iio-am2315
|
2022-10-19 22:00:37 +00:00
|
|
|
DEPENDS:=+kmod-i2c-core +kmod-industrialio-triggered-buffer
|
2018-10-12 12:16:42 +00:00
|
|
|
TITLE:=Asong AM2315 humidity/temperature sensor
|
|
|
|
KCONFIG:= CONFIG_AM2315
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/iio/humidity/am2315.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,56,am2315)
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2018-10-12 12:16:42 +00:00
|
|
|
endef
|
|
|
|
define KernelPackage/iio-am2315/description
|
|
|
|
Aosong AM2315 humidity/temperature sensor (I2C bus)
|
|
|
|
endef
|
|
|
|
$(eval $(call KernelPackage,iio-am2315))
|
|
|
|
|
2018-02-11 13:19:15 +00:00
|
|
|
define KernelPackage/iio-mxs-lradc
|
2022-10-19 22:00:37 +00:00
|
|
|
DEPENDS:=@TARGET_mxs +kmod-industrialio-triggered-buffer
|
2018-02-11 13:19:15 +00:00
|
|
|
TITLE:=Freescale i.MX23/i.MX28 LRADC ADC driver
|
|
|
|
KCONFIG:= \
|
|
|
|
CONFIG_MXS_LRADC_ADC
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/iio/adc/mxs-lradc-adc.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,56,mxs-lradc-adc)
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2018-02-11 13:19:15 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/iio-mxs-lradc/description
|
|
|
|
Support for Freescale's i.MX23/i.MX28 SoC internal Low-Resolution ADC
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-mxs-lradc))
|
2017-10-18 17:13:27 +00:00
|
|
|
|
|
|
|
define KernelPackage/iio-dht11
|
2022-10-19 22:00:37 +00:00
|
|
|
DEPENDS:=@GPIO_SUPPORT @USES_DEVICETREE
|
2017-10-18 17:13:27 +00:00
|
|
|
TITLE:=DHT11 (and compatible) humidity and temperature sensors
|
|
|
|
KCONFIG:= \
|
|
|
|
CONFIG_DHT11
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/iio/humidity/dht11.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,56,dht11)
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2017-10-18 17:13:27 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/iio-dht11/description
|
|
|
|
support for DHT11 and DHT22 digitial humidity and temperature sensors
|
|
|
|
attached at GPIO lines. You will need a custom device tree file to
|
|
|
|
specify the GPIO line to use.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-dht11))
|
2017-10-18 17:17:56 +00:00
|
|
|
|
2019-04-07 22:39:34 +00:00
|
|
|
|
|
|
|
define KernelPackage/iio-bme680
|
|
|
|
TITLE:=BME680 gas/humidity/pressure/temperature sensor
|
2022-10-19 22:00:37 +00:00
|
|
|
DEPENDS:=+kmod-regmap-core
|
2019-04-07 22:39:34 +00:00
|
|
|
KCONFIG:=CONFIG_BME680
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/iio/chemical/bme680_core.ko
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2019-04-07 22:39:34 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/iio-bme680/description
|
|
|
|
This driver adds support for Bosch Sensortec BME680 sensor with gas,
|
|
|
|
humidity, pressure and temperatue sensing capability.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-bme680))
|
|
|
|
|
|
|
|
define KernelPackage/iio-bme680-i2c
|
|
|
|
TITLE:=BME680 gas/humidity/pressure/temperature sensor (I2C)
|
|
|
|
DEPENDS:=+kmod-iio-bme680 +kmod-regmap-i2c
|
|
|
|
KCONFIG:=CONFIG_BME680_I2C
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/iio/chemical/bme680_i2c.ko
|
|
|
|
AUTOLOAD:=$(call AutoProbe,bme680-i2c)
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2019-04-07 22:39:34 +00:00
|
|
|
endef
|
|
|
|
define KernelPackage/iio-bme680-i2c/description
|
|
|
|
This driver adds support for Bosch Sensortec's BME680 connected via I2C.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-bme680-i2c))
|
|
|
|
|
|
|
|
define KernelPackage/iio-bme680-spi
|
|
|
|
TITLE:=BME680 gas/humidity/pressure/temperature sensor (SPI)
|
|
|
|
DEPENDS:=+kmod-iio-bme680 +kmod-regmap-spi
|
|
|
|
KCONFIG:=CONFIG_BME680_SPI
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/iio/chemical/bme680_spi.ko
|
|
|
|
AUTOLOAD:=$(call AutoProbe,bme680-spi)
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2019-04-07 22:39:34 +00:00
|
|
|
endef
|
|
|
|
define KernelPackage/iio-bme680-spi/description
|
|
|
|
This driver adds support for Bosch Sensortec's BME680 connected via SPI.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-bme680-spi))
|
|
|
|
|
|
|
|
|
2017-10-18 17:17:56 +00:00
|
|
|
define KernelPackage/iio-bmp280
|
|
|
|
TITLE:=BMP180/BMP280/BME280 pressure/temperatur sensor
|
2022-10-19 22:00:37 +00:00
|
|
|
DEPENDS:=+kmod-regmap-core
|
2017-10-18 17:17:56 +00:00
|
|
|
KCONFIG:=CONFIG_BMP280
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/iio/pressure/bmp280.ko
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2017-10-18 17:17:56 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/iio-bmp280/description
|
|
|
|
This driver adds support for Bosch Sensortec BMP180 and BMP280 pressure and
|
|
|
|
temperature sensors. Also supports the BME280 with an additional humidity
|
|
|
|
sensor channel.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-bmp280))
|
|
|
|
|
|
|
|
|
|
|
|
define KernelPackage/iio-bmp280-i2c
|
|
|
|
TITLE:=BMP180/BMP280/BME280 pressure/temperatur sensor (I2C)
|
2019-01-11 17:05:11 +00:00
|
|
|
DEPENDS:=+kmod-iio-bmp280 +kmod-i2c-core +kmod-regmap-i2c
|
2017-10-18 17:17:56 +00:00
|
|
|
KCONFIG:=CONFIG_BMP280_I2C
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/iio/pressure/bmp280-i2c.ko
|
2019-04-30 15:58:42 +00:00
|
|
|
AUTOLOAD:=$(call AutoProbe,bmp280-i2c)
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2017-10-18 17:17:56 +00:00
|
|
|
endef
|
|
|
|
define KernelPackage/iio-bmp280-i2c/description
|
|
|
|
This driver adds support for Bosch Sensortec's digital pressure and
|
|
|
|
temperature sensor connected via I2C.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-bmp280-i2c))
|
|
|
|
|
|
|
|
|
|
|
|
define KernelPackage/iio-bmp280-spi
|
|
|
|
TITLE:=BMP180/BMP280/BME280 pressure/temperatur sensor (SPI)
|
|
|
|
DEPENDS:=+kmod-iio-bmp280 +kmod-spi-bitbang
|
|
|
|
KCONFIG:=CONFIG_BMP280_SPI
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/iio/pressure/bmp280-spi.ko
|
2019-04-30 15:58:42 +00:00
|
|
|
AUTOLOAD:=$(call AutoProbe,bmp280-spi)
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2017-10-18 17:17:56 +00:00
|
|
|
endef
|
|
|
|
define KernelPackage/iio-bmp280-spi/description
|
|
|
|
This driver adds support for Bosch Sensortec's digital pressure and
|
|
|
|
temperature sensor connected via SPI.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-bmp280-spi))
|
2018-07-30 13:59:20 +00:00
|
|
|
|
|
|
|
define KernelPackage/iio-htu21
|
2022-10-19 22:00:37 +00:00
|
|
|
DEPENDS:=+kmod-i2c-core
|
2018-07-30 13:59:20 +00:00
|
|
|
TITLE:=HTU21 humidity & temperature sensor
|
|
|
|
KCONFIG:= \
|
|
|
|
CONFIG_HTU21 \
|
|
|
|
CONFIG_IIO_MS_SENSORS_I2C
|
|
|
|
FILES:= \
|
|
|
|
$(LINUX_DIR)/drivers/iio/humidity/htu21.ko \
|
|
|
|
$(LINUX_DIR)/drivers/iio/common/ms_sensors/ms_sensors_i2c.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,56,htu21)
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2018-07-30 13:59:20 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/iio-htu21/description
|
|
|
|
support for the Measurement Specialties HTU21 humidity and
|
|
|
|
temperature sensor.
|
|
|
|
This driver is also used for MS8607 temperature, pressure & humidity
|
|
|
|
sensor
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-htu21))
|
2018-09-10 23:33:36 +00:00
|
|
|
|
|
|
|
|
2019-02-05 00:25:22 +00:00
|
|
|
define KernelPackage/iio-ccs811
|
2022-10-19 22:00:37 +00:00
|
|
|
DEPENDS:=+kmod-i2c-core +kmod-industrialio-triggered-buffer
|
2019-02-05 00:25:22 +00:00
|
|
|
TITLE:=AMS CCS811 VOC sensor
|
|
|
|
KCONFIG:= \
|
|
|
|
CONFIG_CCS811
|
|
|
|
FILES:= $(LINUX_DIR)/drivers/iio/chemical/ccs811.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,56,ccs811)
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2019-02-05 00:25:22 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/iio-ccs811/description
|
|
|
|
Support for the AMS CCS811 VOC (Volatile Organic Compounds) sensor
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-ccs811))
|
|
|
|
|
|
|
|
|
2018-09-10 23:33:37 +00:00
|
|
|
define KernelPackage/iio-si7020
|
2022-10-19 22:00:37 +00:00
|
|
|
DEPENDS:=+kmod-i2c-core
|
2018-09-10 23:33:37 +00:00
|
|
|
TITLE:=Silicon Labs Si7020 sensor
|
|
|
|
KCONFIG:= CONFIG_SI7020
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/iio/humidity/si7020.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,56,si7020)
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2018-09-10 23:33:37 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/iio-si7020/description
|
|
|
|
Support for Silicon Labs Si7020 family of relative humidity and
|
|
|
|
temperature sensors connected via I2C. Following models are usable:
|
|
|
|
Si7013, Si7020, Si7021, Hoperf TH06.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-si7020))
|
|
|
|
|
|
|
|
|
2020-02-28 16:56:24 +00:00
|
|
|
define KernelPackage/iio-st_accel
|
|
|
|
TITLE:=STMicroelectronics accelerometer 3-Axis Driver
|
2022-10-19 22:00:37 +00:00
|
|
|
DEPENDS:=+kmod-regmap-core +kmod-industrialio-triggered-buffer
|
2020-02-28 16:56:24 +00:00
|
|
|
KCONFIG:= \
|
|
|
|
CONFIG_IIO_ST_ACCEL_3AXIS \
|
|
|
|
CONFIG_IIO_ST_SENSORS_CORE
|
|
|
|
FILES:= \
|
|
|
|
$(LINUX_DIR)/drivers/iio/accel/st_accel.ko \
|
|
|
|
$(LINUX_DIR)/drivers/iio/common/st_sensors/st_sensors.ko
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2020-02-28 16:56:24 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/iio-st_accel/description
|
|
|
|
This package adds support for STMicroelectronics accelerometers:
|
|
|
|
LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
|
|
|
|
LIS331DLH, LSM303DL, LSM303DLM, LSM330, LIS2DH12, H3LIS331DL,
|
|
|
|
LNG2DM, LIS3DE, LIS2DE12
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-st_accel))
|
|
|
|
|
|
|
|
|
2020-05-28 15:02:01 +00:00
|
|
|
define KernelPackage/iio-st_accel-i2c
|
2020-02-28 16:56:24 +00:00
|
|
|
TITLE:=STMicroelectronics accelerometer 3-Axis Driver (I2C)
|
2020-03-02 11:11:58 +00:00
|
|
|
DEPENDS:=+kmod-iio-st_accel +kmod-i2c-core +kmod-regmap-i2c
|
2020-02-28 16:56:24 +00:00
|
|
|
KCONFIG:= CONFIG_IIO_ST_ACCEL_I2C_3AXIS
|
2020-05-28 15:02:01 +00:00
|
|
|
FILES:= \
|
|
|
|
$(LINUX_DIR)/drivers/iio/accel/st_accel_i2c.ko \
|
|
|
|
$(LINUX_DIR)/drivers/iio/common/st_sensors/st_sensors_i2c.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,56,st_accel_i2c)
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2020-02-28 16:56:24 +00:00
|
|
|
endef
|
|
|
|
|
2020-05-28 15:02:01 +00:00
|
|
|
define KernelPackage/iio-st_accel-i2c/description
|
2020-02-28 16:56:24 +00:00
|
|
|
This package adds support for STMicroelectronics I2C based accelerometers
|
|
|
|
endef
|
|
|
|
|
2020-05-28 15:02:01 +00:00
|
|
|
$(eval $(call KernelPackage,iio-st_accel-i2c))
|
|
|
|
|
|
|
|
|
|
|
|
define KernelPackage/iio-st_accel-spi
|
|
|
|
TITLE:=STMicroelectronics accelerometer 3-Axis Driver (SPI)
|
|
|
|
DEPENDS:=+kmod-iio-st_accel +kmod-regmap-spi
|
|
|
|
KCONFIG:= CONFIG_IIO_ST_ACCEL_SPI_3AXIS
|
|
|
|
FILES:= \
|
|
|
|
$(LINUX_DIR)/drivers/iio/accel/st_accel_spi.ko \
|
|
|
|
$(LINUX_DIR)/drivers/iio/common/st_sensors/st_sensors_spi.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,56,st_accel_spi)
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2020-05-28 15:02:01 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/iio-st_accel-spi/description
|
|
|
|
This package adds support for STMicroelectronics SPI based accelerometers
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-st_accel-spi))
|
2020-02-28 16:56:24 +00:00
|
|
|
|
|
|
|
|
2020-05-28 15:04:42 +00:00
|
|
|
define KernelPackage/iio-lsm6dsx
|
2024-01-06 05:15:41 +00:00
|
|
|
DEPENDS:=+kmod-iio-kfifo-buf +kmod-regmap-core +LINUX_6_6:kmod-industrialio-triggered-buffer
|
2020-05-28 15:04:42 +00:00
|
|
|
TITLE:=ST LSM6DSx driver for IMU MEMS sensors
|
|
|
|
KCONFIG:=CONFIG_IIO_ST_LSM6DSX
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.ko
|
|
|
|
AUTOLOAD:=$(call AutoProbe,st_lsm6dsx)
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2020-05-28 15:04:42 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/iio-lsm6dsx/description
|
|
|
|
Support for the ST LSM6DSx and related IMU MEMS sensors.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-lsm6dsx))
|
|
|
|
|
|
|
|
|
|
|
|
define KernelPackage/iio-lsm6dsx-i2c
|
|
|
|
DEPENDS:=+kmod-iio-lsm6dsx +kmod-i2c-core +kmod-regmap-i2c
|
|
|
|
TITLE:=ST LSM6DSx driver for IMU MEMS sensors (I2C)
|
|
|
|
KCONFIG:=CONFIG_IIO_ST_LSM6DSX
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.ko
|
|
|
|
AUTOLOAD:=$(call AutoProbe,st_lsm6dsx-i2c)
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2020-05-28 15:04:42 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/iio-lsm6dsx-i2c/description
|
|
|
|
Support for the ST LSM6DSx and related IMU MEMS I2C sensors.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-lsm6dsx-i2c))
|
|
|
|
|
|
|
|
|
|
|
|
define KernelPackage/iio-lsm6dsx-spi
|
|
|
|
DEPENDS:=+kmod-iio-lsm6dsx +kmod-regmap-spi
|
|
|
|
TITLE:=ST LSM6DSx driver for IMU MEMS sensors (SPI)
|
|
|
|
KCONFIG:=CONFIG_IIO_ST_LSM6DSX
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_spi.ko
|
|
|
|
AUTOLOAD:=$(call AutoProbe,st_lsm6dsx-spi)
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2020-05-28 15:04:42 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/iio-lsm6dsx-spi/description
|
|
|
|
Support for the ST LSM6DSx and related IMU MEMS SPI sensors.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-lsm6dsx-spi))
|
|
|
|
|
|
|
|
|
2020-02-23 21:50:22 +00:00
|
|
|
define KernelPackage/iio-sps30
|
2022-10-19 22:00:37 +00:00
|
|
|
DEPENDS:=+kmod-i2c-core +kmod-industrialio-triggered-buffer +kmod-lib-crc8
|
2020-02-23 21:50:22 +00:00
|
|
|
TITLE:=Sensirion SPS30 particulate matter sensor
|
2022-08-07 13:22:42 +00:00
|
|
|
KCONFIG:= \
|
|
|
|
CONFIG_SPS30 \
|
|
|
|
CONFIG_SPS30_I2C
|
|
|
|
FILES:= \
|
|
|
|
$(LINUX_DIR)/drivers/iio/chemical/sps30.ko \
|
2023-05-04 19:40:15 +00:00
|
|
|
$(LINUX_DIR)/drivers/iio/chemical/sps30_i2c.ko
|
2022-08-07 13:22:42 +00:00
|
|
|
AUTOLOAD:=$(call AutoProbe,sps30 sps30_i2c)
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2020-02-23 21:50:22 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/iio-sps30/description
|
|
|
|
Support for the Sensirion SPS30 particulate matter sensor.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-sps30))
|
|
|
|
|
|
|
|
|
2018-09-10 23:33:36 +00:00
|
|
|
define KernelPackage/iio-tsl4531
|
2022-10-19 22:00:37 +00:00
|
|
|
DEPENDS:=+kmod-i2c-core
|
2018-09-10 23:33:36 +00:00
|
|
|
TITLE:=TAOS TSL4531 ambient light sensor
|
|
|
|
KCONFIG:= CONFIG_TSL4531
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/iio/light/tsl4531.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,56,tsl4531)
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2018-09-10 23:33:36 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/iio-tsl4531/description
|
|
|
|
Support for TAOS TSL4531x family of ambient light sensors
|
|
|
|
connected via I2C. Following models are usable:
|
|
|
|
TSL45311, TSL45313, TSL45315, TSL45317.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-tsl4531))
|
2020-02-28 18:49:54 +00:00
|
|
|
|
|
|
|
|
2020-10-27 08:48:04 +00:00
|
|
|
define KernelPackage/iio-fxas21002c
|
|
|
|
TITLE:=Freescale FXAS21002C 3-axis gyro driver
|
2022-10-19 22:00:37 +00:00
|
|
|
DEPENDS:=+kmod-regmap-core +kmod-industrialio-triggered-buffer
|
2020-10-27 08:48:04 +00:00
|
|
|
KCONFIG:= CONFIG_FXAS21002C
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/iio/gyro/fxas21002c_core.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,56,fxas21002c)
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2020-10-27 08:48:04 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/iio-fxas21002c/description
|
|
|
|
Support for Freescale FXAS21002C 3-axis gyro.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-fxas21002c))
|
|
|
|
|
|
|
|
|
|
|
|
define KernelPackage/iio-fxas21002c-i2c
|
|
|
|
TITLE:=Freescale FXAS21002C 3-axis gyro driver (I2C)
|
|
|
|
DEPENDS:=+kmod-iio-fxas21002c +kmod-i2c-core +kmod-regmap-i2c
|
|
|
|
KCONFIG:= CONFIG_FXAS21002C_I2C
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/iio/gyro/fxas21002c_i2c.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,56,fxas21002c_i2c)
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2020-10-27 08:48:04 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/iio-fxas21002c-i2c/description
|
|
|
|
Support for Freescale FXAS21002C 3-axis gyro
|
|
|
|
connected via I2C.
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-fxas21002c-i2c))
|
|
|
|
|
|
|
|
define KernelPackage/iio-fxas21002c-spi
|
|
|
|
DEPENDS:=+kmod-iio-fxas21002c +kmod-regmap-spi
|
|
|
|
TITLE:=Freescale FXAS21002C 3-axis gyro driver (SPI)
|
|
|
|
KCONFIG:= CONFIG_FXAS21002C_SPI
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/iio/gyro/fxas21002c_spi.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,56,fxas21002c_spi)
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2020-10-27 08:48:04 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/iio-fxas21002c-spi/description
|
|
|
|
Support for Freescale FXAS21002C 3-axis gyro
|
|
|
|
connected via SPI.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-fxas21002c-spi))
|
|
|
|
|
|
|
|
|
2020-02-28 18:49:54 +00:00
|
|
|
define KernelPackage/iio-fxos8700
|
|
|
|
TITLE:=Freescale FXOS8700 3-axis accelerometer driver
|
2022-10-19 22:00:37 +00:00
|
|
|
DEPENDS:=+kmod-regmap-core
|
2020-02-28 18:49:54 +00:00
|
|
|
KCONFIG:= CONFIG_FXOS8700
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/iio/imu/fxos8700_core.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,56,fxos8700)
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2020-02-28 18:49:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/iio-fxos8700/description
|
|
|
|
Support for Freescale FXOS8700 3-axis accelerometer.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-fxos8700))
|
|
|
|
|
|
|
|
|
|
|
|
define KernelPackage/iio-fxos8700-i2c
|
|
|
|
TITLE:=Freescale FXOS8700 3-axis acceleromter driver (I2C)
|
|
|
|
DEPENDS:=+kmod-iio-fxos8700 +kmod-i2c-core +kmod-regmap-i2c
|
|
|
|
KCONFIG:= CONFIG_FXOS8700_I2C
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/iio/imu/fxos8700_i2c.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,56,fxos8700_i2c)
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2020-02-28 18:49:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/iio-fxos8700-i2c/description
|
|
|
|
Support for Freescale FXOS8700 3-axis accelerometer
|
|
|
|
connected via I2C.
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-fxos8700-i2c))
|
|
|
|
|
|
|
|
define KernelPackage/iio-fxos8700-spi
|
|
|
|
DEPENDS:=+kmod-iio-fxos8700 +kmod-regmap-spi
|
|
|
|
TITLE:=Freescale FXOS8700 3-axis accelerometer driver (SPI)
|
|
|
|
KCONFIG:= CONFIG_FXOS8700_SPI
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/iio/imu/fxos8700_spi.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,56,fxos8700_spi)
|
2022-10-19 22:00:37 +00:00
|
|
|
$(call AddDepends/iio)
|
2020-02-28 18:49:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/iio-fxos8700-spi/description
|
|
|
|
Support for Freescale FXOS8700 3-axis accelerometer
|
|
|
|
connected via SPI.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-fxos8700-spi))
|
2022-11-21 14:46:42 +00:00
|
|
|
|
|
|
|
define KernelPackage/iio-ti-am335x-adc
|
|
|
|
TITLE:= TI Sitara AM335x ADC driver
|
|
|
|
DEPENDS:=@TARGET_omap
|
|
|
|
KCONFIG:=CONFIG_TI_AM335X_ADC
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/iio/adc/ti_am335x_adc.ko
|
|
|
|
AUTOLOAD:=$(call AutoProbe,ti_am335x_adc)
|
|
|
|
$(call AddDepends/iio,+kmod-iio-kfifo-buf)
|
|
|
|
endef
|
|
|
|
define KernelPackage/iio-ti-am335x-adc/description
|
|
|
|
Driver for the TI AM335x ADC.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-ti-am335x-adc))
|