xref: /OK3568_Linux_fs/kernel/drivers/iio/humidity/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# humidity sensor drivers
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyunmenu "Humidity sensors"
6*4882a593Smuzhiyun
7*4882a593Smuzhiyunconfig AM2315
8*4882a593Smuzhiyun	tristate "Aosong AM2315 relative humidity and temperature sensor"
9*4882a593Smuzhiyun	depends on I2C
10*4882a593Smuzhiyun	select IIO_BUFFER
11*4882a593Smuzhiyun	select IIO_TRIGGERED_BUFFER
12*4882a593Smuzhiyun	help
13*4882a593Smuzhiyun	  If you say yes here you get support for the Aosong AM2315
14*4882a593Smuzhiyun	  relative humidity and ambient temperature sensor.
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module will
17*4882a593Smuzhiyun	  be called am2315.
18*4882a593Smuzhiyun
19*4882a593Smuzhiyunconfig DHT11
20*4882a593Smuzhiyun	tristate "DHT11 (and compatible sensors) driver"
21*4882a593Smuzhiyun	depends on GPIOLIB || COMPILE_TEST
22*4882a593Smuzhiyun	help
23*4882a593Smuzhiyun	  This driver supports reading data via a single interrupt
24*4882a593Smuzhiyun	  generating GPIO line. Currently tested are DHT11 and DHT22.
25*4882a593Smuzhiyun	  Other sensors should work as well as long as they speak the
26*4882a593Smuzhiyun	  same protocol.
27*4882a593Smuzhiyun
28*4882a593Smuzhiyunconfig HDC100X
29*4882a593Smuzhiyun	tristate "TI HDC100x relative humidity and temperature sensor"
30*4882a593Smuzhiyun	depends on I2C
31*4882a593Smuzhiyun	select IIO_BUFFER
32*4882a593Smuzhiyun	select IIO_TRIGGERED_BUFFER
33*4882a593Smuzhiyun	help
34*4882a593Smuzhiyun	  Say yes here to build support for the Texas Instruments
35*4882a593Smuzhiyun	  HDC1000, HDC1008, HDC1010, HDC1050, and HDC1080 relative
36*4882a593Smuzhiyun	  humidity and temperature sensors.
37*4882a593Smuzhiyun
38*4882a593Smuzhiyun	  To compile this driver as a module, choose M here: the module
39*4882a593Smuzhiyun	  will be called hdc100x.
40*4882a593Smuzhiyun
41*4882a593Smuzhiyunconfig HDC2010
42*4882a593Smuzhiyun	tristate "TI HDC2010 relative humidity and temperature sensor"
43*4882a593Smuzhiyun	depends on I2C
44*4882a593Smuzhiyun	help
45*4882a593Smuzhiyun	  Say yes here to build support for the Texas Instruments
46*4882a593Smuzhiyun	  HDC2010 and HDC2080 relative humidity and temperature sensors.
47*4882a593Smuzhiyun
48*4882a593Smuzhiyun	  To compile this driver as a module, choose M here: the module
49*4882a593Smuzhiyun	  will be called hdc2010.
50*4882a593Smuzhiyun
51*4882a593Smuzhiyunconfig HID_SENSOR_HUMIDITY
52*4882a593Smuzhiyun	tristate "HID Environmental humidity sensor"
53*4882a593Smuzhiyun	depends on HID_SENSOR_HUB
54*4882a593Smuzhiyun	select IIO_BUFFER
55*4882a593Smuzhiyun	select HID_SENSOR_IIO_COMMON
56*4882a593Smuzhiyun	select HID_SENSOR_IIO_TRIGGER
57*4882a593Smuzhiyun	help
58*4882a593Smuzhiyun	  Say yes here to build support for the HID SENSOR
59*4882a593Smuzhiyun	  humidity driver
60*4882a593Smuzhiyun
61*4882a593Smuzhiyun	  To compile this driver as a module, choose M here: the module
62*4882a593Smuzhiyun	  will be called hid-sensor-humidity.
63*4882a593Smuzhiyun
64*4882a593Smuzhiyunconfig HTS221
65*4882a593Smuzhiyun	tristate "STMicroelectronics HTS221 sensor Driver"
66*4882a593Smuzhiyun	depends on (I2C || SPI)
67*4882a593Smuzhiyun	select IIO_BUFFER
68*4882a593Smuzhiyun	select IIO_TRIGGERED_BUFFER
69*4882a593Smuzhiyun	select HTS221_I2C if (I2C)
70*4882a593Smuzhiyun	select HTS221_SPI if (SPI_MASTER)
71*4882a593Smuzhiyun	help
72*4882a593Smuzhiyun	  Say yes here to build support for STMicroelectronics HTS221
73*4882a593Smuzhiyun	  temperature-humidity sensor
74*4882a593Smuzhiyun
75*4882a593Smuzhiyun	  To compile this driver as a module, choose M here: the module
76*4882a593Smuzhiyun	  will be called hts221.
77*4882a593Smuzhiyun
78*4882a593Smuzhiyunconfig HTS221_I2C
79*4882a593Smuzhiyun	tristate
80*4882a593Smuzhiyun	depends on HTS221
81*4882a593Smuzhiyun	select REGMAP_I2C
82*4882a593Smuzhiyun
83*4882a593Smuzhiyunconfig HTS221_SPI
84*4882a593Smuzhiyun	tristate
85*4882a593Smuzhiyun	depends on HTS221
86*4882a593Smuzhiyun	select REGMAP_SPI
87*4882a593Smuzhiyun
88*4882a593Smuzhiyunconfig HTU21
89*4882a593Smuzhiyun	tristate "Measurement Specialties HTU21 humidity & temperature sensor"
90*4882a593Smuzhiyun	depends on I2C
91*4882a593Smuzhiyun	select IIO_MS_SENSORS_I2C
92*4882a593Smuzhiyun	help
93*4882a593Smuzhiyun	  If you say yes here you get support for the Measurement Specialties
94*4882a593Smuzhiyun	  HTU21 humidity and temperature sensor.
95*4882a593Smuzhiyun	  This driver is also used for MS8607 temperature, pressure & humidity
96*4882a593Smuzhiyun	  sensor
97*4882a593Smuzhiyun
98*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module will
99*4882a593Smuzhiyun	  be called htu21.
100*4882a593Smuzhiyun
101*4882a593Smuzhiyunconfig SI7005
102*4882a593Smuzhiyun	tristate "SI7005 relative humidity and temperature sensor"
103*4882a593Smuzhiyun	depends on I2C
104*4882a593Smuzhiyun	help
105*4882a593Smuzhiyun	  Say yes here to build support for the Silabs Si7005 relative
106*4882a593Smuzhiyun	  humidity and temperature sensor.
107*4882a593Smuzhiyun
108*4882a593Smuzhiyun	  To compile this driver as a module, choose M here: the module
109*4882a593Smuzhiyun	  will be called si7005. This driver also
110*4882a593Smuzhiyun	  supports Hoperf TH02 Humidity and Temperature Sensor.
111*4882a593Smuzhiyun
112*4882a593Smuzhiyunconfig SI7020
113*4882a593Smuzhiyun	tristate "Si7013/20/21 Relative Humidity and Temperature Sensors"
114*4882a593Smuzhiyun	depends on I2C
115*4882a593Smuzhiyun	help
116*4882a593Smuzhiyun	  Say yes here to build support for the Silicon Labs Si7013/20/21
117*4882a593Smuzhiyun	  Relative Humidity and Temperature Sensors. This driver also
118*4882a593Smuzhiyun	  supports Hoperf TH06 Humidity and Temperature Sensor.
119*4882a593Smuzhiyun
120*4882a593Smuzhiyun	  To compile this driver as a module, choose M here: the module
121*4882a593Smuzhiyun	  will be called si7020.
122*4882a593Smuzhiyun
123*4882a593Smuzhiyunendmenu
124