drivers: sensor: Update drivers to use devicetree Kconfig symbol
Update sensor drivers to use DT_HAS_<compat>_ENABLED Kconfig symbol to expose the driver and enable it by default based on devicetree. Signed-off-by: Kumar Gala <galak@kernel.org>
This commit is contained in:
parent
0476d6ad69
commit
f0441fba58
107 changed files with 223 additions and 27 deletions
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig ADT7420
|
||||
bool "ADT7420 Temperature Sensor"
|
||||
default y
|
||||
depends on DT_HAS_ADI_ADT7420_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable the driver for Analog Devices ADT7420 High-Accuracy
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
config ADXL345
|
||||
bool "ADXL345 Three Axis accelerometer"
|
||||
default y
|
||||
depends on DT_HAS_ADI_ADXL345_ENABLED
|
||||
depends on I2C || SPI
|
||||
help
|
||||
Enable driver for ADXL345 Three-Axis Digital Accelerometer.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig ADXL362
|
||||
bool "ADXL362 sensor"
|
||||
default y
|
||||
depends on DT_HAS_ADI_ADXL362_ENABLED
|
||||
depends on SPI
|
||||
help
|
||||
Enable driver for ADXL362 Three-Axis Digital Accelerometers.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig ADXL372
|
||||
bool "ADXL372 Three Axis High-g I2C/SPI accelerometer"
|
||||
default y
|
||||
depends on DT_HAS_ADI_ADXL372_ENABLED
|
||||
depends on I2C || SPI
|
||||
help
|
||||
Enable driver for ADXL372 Three-Axis Digital Accelerometers.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
config AK8975
|
||||
bool "AK8975 Magnetometer"
|
||||
default y
|
||||
depends on DT_HAS_ASAHI_KASEI_AK8975_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for AK8975 magnetometer.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig AMG88XX
|
||||
bool "AMG88XX Infrared Thermopile Sensor"
|
||||
default y
|
||||
depends on DT_HAS_PANASONIC_AMG88XX_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for AMG88XX infrared thermopile sensor.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig AMS_IAQ_CORE
|
||||
bool "iAQ-core Digital VOC sensor"
|
||||
default y
|
||||
depends on DT_HAS_AMS_IAQCORE_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for iAQ-core Digital VOC sensor.
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
menuconfig APDS9960
|
||||
bool "APDS9960 Sensor"
|
||||
default y
|
||||
depends on DT_HAS_AVAGO_APDS9960_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for APDS9960 sensors.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig BMA280
|
||||
bool "BMA280 Three Axis Accelerometer Family"
|
||||
default y
|
||||
depends on DT_HAS_BOSCH_BMA280_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for BMA280 I2C-based triaxial accelerometer sensor
|
||||
|
|
|
@ -3,11 +3,10 @@
|
|||
# Copyright (c) 2016 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
DT_COMPAT_BMC150_MAGN := bosch,bmc150_magn
|
||||
|
||||
menuconfig BMC150_MAGN
|
||||
bool "BMC150_MAGN I2C Magnetometer Chip"
|
||||
default $(dt_compat_enabled,$(DT_COMPAT_BMC150_MAGN))
|
||||
default y
|
||||
depends on DT_HAS_BOSCH_BMC150_MAGN_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for BMC150 I2C-based magnetometer sensor.
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
|
||||
menuconfig BME280
|
||||
bool "BME280/BMP280 sensor"
|
||||
default y
|
||||
depends on DT_HAS_BOSCH_BME280_ENABLED
|
||||
depends on I2C || SPI
|
||||
help
|
||||
Enable driver for BME280 I2C-based or SPI-based temperature and pressure sensor.
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
|
||||
menuconfig BME680
|
||||
bool "BME680 sensor"
|
||||
default y
|
||||
depends on DT_HAS_BOSCH_BME680_ENABLED
|
||||
depends on I2C || SPI
|
||||
help
|
||||
Enable driver for BME680 I2C- or SPI- based temperature, pressure, humidity and gas sensor.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig BMG160
|
||||
bool "Bosch BMG160 gyroscope support"
|
||||
default y
|
||||
depends on DT_HAS_BOSCH_BMG160_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable Bosch BMG160 gyroscope support.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig BMI160
|
||||
bool "Bosch BMI160 inertial measurement unit"
|
||||
default y
|
||||
depends on DT_HAS_BOSCH_BMI160_ENABLED
|
||||
depends on SPI || I2C
|
||||
help
|
||||
Enable Bosch BMI160 inertial measurement unit that provides acceleration
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
config BMI270
|
||||
bool "BMI270 Inertial measurement unit"
|
||||
default y
|
||||
depends on DT_HAS_BOSCH_BMI270_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for BMI270 I2C-based imu sensor
|
||||
|
|
|
@ -3,11 +3,10 @@
|
|||
# Copyright (c) 2017 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
DT_COMPAT_BMM150 := bosch,bmm150
|
||||
|
||||
menuconfig BMM150
|
||||
bool "BMM150 I2C Geomagnetic Chip"
|
||||
default $(dt_compat_enabled,$(DT_COMPAT_BMM150))
|
||||
default y
|
||||
depends on DT_HAS_BOSCH_BMM150_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for BMM150 I2C-based Geomagnetic sensor.
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
|
||||
menuconfig BMP388
|
||||
bool "Bosch BMP388 pressure sensor"
|
||||
default y
|
||||
depends on DT_HAS_BOSCH_BMP388_ENABLED
|
||||
depends on SPI || I2C
|
||||
help
|
||||
Enable driver for the Bosch BMP388 pressure sensor
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
config BQ274XX
|
||||
bool "BQ274xx Fuel Gauge"
|
||||
default y
|
||||
depends on DT_HAS_TI_BQ274XX_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable I2C-based driver for BQ274xx Fuel Gauge.
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
|
||||
menuconfig CCS811
|
||||
bool "CCS811 Digital Gas Sensor"
|
||||
default y
|
||||
depends on DT_HAS_AMS_CCS811_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for CCS811 Gas sensors.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
config DHT
|
||||
bool "DHT Temperature and Humidity Sensor"
|
||||
default y
|
||||
depends on DT_HAS_AOSONG_DHT_ENABLED
|
||||
depends on GPIO
|
||||
help
|
||||
Enable driver for the DHT temperature and humidity sensor family.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig DPS310
|
||||
bool "DPS310 sensor"
|
||||
default y
|
||||
depends on DT_HAS_INFINEON_DPS310_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for DPS310 I2C-based temperature and pressure sensor.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
config DS18B20
|
||||
bool "DS18B20 Temperature Sensor"
|
||||
default y
|
||||
depends on DT_HAS_MAXIM_DS18B20_ENABLED
|
||||
depends on W1_NET
|
||||
help
|
||||
Enable driver for DS18B20 1-Wire temperature sensors.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig ENS210
|
||||
bool "ENS210 Digital Temperature and Humidity sensor"
|
||||
default y
|
||||
depends on DT_HAS_AMS_ENS210_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for ENS210 Digital Temperature and Humidity sensor.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig FDC2X1X
|
||||
bool "FDC2X1X Capacitance-to-Digital Converter"
|
||||
default y
|
||||
depends on DT_HAS_TI_FDC2X1X_ENABLED
|
||||
depends on I2C && NEWLIB_LIBC
|
||||
help
|
||||
Enable driver for FDC2X1X Capacitance-to-Digital Converter.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig FXAS21002
|
||||
bool "FXAS21002 gyroscope driver"
|
||||
default y
|
||||
depends on DT_HAS_NXP_FXAS21002_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for the FXAS21002 gyroscope
|
||||
|
|
|
@ -3,11 +3,10 @@
|
|||
# Copyright (c) 2016 Freescale Semiconductor, Inc.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
DT_COMPAT_FXOS8700 := nxp,fxos8700
|
||||
|
||||
menuconfig FXOS8700
|
||||
bool "FXOS8700 accelerometer/magnetometer driver"
|
||||
default $(dt_compat_enabled,$(DT_COMPAT_FXOS8700))
|
||||
default y
|
||||
depends on DT_HAS_NXP_FXOS8700_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for the FXOS8700 accelerometer/magnetometer.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
config GROVE_SENSORS
|
||||
bool "Seeed Grove sensors support"
|
||||
default y
|
||||
depends on DT_HAS_SEEED_GROVE_LIGHT_ENABLED || DT_HAS_SEEED_GROVE_TEMPERATURE_ENABLED
|
||||
help
|
||||
Enable Seeed Grove sensors support.
|
||||
|
||||
|
@ -12,6 +14,8 @@ if GROVE_SENSORS
|
|||
|
||||
config GROVE_LIGHT_SENSOR
|
||||
bool "The Seeed Grove Light Sensor"
|
||||
default y
|
||||
depends on DT_HAS_SEEED_GROVE_LIGHT_ENABLED
|
||||
depends on ADC && !MINIMAL_LIBC
|
||||
help
|
||||
Setting this value will enable driver support for the Grove Light
|
||||
|
@ -19,6 +23,8 @@ config GROVE_LIGHT_SENSOR
|
|||
|
||||
config GROVE_TEMPERATURE_SENSOR
|
||||
bool "The Seeed Grove Temperature Sensor"
|
||||
default y
|
||||
depends on DT_HAS_SEEED_GROVE_TEMPERATURE_ENABLED
|
||||
depends on ADC && !MINIMAL_LIBC
|
||||
help
|
||||
Setting this value will enable driver support for the Grove
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
# Copyright (c) 2016 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
DT_COMPAT_HMC5883L := honeywell,hmc5883l
|
||||
|
||||
menuconfig HMC5883L
|
||||
bool "HMC5883L magnetometer"
|
||||
default $(dt_compat_enabled,$(DT_COMPAT_HMC5883L))
|
||||
default y
|
||||
depends on DT_HAS_HONEYWELL_HMC5883L_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for HMC5883L I2C-based magnetometer.
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
|
||||
menuconfig HP206C
|
||||
bool "HopeRF HP206C precision barometer and altimeter sensor"
|
||||
default y
|
||||
depends on DT_HAS_HOPERF_HP206C_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable HopeRF HP206C barometer and altimeter support.
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
|
||||
menuconfig HTS221
|
||||
bool "HTS221 temperature and humidity sensor"
|
||||
default y
|
||||
depends on DT_HAS_ST_HTS221_ENABLED
|
||||
depends on I2C || SPI
|
||||
select HAS_STMEMSC
|
||||
select USE_STDC_HTS221
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
config I3G4250D
|
||||
bool "I3G4250D three-axis digital output gyroscope"
|
||||
default y
|
||||
depends on DT_HAS_ST_I3G4250D_ENABLED
|
||||
depends on SPI
|
||||
select HAS_STMEMSC
|
||||
select USE_STDC_I3G4250D
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig ICM42605
|
||||
bool "ICM42605 Six-Axis Motion Tracking Device"
|
||||
default y
|
||||
depends on DT_HAS_INVENSENSE_ICM42605_ENABLED
|
||||
depends on SPI
|
||||
help
|
||||
Enable driver for ICM42605 SPI-based six-axis motion tracking device.
|
||||
|
|
|
@ -5,11 +5,10 @@
|
|||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
DT_COMPAT_ICM42670 := invensense,icm42670
|
||||
|
||||
menuconfig ICM42670
|
||||
bool "ICM42670 Six-Axis Motion Tracking Device"
|
||||
default $(dt_compat_enabled,$(DT_COMPAT_ICM42670))
|
||||
default y
|
||||
depends on DT_HAS_INVENSENSE_ICM42670_ENABLED
|
||||
depends on SPI
|
||||
help
|
||||
Enable driver for ICM42670 SPI-based six-axis motion tracking device.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig IIS2DH
|
||||
bool "IIS2DH I2C/SPI accelerometer sensor driver"
|
||||
default y
|
||||
depends on DT_HAS_ST_IIS2DH_ENABLED
|
||||
depends on I2C || SPI
|
||||
select HAS_STMEMSC
|
||||
select USE_STDC_IIS2DH
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig IIS2DLPC
|
||||
bool "IIS2DLPC I2C/SPI accelerometer sensor driver"
|
||||
default y
|
||||
depends on DT_HAS_ST_IIS2DLPC_ENABLED
|
||||
depends on I2C || SPI
|
||||
select HAS_STMEMSC
|
||||
select USE_STDC_IIS2DLPC
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig IIS2ICLX
|
||||
bool "IIS2ICLX I2C/SPI accelerometer Chip"
|
||||
default y
|
||||
depends on DT_HAS_ST_IIS2ICLX_ENABLED
|
||||
depends on I2C || SPI
|
||||
select HAS_STMEMSC
|
||||
select USE_STDC_IIS2ICLX
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
|
||||
menuconfig IIS2MDC
|
||||
bool "IIS2MDC Magnetometer"
|
||||
default y
|
||||
depends on DT_HAS_ST_IIS2MDC_ENABLED
|
||||
depends on I2C || SPI
|
||||
select HAS_STMEMSC
|
||||
select USE_STDC_IIS2MDC
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig IIS3DHHC
|
||||
bool "IIS3DHHC accelerometer sensor"
|
||||
default y
|
||||
depends on DT_HAS_ST_IIS3DHHC_ENABLED
|
||||
depends on SPI
|
||||
select HAS_STMEMSC
|
||||
select USE_STDC_IIS3DHHC
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
config INA219
|
||||
bool "INA219 Current/Power Monitor"
|
||||
default y
|
||||
depends on DT_HAS_TI_INA219_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for INA219 Bidirectional Current/Power Monitor.
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
config INA23X
|
||||
bool "INA23X Current and Power Monitor"
|
||||
default y
|
||||
depends on DT_HAS_TI_INA230_ENABLED || DT_HAS_TI_INA237_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for INA23X Current and Power Monitor.
|
||||
|
@ -12,11 +14,15 @@ if INA23X
|
|||
|
||||
config INA230
|
||||
bool "INA230"
|
||||
default y
|
||||
depends on DT_HAS_TI_INA230_ENABLED
|
||||
help
|
||||
Enable driver for INA230/INA231.
|
||||
|
||||
config INA237
|
||||
bool "INA237"
|
||||
default y
|
||||
depends on DT_HAS_TI_INA237_ENABLED
|
||||
help
|
||||
Enable driver for INA237.
|
||||
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig ISL29035
|
||||
bool "ISL29035 light sensor"
|
||||
default y
|
||||
depends on DT_HAS_ISIL_ISL29035_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for the ISL29035 light sensor.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig ISM330DHCX
|
||||
bool "ISM330DHCX I2C/SPI accelerometer and gyroscope Chip"
|
||||
default y
|
||||
depends on DT_HAS_ST_ISM330DHCX_ENABLED
|
||||
depends on I2C || SPI
|
||||
select HAS_STMEMSC
|
||||
select USE_STDC_ISM330DHCX
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
config TACH_IT8XXX2
|
||||
bool "ITE it8xxx2 Tachometer sensor"
|
||||
default y
|
||||
depends on DT_HAS_ITE_IT8XXX2_TACH_ENABLED
|
||||
depends on SOC_IT8XXX2
|
||||
help
|
||||
Enable the ITE it8xxx2 tachometer sensor,
|
||||
|
|
|
@ -3,12 +3,11 @@
|
|||
# Copyright (c) 2022 ITE Technology Corporation.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
DT_COMPAT_ITE_IT8XXX2_VCMP := ite,it8xxx2-vcmp
|
||||
|
||||
config VCMP_IT8XXX2
|
||||
bool "ITE it8xxx2 Voltage Comparator"
|
||||
default y
|
||||
depends on DT_HAS_ITE_IT8XXX2_VCMP_ENABLED
|
||||
depends on SOC_IT8XXX2 && ADC_ITE_IT8XXX2
|
||||
default $(dt_compat_enabled,$(DT_COMPAT_ITE_IT8XXX2_VCMP))
|
||||
help
|
||||
This option enables the ITE it8xxx2 voltage comparator,
|
||||
it8xxx2 supports six 10-bit resolution voltage comparator
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig LIS2DH
|
||||
bool "LIS2DH Three Axis Accelerometer"
|
||||
default y
|
||||
depends on DT_HAS_ST_LIS2DH_ENABLED
|
||||
depends on I2C || SPI
|
||||
help
|
||||
Enable SPI/I2C-based driver for LIS2DH, LIS3DH, LSM303DLHC,
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig LIS2DS12
|
||||
bool "LIS2DS12 I2C/SPI accelerometer sensor driver"
|
||||
default y
|
||||
depends on DT_HAS_ST_LIS2DS12_ENABLED
|
||||
depends on I2C || SPI
|
||||
select HAS_STMEMSC
|
||||
select USE_STDC_LIS2DS12
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig LIS2DW12
|
||||
bool "LIS2DW12 I2C/SPI accelerometer sensor driver"
|
||||
default y
|
||||
depends on DT_HAS_ST_LIS2DW12_ENABLED
|
||||
depends on I2C || SPI
|
||||
select HAS_STMEMSC
|
||||
select USE_STDC_LIS2DW12
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
# Copyright (c) 2018-2019 STMicroelectronics
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
DT_COMPAT_LIS2MDL := st,lis2mdl
|
||||
|
||||
menuconfig LIS2MDL
|
||||
bool "LIS2MDL Magnetometer"
|
||||
default $(dt_compat_enabled,$(DT_COMPAT_LIS2MDL))
|
||||
default y
|
||||
depends on DT_HAS_ST_LIS2MDL_ENABLED
|
||||
depends on I2C || SPI
|
||||
select HAS_STMEMSC
|
||||
select USE_STDC_LIS2MDL
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
|
||||
menuconfig LIS3MDL
|
||||
bool "LIS3MDL magnetometer"
|
||||
default y
|
||||
depends on DT_HAS_ST_LIS3MDL_MAGN_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for LIS3MDL I2C-based magnetometer.
|
||||
|
|
|
@ -3,11 +3,10 @@
|
|||
# Copyright (c) 2021 Leica Geosystems AG
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
DT_COMPAT_LM75 := lm75
|
||||
|
||||
config LM75
|
||||
bool "LM75 Temperature Sensor"
|
||||
default $(dt_compat_enabled,$(DT_COMPAT_LM75))
|
||||
default y
|
||||
depends on DT_HAS_LM75_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable the driver for the LM75 digital temperature Sensor with 2-wire
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig LM77
|
||||
bool "LM77 Temperature Sensor"
|
||||
default y
|
||||
depends on DT_HAS_LM77_ENABLED
|
||||
default $(dt_compat_enabled,lm77)
|
||||
depends on I2C
|
||||
help
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
|
||||
menuconfig LPS22HB
|
||||
bool "LPS22HB pressure and temperature"
|
||||
default y
|
||||
depends on DT_HAS_ST_LPS22HB_PRESS_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for LPS22HB I2C-based pressure and temperature
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig LPS22HH
|
||||
bool "LPS22HH pressure and temperature"
|
||||
default y
|
||||
depends on DT_HAS_ST_LPS22HH_ENABLED
|
||||
depends on I2C || SPI
|
||||
select HAS_STMEMSC
|
||||
select USE_STDC_LPS22HH
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
|
||||
menuconfig LPS25HB
|
||||
bool "LPS25HB pressure and temperature"
|
||||
default y
|
||||
depends on DT_HAS_ST_LPS25HB_PRESS_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for LPS25HB I2C-based pressure and temperature
|
||||
|
|
|
@ -3,11 +3,10 @@
|
|||
# Copyright (c) 2018 Philémon Jaermann
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
DT_COMPAT_LSM303DLHC_MAGN := st,lsm303dlhc-magn
|
||||
|
||||
menuconfig LSM303DLHC_MAGN
|
||||
bool "LSM303DLHC Three Axis Magnetometer"
|
||||
default $(dt_compat_enabled,$(DT_COMPAT_LSM303DLHC_MAGN))
|
||||
default y
|
||||
depends on DT_HAS_ST_LSM303DLHC_MAGN_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for LSM303DLHC I2C-based triaxial magnetometer sensor.
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
|
||||
menuconfig LSM6DS0
|
||||
bool "LSM6DS0 I2C accelerometer and gyroscope Chip"
|
||||
default y
|
||||
depends on DT_HAS_ST_LSM6DS0_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for LSM6DS0 I2C-based accelerometer and gyroscope
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
|
||||
menuconfig LSM6DSL
|
||||
bool "LSM6DSL I2C/SPI accelerometer and gyroscope Chip"
|
||||
default y
|
||||
depends on DT_HAS_ST_LSM6DSL_ENABLED
|
||||
depends on I2C || SPI
|
||||
help
|
||||
Enable driver for LSM6DSL accelerometer and gyroscope
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig LSM6DSO
|
||||
bool "LSM6DSO I2C/SPI accelerometer and gyroscope Chip"
|
||||
default y
|
||||
depends on DT_HAS_ST_LSM6DSO_ENABLED
|
||||
depends on I2C || SPI
|
||||
select HAS_STMEMSC
|
||||
select USE_STDC_LSM6DSO
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig LSM9DS0_GYRO
|
||||
bool "LSM9DS0 I2C gyroscope Chip"
|
||||
default y
|
||||
depends on DT_HAS_ST_LSM9DS0_GYRO_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for LSM9DS0 I2C-based gyroscope sensor.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig LSM9DS0_MFD
|
||||
bool "LSM9DS0 I2C accelerometer, magnetometer and temperature sensor chip"
|
||||
default y
|
||||
depends on DT_HAS_ST_LSM9DS0_MFD_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for LSM9DS0 I2C-based MFD sensor.
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
config MAX17055
|
||||
bool "MAX17055 Fuel Gauge"
|
||||
default y
|
||||
depends on DT_HAS_MAXIM_MAX17055_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable I2C-based driver for MAX17055 Fuel Gauge. This driver supports
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
config MAX17262
|
||||
bool "MAX17262 Fuel Gauge"
|
||||
default y
|
||||
depends on DT_HAS_MAXIM_MAX17262_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable I2C-based driver for MAX17262 Fuel Gauge. This driver supports
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig MAX30101
|
||||
bool "MAX30101 Pulse Oximeter and Heart Rate Sensor"
|
||||
default y
|
||||
depends on DT_HAS_MAXIM_MAX30101_ENABLED
|
||||
depends on I2C
|
||||
|
||||
if MAX30101
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
config MAX31875
|
||||
bool "MAX31875 Temperature Sensor"
|
||||
default y
|
||||
depends on DT_HAS_MAXIM_MAX31875_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable the driver for Maxim MAX31875 Low-Power I2C Temperature Sensors.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
config MAX44009
|
||||
bool "MAX44009 Light Sensor"
|
||||
default y
|
||||
depends on DT_HAS_MAXIM_MAX44009_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for MAX44009 light sensors.
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
|
||||
config MAX6675
|
||||
bool "MAX6675 K-thermocouple to digital converter"
|
||||
default y
|
||||
depends on DT_HAS_MAXIM_MAX6675_ENABLED
|
||||
depends on SPI
|
||||
help
|
||||
Enable MAX6675 cold-junction-compensated K-thermocouple to digital
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
config TACH_XEC
|
||||
bool "XEC Tachometer sensor"
|
||||
default y
|
||||
depends on DT_HAS_MICROCHIP_XEC_TACH_ENABLED
|
||||
depends on SOC_FAMILY_MEC
|
||||
help
|
||||
Enable the Microchip XEC tachometer sensor.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig MCP9808
|
||||
bool "MCP9808 temperature sensor"
|
||||
default y
|
||||
depends on DT_HAS_MICROCHIP_MCP9808_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for MCP9808 temperature sensor.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
config MCUX_ACMP
|
||||
bool "NXP MCUX Analog Comparator (ACMP)"
|
||||
default y
|
||||
depends on DT_HAS_NXP_KINETIS_ACMP_ENABLED
|
||||
depends on HAS_MCUX_ACMP
|
||||
select PINCTRL
|
||||
help
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
|
||||
config MHZ19B
|
||||
bool "Winsen CO2 sensor"
|
||||
default y
|
||||
depends on DT_HAS_WINSEN_MHZ19B_ENABLED
|
||||
depends on UART_INTERRUPT_DRIVEN
|
||||
help
|
||||
Enable driver for the MHZ19B CO2 Sensor.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig MPR
|
||||
bool "MPR pressure sensor"
|
||||
default y
|
||||
depends on DT_HAS_HONEYWELL_MPR_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for MPR pressure sensor.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig MPU6050
|
||||
bool "MPU6050 Six-Axis Motion Tracking Device"
|
||||
default y
|
||||
depends on DT_HAS_INVENSENSE_MPU6050_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for MPU6050 I2C-based six-axis motion tracking device.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig MPU9250
|
||||
bool "MPU9250 Nine-Axis Motion Tracking Device"
|
||||
default y
|
||||
depends on DT_HAS_INVENSENSE_MPU9250_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for MPU9250 I2C-based nine-axis motion tracking device.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig MS5607
|
||||
bool "MS5607 pressure and temperature sensor"
|
||||
default y
|
||||
depends on DT_HAS_MEAS_MS5607_ENABLED
|
||||
depends on I2C || SPI
|
||||
help
|
||||
Enable driver for MS5607 pressure and temperature sensor.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
config MS5837
|
||||
bool "MS5837 pressure and temperature sensor"
|
||||
default y
|
||||
depends on DT_HAS_MEAS_MS5837_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for MS5837 pressure and temperature sensor.
|
||||
|
|
|
@ -12,6 +12,8 @@ config TEMP_NRF5_FORCE_ALT
|
|||
|
||||
config TEMP_NRF5
|
||||
bool "nRF5 Temperature Sensor"
|
||||
default y
|
||||
depends on DT_HAS_NORDIC_NRF_TEMP_ENABLED
|
||||
depends on HAS_HW_NRF_TEMP
|
||||
depends on MULTITHREADING || TEMP_NRF5_FORCE_ALT
|
||||
help
|
||||
|
|
|
@ -7,6 +7,8 @@ if ADC_NPCX
|
|||
|
||||
config ADC_CMP_NPCX
|
||||
bool "Nuvoton NPCX ADC threshold detection interruption"
|
||||
default y
|
||||
depends on DT_HAS_NUVOTON_ADC_CMP_ENABLED
|
||||
help
|
||||
This option enables threshold interruption using sensor
|
||||
trigger API.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
config TACH_NPCX
|
||||
bool "Nuvoton NPCX Tachometer sensor"
|
||||
default y
|
||||
depends on DT_HAS_NUVOTON_NPCX_TACH_ENABLED
|
||||
depends on SOC_FAMILY_NPCX
|
||||
help
|
||||
Enable the "Nuvoton NPCX tachometer sensor.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
config TEMP_KINETIS
|
||||
bool "NXP Kinetis Temperature Sensor"
|
||||
default y
|
||||
depends on DT_HAS_NXP_KINETIS_TEMPERATURE_ENABLED
|
||||
depends on (ADC && SOC_FAMILY_KINETIS)
|
||||
help
|
||||
Enable driver for NXP Kinetis temperature sensor.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
config OPT3001
|
||||
bool "OPT3001 Light Sensor"
|
||||
default y
|
||||
depends on DT_HAS_TI_OPT3001_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for OPT3001 light sensors.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
config PMS7003
|
||||
bool "PMS7003 particulate matter sensor"
|
||||
default y
|
||||
depends on DT_HAS_PLANTOWER_PMS7003_ENABLED
|
||||
depends on SERIAL
|
||||
help
|
||||
Enable driver for pms7003 particulate matter sensor.
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
|
||||
config QDEC_NRFX
|
||||
bool "Nordic QDEC nrfx driver"
|
||||
default y
|
||||
depends on DT_HAS_NORDIC_NRF_QDEC_ENABLED
|
||||
depends on HAS_HW_NRF_QDEC0
|
||||
select NRFX_QDEC
|
||||
help
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
|
||||
config QDEC_SAM
|
||||
bool "Atmel SAM QDEC driver"
|
||||
default y
|
||||
depends on DT_HAS_ATMEL_SAM_TC_QDEC_ENABLED
|
||||
depends on SOC_FAMILY_SAM
|
||||
help
|
||||
Atmel SAM MCU family Quadrature Decoder (TC) driver.
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
|
||||
config SBS_GAUGE
|
||||
bool "Smart Battery Fuel Gauge"
|
||||
default y
|
||||
depends on DT_HAS_SBS_SBS_GAUGE_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable I2C-based/SMBus-based driver for a Smart Battery Fuel Gauge.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
config SGP40
|
||||
bool "SGP40 Multipixel Gas Sensor"
|
||||
default y
|
||||
depends on DT_HAS_SENSIRION_SGP40_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for SGP40 Multipixel Gas Sensor.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig SHT3XD
|
||||
bool "SHT3xD Temperature and Humidity Sensor"
|
||||
default y
|
||||
depends on DT_HAS_SENSIRION_SHT3XD_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for SHT3xD temperature and humidity sensors.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
config SHT4X
|
||||
bool "SHT4x Temperature and Humidity Sensor"
|
||||
default y
|
||||
depends on DT_HAS_SENSIRION_SHT4X_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for SHT4x temperature and humidity sensors.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
config SHTCX
|
||||
bool "SHTCX: SHTC1 and SHTC3 Temperature and Humidity Sensor"
|
||||
default y
|
||||
depends on DT_HAS_SENSIRION_SHTCX_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for SHTC1 and SHTC3 temperature and humidity sensors.
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
|
||||
config SI7006
|
||||
bool "Si7006 Temperature and Humidity Sensor"
|
||||
default y
|
||||
depends on DT_HAS_SILABS_SI7006_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable I2C-based driver for Si7006 Temperature and Humidity Sensor.
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
menuconfig SI7055
|
||||
bool "Si7055 Temperature Sensor"
|
||||
default y
|
||||
depends on DT_HAS_SILABS_SI7055_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable I2C-based driver for Si7055 Temperature Sensor.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
config SI7060
|
||||
bool "SI7060 Temperature Sensor"
|
||||
default y
|
||||
depends on DT_HAS_SILABS_SI7060_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for SI7060 temperature sensors.
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
config SI7210
|
||||
bool "Si7210 Hall Effect Magnetic Position and Temperature Sensor"
|
||||
default y
|
||||
depends on DT_HAS_SILABS_SI7210_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for Si7210 Hall Effect Magnetic Position and Temperature Sensor.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig SM351LT
|
||||
bool "SM351LT Magnetoresistive Sensor"
|
||||
default y
|
||||
depends on DT_HAS_HONEYWELL_SM351LT_ENABLED
|
||||
depends on (GPIO)
|
||||
help
|
||||
Enable GPIO-based driver for SM351LT magnetoresistive
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
config STM32_TEMP
|
||||
bool "STM32 Temperature Sensor"
|
||||
default y
|
||||
depends on DT_HAS_ST_STM32_TEMP_ENABLED || DT_HAS_ST_STM32_TEMP_CAL_ENABLED
|
||||
depends on (ADC && SOC_FAMILY_STM32)
|
||||
help
|
||||
Enable driver for STM32 temperature sensor.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
config STM32_VBAT
|
||||
bool "STM32 Vbat Sensor"
|
||||
default y
|
||||
depends on DT_HAS_ST_STM32_VBAT_ENABLED
|
||||
depends on ADC && (SOC_FAMILY_STM32 && !SOC_SERIES_STM32F1X)
|
||||
help
|
||||
Enable driver for STM32 Vbat sensor and then also ADC
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig STTS751
|
||||
bool "STTS751 temperature sensor"
|
||||
default y
|
||||
depends on DT_HAS_ST_STTS751_ENABLED
|
||||
depends on I2C
|
||||
select HAS_STMEMSC
|
||||
select USE_STDC_STTS751
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig SX9500
|
||||
bool "SX9500 I2C SAR Proximity Chip"
|
||||
default y
|
||||
depends on DT_HAS_SEMTECH_SX9500_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for SX9500 I2C-based SAR proximity sensor.
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
|
||||
config TH02
|
||||
bool "TH02 Temperature Sensor"
|
||||
default y
|
||||
depends on DT_HAS_HOPERF_TH02_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for the TH02 temperature sensor.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
config TI_HDC
|
||||
bool "Texas Instruments Temperature and Humidity Sensor (e.g. HDC1008)"
|
||||
default y
|
||||
depends on DT_HAS_TI_HDC_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for TI temperature and humidity sensors.
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
|
||||
config TI_HDC20XX
|
||||
bool "Texas Instruments HDC20XX Temperature and Humidity Sensor"
|
||||
default y
|
||||
depends on DT_HAS_TI_HDC2010_ENABLED || DT_HAS_TI_HDC2021_ENABLED || \
|
||||
DT_HAS_TI_HDC2022_ENABLED || DT_HAS_TI_HDC2080_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for TI HDC20XX temperature and humidity sensors
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue