drivers/iio/humidity/Kconfig

Source file repositories/reference/linux-study-clean/drivers/iio/humidity/Kconfig

File Facts

System
Linux kernel
Corpus path
drivers/iio/humidity/Kconfig
Extension
[no extension]
Size
4187 bytes
Lines
147
Domain
Driver Families
Bucket
drivers/iio
Inferred role
Driver Families: build/configuration rule
Status
atlas-only

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: GPL-2.0-only
#
# humidity sensor drivers
#
menu "Humidity sensors"

config AM2315
	tristate "Aosong AM2315 relative humidity and temperature sensor"
	depends on I2C
	select IIO_BUFFER
	select IIO_TRIGGERED_BUFFER
	help
	  If you say yes here you get support for the Aosong AM2315
	  relative humidity and ambient temperature sensor.

	  This driver can also be built as a module. If so, the module will
	  be called am2315.

config DHT11
	tristate "DHT11 (and compatible sensors) driver"
	depends on GPIOLIB || COMPILE_TEST
	help
	  This driver supports reading data via a single interrupt
	  generating GPIO line. Currently tested are DHT11 and DHT22.
	  Other sensors should work as well as long as they speak the
	  same protocol.

config ENS210
	tristate "ENS210 temperature and humidity sensor"
	depends on I2C
	select CRC7
	help
	  Say yes here to get support for the ScioSense ENS210 family of
	  humidity and temperature sensors.

	  This driver can also be built as a module. If so, the module will be
	  called ens210.

config HDC100X
	tristate "TI HDC100x relative humidity and temperature sensor"
	depends on I2C
	select IIO_BUFFER
	select IIO_TRIGGERED_BUFFER
	help
	  Say yes here to build support for the Texas Instruments
	  HDC1000, HDC1008, HDC1010, HDC1050, and HDC1080 relative
	  humidity and temperature sensors.

	  To compile this driver as a module, choose M here: the module
	  will be called hdc100x.

config HDC2010
	tristate "TI HDC2010 relative humidity and temperature sensor"
	depends on I2C
	help
	  Say yes here to build support for the Texas Instruments
	  HDC2010 and HDC2080 relative humidity and temperature sensors.

	  To compile this driver as a module, choose M here: the module
	  will be called hdc2010.

config HDC3020
	tristate "TI HDC3020 relative humidity and temperature sensor"
	depends on I2C
	select CRC8
	help
	  Say yes here to build support for the Texas Instruments
	  HDC3020, HDC3021 and HDC3022 relative humidity and temperature
	  sensors.

Annotation

Implementation Notes