treewide: Add SPDX license identifier - Makefile/Kconfig
[linux-2.6-block.git] / drivers / iio / light / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
e01e7eaf 2
9c8ea1b2
JH
3#
4# Light sensors
5#
3edc84e6
LPC
6# When adding new entries keep the list in alphabetical order
7
9c8ea1b2
JH
8menu "Light sensors"
9
feca56ff
GM
10config ACPI_ALS
11 tristate "ACPI Ambient Light Sensor"
12 depends on ACPI
13 select IIO_BUFFER
14 select IIO_TRIGGERED_BUFFER
15 select IIO_KFIFO_BUF
16 help
d626be00
EWI
17 Say Y here if you want to build a driver for the ACPI0008
18 Ambient Light Sensor.
feca56ff 19
d626be00
EWI
20 To compile this driver as a module, choose M here: the module will
21 be called acpi-als.
feca56ff 22
bbdb822c
PM
23config ADJD_S311
24 tristate "ADJD-S311-CR999 digital color sensor"
25 select IIO_BUFFER
26 select IIO_TRIGGERED_BUFFER
27 depends on I2C
28 help
d626be00
EWI
29 If you say yes here you get support for the Avago ADJD-S311-CR999
30 digital color light sensor.
bbdb822c 31
d626be00
EWI
32 This driver can also be built as a module. If so, the module
33 will be called adjd_s311.
bbdb822c 34
f007d7f1
DB
35config AL3320A
36 tristate "AL3320A ambient light sensor"
37 depends on I2C
38 help
d626be00
EWI
39 Say Y here if you want to build a driver for the Dyna Image AL3320A
40 ambient light sensor.
f007d7f1 41
d626be00
EWI
42 To compile this driver as a module, choose M here: the
43 module will be called al3320a.
f007d7f1 44
03eff7b6
OK
45config APDS9300
46 tristate "APDS9300 ambient light sensor"
47 depends on I2C
48 help
d626be00
EWI
49 Say Y here if you want to build a driver for the Avago APDS9300
50 ambient light sensor.
03eff7b6 51
d626be00
EWI
52 To compile this driver as a module, choose M here: the
53 module will be called apds9300.
03eff7b6 54
aff268cd
MR
55config APDS9960
56 tristate "Avago APDS9960 gesture/RGB/ALS/proximity sensor"
57 select REGMAP_I2C
58 select IIO_BUFFER
59 select IIO_KFIFO_BUF
60 depends on I2C
61 help
62 Say Y here to build I2C interface support for the Avago
63 APDS9960 gesture/RGB/ALS/proximity sensor.
64
65 To compile this driver as a module, choose M here: the
66 module will be called apds9960
67
3a11fbb0
TD
68config BH1750
69 tristate "ROHM BH1750 ambient light sensor"
70 depends on I2C
71 help
d626be00
EWI
72 Say Y here to build support for the ROHM BH1710, BH1715, BH1721,
73 BH1750, BH1751 ambient light sensors.
3a11fbb0 74
d626be00
EWI
75 To compile this driver as a module, choose M here: the module will
76 be called bh1750.
3a11fbb0 77
1f0477f1
LW
78config BH1780
79 tristate "ROHM BH1780 ambient light sensor"
80 depends on I2C
1f0477f1 81 help
d626be00
EWI
82 Say Y here to build support for the ROHM BH1780GLI ambient
83 light sensor.
1f0477f1 84
d626be00
EWI
85 To compile this driver as a module, choose M here: the module will
86 be called bh1780.
1f0477f1 87
971672c0
KT
88config CM32181
89 depends on I2C
90 tristate "CM32181 driver"
91 help
d626be00
EWI
92 Say Y here if you use cm32181.
93 This option enables ambient light sensor using
94 Capella cm32181 device driver.
971672c0 95
d626be00
EWI
96 To compile this driver as a module, choose M here:
97 the module will be called cm32181.
971672c0 98
b84894c7
KT
99config CM3232
100 depends on I2C
101 tristate "CM3232 ambient light sensor"
102 help
d626be00
EWI
103 Say Y here if you use cm3232.
104 This option enables ambient light sensor using
105 Capella Microsystems cm3232 device driver.
b84894c7 106
d626be00
EWI
107 To compile this driver as a module, choose M here:
108 the module will be called cm3232.
b84894c7 109
8b054426
DB
110config CM3323
111 depends on I2C
112 tristate "Capella CM3323 color light sensor"
113 help
d626be00
EWI
114 Say Y here if you want to build a driver for Capella CM3323
115 color sensor.
8b054426 116
d626be00
EWI
117 To compile this driver as a module, choose M here: the module will
118 be called cm3323.
8b054426 119
8afa505c
LW
120config CM3605
121 tristate "Capella CM3605 ambient light and proximity sensor"
122 depends on OF
123 help
d626be00
EWI
124 Say Y here if you want to build a driver for Capella CM3605
125 ambient light and short range proximity sensor.
8afa505c 126
d626be00
EWI
127 To compile this driver as a module, choose M here: the module will
128 be called cm3605.
8afa505c 129
e590d451
BS
130config CM36651
131 depends on I2C
132 tristate "CM36651 driver"
133 help
d626be00
EWI
134 Say Y here if you use cm36651.
135 This option enables proximity & RGB sensor using
136 Capella cm36651 device driver.
e590d451 137
d626be00
EWI
138 To compile this driver as a module, choose M here:
139 the module will be called cm36651.
e590d451 140
48458b0c
GG
141config IIO_CROS_EC_LIGHT_PROX
142 tristate "ChromeOS EC Light and Proximity Sensors"
143 depends on IIO_CROS_EC_SENSORS_CORE
144 help
145 Say Y here if you use the light and proximity sensors
146 presented by the ChromeOS EC Sensor hub.
147
148 To compile this driver as a module, choose M here:
149 the module will be called cros_ec_light_prox.
150
bf29fbea
JA
151config GP2AP020A00F
152 tristate "Sharp GP2AP020A00F Proximity/ALS sensor"
153 depends on I2C
8c3b3efb 154 select REGMAP_I2C
bf29fbea
JA
155 select IIO_BUFFER
156 select IIO_TRIGGERED_BUFFER
419a4aae 157 select IRQ_WORK
bf29fbea
JA
158 help
159 Say Y here if you have a Sharp GP2AP020A00F proximity/ALS combo-chip
160 hooked to an I2C bus.
161
162 To compile this driver as a module, choose M here: the
163 module will be called gp2ap020a00f.
164
a5750414
BM
165config SENSORS_ISL29018
166 tristate "Intersil 29018 light and proximity sensor"
167 depends on I2C
168 select REGMAP_I2C
169 default n
170 help
d626be00
EWI
171 If you say yes here you get support for ambient light sensing and
172 proximity infrared sensing from Intersil ISL29018.
173 This driver will provide the measurements of ambient light intensity
174 in lux, proximity infrared sensing and normal infrared sensing.
175 Data from sensor is accessible via sysfs.
a5750414 176
105c3de1
BM
177config SENSORS_ISL29028
178 tristate "Intersil ISL29028 Concurrent Light and Proximity Sensor"
179 depends on I2C
180 select REGMAP_I2C
181 help
d626be00
EWI
182 Provides driver for the Intersil's ISL29028 device.
183 This driver supports the sysfs interface to get the ALS, IR intensity,
184 Proximity value via iio. The ISL29028 provides the concurrent sensing
185 of ambient light and proximity.
105c3de1 186
6c25539c
PM
187config ISL29125
188 tristate "Intersil ISL29125 digital color light sensor"
189 depends on I2C
190 select IIO_BUFFER
191 select IIO_TRIGGERED_BUFFER
192 help
193 Say Y here if you want to build a driver for the Intersil ISL29125
194 RGB light sensor for I2C.
195
196 To compile this driver as a module, choose M here: the module will be
197 called isl29125.
198
3edc84e6
LPC
199config HID_SENSOR_ALS
200 depends on HID_SENSOR_HUB
201 select IIO_BUFFER
202 select IIO_TRIGGERED_BUFFER
203 select HID_SENSOR_IIO_COMMON
204 select HID_SENSOR_IIO_TRIGGER
205 tristate "HID ALS"
206 help
207 Say yes here to build support for the HID SENSOR
208 Ambient light sensor.
209
4f51c9ad
RD
210 To compile this driver as a module, choose M here: the
211 module will be called hid-sensor-als.
212
39a3a013
AP
213config HID_SENSOR_PROX
214 depends on HID_SENSOR_HUB
215 select IIO_BUFFER
216 select IIO_TRIGGERED_BUFFER
217 select HID_SENSOR_IIO_COMMON
218 select HID_SENSOR_IIO_TRIGGER
219 tristate "HID PROX"
220 help
221 Say yes here to build support for the HID SENSOR
222 Proximity sensor.
223
224 To compile this driver as a module, choose M here: the
225 module will be called hid-sensor-prox.
226
995863cc
KS
227config JSA1212
228 tristate "JSA1212 ALS and proximity sensor driver"
229 depends on I2C
49e19d5f 230 select REGMAP_I2C
995863cc 231 help
d626be00
EWI
232 Say Y here if you want to build a IIO driver for JSA1212
233 proximity & ALS sensor device.
995863cc 234
d626be00
EWI
235 To compile this driver as a module, choose M here:
236 the module will be called jsa1212.
995863cc 237
efa86e9f
DB
238config RPR0521
239 tristate "ROHM RPR0521 ALS and proximity sensor driver"
240 depends on I2C
241 select REGMAP_I2C
242 help
d626be00
EWI
243 Say Y here if you want to build support for ROHM's RPR0521
244 ambient light and proximity sensor device.
efa86e9f 245
d626be00
EWI
246 To compile this driver as a module, choose M here:
247 the module will be called rpr0521.
efa86e9f 248
9c8ea1b2
JH
249config SENSORS_LM3533
250 tristate "LM3533 ambient light sensor"
251 depends on MFD_LM3533
252 help
253 If you say yes here you get support for the ambient light sensor
254 interface on National Semiconductor / TI LM3533 Lighting Power
255 chips.
256
257 The sensor interface can be used to control the LEDs and backlights
258 of the chip through defining five light zones and three sets of
259 corresponding output-current values.
260
261 The driver provides raw and mean adc readings along with the current
262 light zone through sysfs. A threshold event can be generated on zone
263 changes. The ALS-control output values can be set per zone for the
264 three current output channels.
62a1efb9 265
2690be90
PM
266config LTR501
267 tristate "LTR-501ALS-01 light sensor"
268 depends on I2C
5d9fc0f6 269 select REGMAP_I2C
2690be90
PM
270 select IIO_BUFFER
271 select IIO_TRIGGERED_BUFFER
272 help
d626be00
EWI
273 If you say yes here you get support for the Lite-On LTR-501ALS-01
274 ambient light and proximity sensor. This driver also supports LTR-559
275 ALS/PS or LTR-301 ALS sensors.
2690be90 276
d626be00
EWI
277 This driver can also be built as a module. If so, the module
278 will be called ltr501.
2690be90 279
0f079547
JL
280config LV0104CS
281 tristate "LV0104CS Ambient Light Sensor"
282 depends on I2C
283 help
d626be00
EWI
284 Say Y here if you want to build support for the On Semiconductor
285 LV0104CS ambient light sensor.
0f079547 286
d626be00
EWI
287 To compile this driver as a module, choose M here:
288 the module will be called lv0104cs.
0f079547 289
b9567e66
CDL
290config MAX44000
291 tristate "MAX44000 Ambient and Infrared Proximity Sensor"
292 depends on I2C
293 select REGMAP_I2C
193e2d4f
AS
294 select IIO_BUFFER
295 select IIO_TRIGGERED_BUFFER
b9567e66 296 help
d626be00
EWI
297 Say Y here if you want to build support for Maxim Integrated's
298 MAX44000 ambient and infrared proximity sensor device.
b9567e66 299
d626be00
EWI
300 To compile this driver as a module, choose M here:
301 the module will be called max44000.
b9567e66 302
6aef699a
RE
303config MAX44009
304 tristate "MAX44009 Ambient Light Sensor"
305 depends on I2C
306 help
307 Say Y here if you want to build support for Maxim Integrated's
308 MAX44009 ambient light sensor device.
309
310 To compile this driver as a module, choose M here:
311 the module will be called max44009.
312
94a9b7b1
AD
313config OPT3001
314 tristate "Texas Instruments OPT3001 Light Sensor"
315 depends on I2C
316 help
317 If you say Y or M here, you get support for Texas Instruments
318 OPT3001 Ambient Light Sensor.
319
320 If built as a dynamically linked module, it will be called
321 opt3001.
322
8ab6abfc 323config PA12203001
d626be00
EWI
324 tristate "TXC PA12203001 light and proximity sensor"
325 depends on I2C
326 select REGMAP_I2C
327 help
328 If you say yes here you get support for the TXC PA12203001
329 ambient light and proximity sensor.
8ab6abfc 330
d626be00
EWI
331 This driver can also be built as a module. If so, the module
332 will be called pa12203001.
8ab6abfc 333
e01e7eaf
MRB
334config SI1133
335 tristate "SI1133 UV Index Sensor and Ambient Light Sensor"
336 depends on I2C
337 select REGMAP_I2C
338 help
339 Say Y here if you want to build a driver for the Silicon Labs SI1133
340 UV Index Sensor and Ambient Light Sensor chip.
341
342 To compile this driver as a module, choose M here: the module will be
343 called si1133.
344
ac45e57f
PMS
345config SI1145
346 tristate "SI1132 and SI1141/2/3/5/6/7 combined ALS, UV index and proximity sensor"
347 depends on I2C
348 select IIO_BUFFER
349 select IIO_TRIGGERED_BUFFER
350 help
351 Say Y here if you want to build a driver for the Silicon Labs SI1132 or
352 SI1141/2/3/5/6/7 combined ambient light, UV index and proximity sensor
353 chips.
354
355 To compile this driver as a module, choose M here: the module will be
356 called si1145.
357
be9e6229
TB
358config STK3310
359 tristate "STK3310 ALS and proximity sensor"
360 depends on I2C
5d6e834a 361 select REGMAP_I2C
be9e6229 362 help
d626be00
EWI
363 Say yes here to get support for the Sensortek STK3310 ambient light
364 and proximity sensor. The STK3311 model is also supported by this
365 driver.
be9e6229 366
d626be00
EWI
367 Choosing M will build the driver as a module. If so, the module
368 will be called stk3310.
be9e6229 369
3025c868
LB
370config ST_UVIS25
371 tristate "STMicroelectronics UVIS25 sensor driver"
372 depends on (I2C || SPI)
373 select IIO_BUFFER
374 select IIO_TRIGGERED_BUFFER
375 select ST_UVIS25_I2C if (I2C)
376 select ST_UVIS25_SPI if (SPI_MASTER)
377 help
378 Say yes here to build support for STMicroelectronics UVIS25
379 uv sensor
380
381 To compile this driver as a module, choose M here: the module
382 will be called st_uvis25.
383
384config ST_UVIS25_I2C
385 tristate
386 depends on ST_UVIS25
387 select REGMAP_I2C
388
389config ST_UVIS25_SPI
390 tristate
391 depends on ST_UVIS25
392 select REGMAP_SPI
393
a244e7b5
PM
394config TCS3414
395 tristate "TAOS TCS3414 digital color sensor"
396 depends on I2C
397 select IIO_BUFFER
398 select IIO_TRIGGERED_BUFFER
399 help
d626be00
EWI
400 If you say yes here you get support for the TAOS TCS3414
401 family of digital color sensors.
a244e7b5 402
d626be00
EWI
403 This driver can also be built as a module. If so, the module
404 will be called tcs3414.
a244e7b5 405
eb869ade
PM
406config TCS3472
407 tristate "TAOS TCS3472 color light-to-digital converter"
408 depends on I2C
089b54bd
PM
409 select IIO_BUFFER
410 select IIO_TRIGGERED_BUFFER
eb869ade 411 help
d626be00
EWI
412 If you say yes here you get support for the TAOS TCS3472
413 family of color light-to-digital converters with IR filter.
eb869ade 414
d626be00
EWI
415 This driver can also be built as a module. If so, the module
416 will be called tcs3472.
eb869ade 417
9c2251dd
JC
418config SENSORS_TSL2563
419 tristate "TAOS TSL2560, TSL2561, TSL2562 and TSL2563 ambient light sensors"
420 depends on I2C
421 help
d626be00
EWI
422 If you say yes here you get support for the Taos TSL2560,
423 TSL2561, TSL2562 and TSL2563 ambient light sensors.
9c2251dd 424
d626be00
EWI
425 This driver can also be built as a module. If so, the module
426 will be called tsl2563.
9c2251dd 427
f44d5c8a
BM
428config TSL2583
429 tristate "TAOS TSL2580, TSL2581 and TSL2583 light-to-digital converters"
430 depends on I2C
431 help
d626be00
EWI
432 Provides support for the TAOS tsl2580, tsl2581 and tsl2583 devices.
433 Access ALS data via iio, sysfs.
f44d5c8a 434
c06c4d79
BM
435config TSL2772
436 tristate "TAOS TSL/TMD2x71 and TSL/TMD2x72 Family of light and proximity sensors"
437 depends on I2C
438 help
d626be00
EWI
439 Support for: tsl2571, tsl2671, tmd2671, tsl2771, tmd2771, tsl2572, tsl2672,
440 tmd2672, tsl2772, tmd2772 devices.
441 Provides iio_events and direct access via sysfs.
c06c4d79 442
aab9ba7e
PM
443config TSL4531
444 tristate "TAOS TSL4531 ambient light sensors"
445 depends on I2C
446 help
d626be00
EWI
447 Say Y here if you want to build a driver for the TAOS TSL4531 family
448 of ambient light sensors with direct lux output.
aab9ba7e 449
d626be00
EWI
450 To compile this driver as a module, choose M here: the
451 module will be called tsl4531.
aab9ba7e 452
c14f8abe
AR
453config US5182D
454 tristate "UPISEMI light and proximity sensor"
455 depends on I2C
456 help
d626be00
EWI
457 If you say yes here you get support for the UPISEMI US5182D
458 ambient light and proximity sensor.
c14f8abe 459
d626be00
EWI
460 This driver can also be built as a module. If so, the module
461 will be called us5182d.
c14f8abe 462
62a1efb9 463config VCNL4000
be38866f 464 tristate "VCNL4000/4010/4020/4200 combined ALS and proximity sensor"
62a1efb9
PM
465 depends on I2C
466 help
d626be00
EWI
467 Say Y here if you want to build a driver for the Vishay VCNL4000,
468 VCNL4010, VCNL4020, VCNL4200 combined ambient light and proximity
469 sensor.
62a1efb9 470
d626be00
EWI
471 To compile this driver as a module, choose M here: the
472 module will be called vcnl4000.
62a1efb9 473
55707294
PN
474config VCNL4035
475 tristate "VCNL4035 combined ALS and proximity sensor"
476 select IIO_TRIGGERED_BUFFER
477 select REGMAP_I2C
478 depends on I2C
479 help
d626be00
EWI
480 Say Y here if you want to build a driver for the Vishay VCNL4035,
481 combined ambient light (ALS) and proximity sensor. Currently only ALS
482 function is available.
55707294 483
d626be00
EWI
484 To compile this driver as a module, choose M here: the
485 module will be called vcnl4035.
55707294 486
dfd2ab8d
PMS
487config VEML6070
488 tristate "VEML6070 UV A light sensor"
489 depends on I2C
490 help
d626be00
EWI
491 Say Y here if you want to build a driver for the Vishay VEML6070 UV A
492 light sensor.
dfd2ab8d 493
d626be00
EWI
494 To compile this driver as a module, choose M here: the
495 module will be called veml6070.
dfd2ab8d 496
5e7f47e4
MS
497config VL6180
498 tristate "VL6180 ALS, range and proximity sensor"
499 depends on I2C
500 help
d626be00
EWI
501 Say Y here if you want to build a driver for the STMicroelectronics
502 VL6180 combined ambient light, range and proximity sensor.
5e7f47e4 503
d626be00
EWI
504 To compile this driver as a module, choose M here: the
505 module will be called vl6180.
5e7f47e4 506
8556f514
PMS
507config ZOPT2201
508 tristate "ZOPT2201 ALS and UV B sensor"
509 depends on I2C
510 help
d626be00
EWI
511 Say Y here if you want to build a driver for the IDT
512 ZOPT2201 ambient light and UV B sensor.
8556f514 513
d626be00
EWI
514 To compile this driver as a module, choose M here: the
515 module will be called zopt2201.
8556f514 516
9c8ea1b2 517endmenu