xref: /linux/drivers/iio/light/Kconfig (revision 56fb34d86e875dbb0d3e6a81c5d3d035db373031)
1# SPDX-License-Identifier: GPL-2.0-only
2
3#
4# Light sensors
5#
6# When adding new entries keep the list in alphabetical order
7
8menu "Light sensors"
9
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
17	  Say Y here if you want to build a driver for the ACPI0008
18	  Ambient Light Sensor.
19
20	  To compile this driver as a module, choose M here: the module will
21	  be called acpi-als.
22
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
29	  If you say yes here you get support for the Avago ADJD-S311-CR999
30	  digital color light sensor.
31
32	  This driver can also be built as a module.  If so, the module
33	  will be called adjd_s311.
34
35config AL3320A
36	tristate "AL3320A ambient light sensor"
37	depends on I2C
38	help
39	  Say Y here if you want to build a driver for the Dyna Image AL3320A
40	  ambient light sensor.
41
42	  To compile this driver as a module, choose M here: the
43	  module will be called al3320a.
44
45config APDS9300
46	tristate "APDS9300 ambient light sensor"
47	depends on I2C
48	help
49	  Say Y here if you want to build a driver for the Avago APDS9300
50	  ambient light sensor.
51
52	  To compile this driver as a module, choose M here: the
53	  module will be called apds9300.
54
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
68config BH1750
69	tristate "ROHM BH1750 ambient light sensor"
70	depends on I2C
71	help
72	  Say Y here to build support for the ROHM BH1710, BH1715, BH1721,
73	  BH1750, BH1751 ambient light sensors.
74
75	  To compile this driver as a module, choose M here: the module will
76	  be called bh1750.
77
78config BH1780
79	tristate "ROHM BH1780 ambient light sensor"
80	depends on I2C
81	help
82	  Say Y here to build support for the ROHM BH1780GLI ambient
83	  light sensor.
84
85	  To compile this driver as a module, choose M here: the module will
86	  be called bh1780.
87
88config CM32181
89	depends on I2C
90	tristate "CM32181 driver"
91	help
92	  Say Y here if you use cm32181.
93	  This option enables ambient light sensor using
94	  Capella cm32181 device driver.
95
96	  To compile this driver as a module, choose M here:
97	  the module will be called cm32181.
98
99config CM3232
100	depends on I2C
101	tristate "CM3232 ambient light sensor"
102	help
103	  Say Y here if you use cm3232.
104	  This option enables ambient light sensor using
105	  Capella Microsystems cm3232 device driver.
106
107	  To compile this driver as a module, choose M here:
108	  the module will be called cm3232.
109
110config CM3323
111	depends on I2C
112	tristate "Capella CM3323 color light sensor"
113	help
114	  Say Y here if you want to build a driver for Capella CM3323
115	  color sensor.
116
117	  To compile this driver as a module, choose M here: the module will
118	  be called cm3323.
119
120config CM3605
121	tristate "Capella CM3605 ambient light and proximity sensor"
122	depends on OF
123	help
124	  Say Y here if you want to build a driver for Capella CM3605
125	  ambient light and short range proximity sensor.
126
127	  To compile this driver as a module, choose M here: the module will
128	  be called cm3605.
129
130config CM36651
131	depends on I2C
132	tristate "CM36651 driver"
133	help
134	  Say Y here if you use cm36651.
135	  This option enables proximity & RGB sensor using
136	  Capella cm36651 device driver.
137
138	  To compile this driver as a module, choose M here:
139	  the module will be called cm36651.
140
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
151config GP2AP020A00F
152	tristate "Sharp GP2AP020A00F Proximity/ALS sensor"
153	depends on I2C
154	select REGMAP_I2C
155	select IIO_BUFFER
156	select IIO_TRIGGERED_BUFFER
157	select IRQ_WORK
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
165config SENSORS_ISL29018
166	tristate "Intersil 29018 light and proximity sensor"
167	depends on I2C
168	select REGMAP_I2C
169	default n
170	help
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.
176
177config SENSORS_ISL29028
178	tristate "Intersil ISL29028 Concurrent Light and Proximity Sensor"
179	depends on I2C
180	select REGMAP_I2C
181	help
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.
186
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
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
210	  To compile this driver as a module, choose M here: the
211	  module will be called hid-sensor-als.
212
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
227config JSA1212
228	tristate "JSA1212 ALS and proximity sensor driver"
229	depends on I2C
230	select REGMAP_I2C
231	help
232	  Say Y here if you want to build a IIO driver for JSA1212
233	  proximity & ALS sensor device.
234
235	  To compile this driver as a module, choose M here:
236	  the module will be called jsa1212.
237
238config RPR0521
239	tristate "ROHM RPR0521 ALS and proximity sensor driver"
240	depends on I2C
241	select REGMAP_I2C
242	help
243	  Say Y here if you want to build support for ROHM's RPR0521
244	  ambient light and proximity sensor device.
245
246	  To compile this driver as a module, choose M here:
247	  the module will be called rpr0521.
248
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.
265
266config LTR501
267	tristate "LTR-501ALS-01 light sensor"
268	depends on I2C
269	select REGMAP_I2C
270	select IIO_BUFFER
271	select IIO_TRIGGERED_BUFFER
272	help
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.
276
277	  This driver can also be built as a module.  If so, the module
278	  will be called ltr501.
279
280config LV0104CS
281	tristate "LV0104CS Ambient Light Sensor"
282	depends on I2C
283	help
284	  Say Y here if you want to build support for the On Semiconductor
285	  LV0104CS ambient light sensor.
286
287	  To compile this driver as a module, choose M here:
288	  the module will be called lv0104cs.
289
290config MAX44000
291	tristate "MAX44000 Ambient and Infrared Proximity Sensor"
292	depends on I2C
293	select REGMAP_I2C
294	select IIO_BUFFER
295	select IIO_TRIGGERED_BUFFER
296	help
297	  Say Y here if you want to build support for Maxim Integrated's
298	  MAX44000 ambient and infrared proximity sensor device.
299
300	  To compile this driver as a module, choose M here:
301	  the module will be called max44000.
302
303config MAX44009
304	tristate "MAX44009 Ambient Light Sensor"
305	depends on I2C
306	select REGMAP_I2C
307	help
308	 Say Y here if you want to build support for Maxim Integrated's
309	 MAX44009 ambient light sensor device.
310
311	 To compile this driver as a module, choose M here:
312	 the module will be called max44009.
313
314config NOA1305
315	tristate "ON Semiconductor NOA1305 ambient light sensor"
316	depends on I2C
317	help
318	 Say Y here if you want to build support for the ON Semiconductor
319	 NOA1305 ambient light sensor.
320
321	 To compile this driver as a module, choose M here:
322	 The module will be called noa1305.
323
324config OPT3001
325	tristate "Texas Instruments OPT3001 Light Sensor"
326	depends on I2C
327	help
328	  If you say Y or M here, you get support for Texas Instruments
329	  OPT3001 Ambient Light Sensor.
330
331	  If built as a dynamically linked module, it will be called
332	  opt3001.
333
334config PA12203001
335	tristate "TXC PA12203001 light and proximity sensor"
336	depends on I2C
337	select REGMAP_I2C
338	help
339	  If you say yes here you get support for the TXC PA12203001
340	  ambient light and proximity sensor.
341
342	  This driver can also be built as a module.  If so, the module
343	  will be called pa12203001.
344
345config SI1133
346	tristate "SI1133 UV Index Sensor and Ambient Light Sensor"
347	depends on I2C
348	select REGMAP_I2C
349	  help
350	  Say Y here if you want to build a driver for the Silicon Labs SI1133
351	  UV Index Sensor and Ambient Light Sensor chip.
352
353	  To compile this driver as a module, choose M here: the module will be
354	  called si1133.
355
356config SI1145
357	tristate "SI1132 and SI1141/2/3/5/6/7 combined ALS, UV index and proximity sensor"
358	depends on I2C
359	select IIO_BUFFER
360	select IIO_TRIGGERED_BUFFER
361	help
362	  Say Y here if you want to build a driver for the Silicon Labs SI1132 or
363	  SI1141/2/3/5/6/7 combined ambient light, UV index and proximity sensor
364	  chips.
365
366	  To compile this driver as a module, choose M here: the module will be
367	  called si1145.
368
369config STK3310
370	tristate "STK3310 ALS and proximity sensor"
371	depends on I2C
372	select REGMAP_I2C
373	help
374	  Say yes here to get support for the Sensortek STK3310 ambient light
375	  and proximity sensor. The STK3311 model is also supported by this
376	  driver.
377
378	  Choosing M will build the driver as a module. If so, the module
379	  will be called stk3310.
380
381config ST_UVIS25
382	tristate "STMicroelectronics UVIS25 sensor driver"
383	depends on (I2C || SPI)
384	select IIO_BUFFER
385	select IIO_TRIGGERED_BUFFER
386	select ST_UVIS25_I2C if (I2C)
387	select ST_UVIS25_SPI if (SPI_MASTER)
388	help
389	  Say yes here to build support for STMicroelectronics UVIS25
390	  uv sensor
391
392	  To compile this driver as a module, choose M here: the module
393	  will be called st_uvis25.
394
395config ST_UVIS25_I2C
396	tristate
397	depends on ST_UVIS25
398	select REGMAP_I2C
399
400config ST_UVIS25_SPI
401	tristate
402	depends on ST_UVIS25
403	select REGMAP_SPI
404
405config TCS3414
406	tristate "TAOS TCS3414 digital color sensor"
407	depends on I2C
408	select IIO_BUFFER
409	select IIO_TRIGGERED_BUFFER
410	help
411	  If you say yes here you get support for the TAOS TCS3414
412	  family of digital color sensors.
413
414	  This driver can also be built as a module.  If so, the module
415	  will be called tcs3414.
416
417config TCS3472
418	tristate "TAOS TCS3472 color light-to-digital converter"
419	depends on I2C
420	select IIO_BUFFER
421	select IIO_TRIGGERED_BUFFER
422	help
423	  If you say yes here you get support for the TAOS TCS3472
424	  family of color light-to-digital converters with IR filter.
425
426	  This driver can also be built as a module.  If so, the module
427	  will be called tcs3472.
428
429config SENSORS_TSL2563
430	tristate "TAOS TSL2560, TSL2561, TSL2562 and TSL2563 ambient light sensors"
431	depends on I2C
432	help
433	  If you say yes here you get support for the Taos TSL2560,
434	  TSL2561, TSL2562 and TSL2563 ambient light sensors.
435
436	  This driver can also be built as a module.  If so, the module
437	  will be called tsl2563.
438
439config TSL2583
440	tristate "TAOS TSL2580, TSL2581 and TSL2583 light-to-digital converters"
441	depends on I2C
442	help
443	  Provides support for the TAOS tsl2580, tsl2581 and tsl2583 devices.
444	  Access ALS data via iio, sysfs.
445
446config TSL2772
447	tristate "TAOS TSL/TMD2x71 and TSL/TMD2x72 Family of light and proximity sensors"
448	depends on I2C
449	help
450	  Support for: tsl2571, tsl2671, tmd2671, tsl2771, tmd2771, tsl2572, tsl2672,
451	  tmd2672, tsl2772, tmd2772 devices.
452	  Provides iio_events and direct access via sysfs.
453
454config TSL4531
455	tristate "TAOS TSL4531 ambient light sensors"
456	depends on I2C
457	help
458	  Say Y here if you want to build a driver for the TAOS TSL4531 family
459	  of ambient light sensors with direct lux output.
460
461	  To compile this driver as a module, choose M here: the
462	  module will be called tsl4531.
463
464config US5182D
465	tristate "UPISEMI light and proximity sensor"
466	depends on I2C
467	help
468	  If you say yes here you get support for the UPISEMI US5182D
469	  ambient light and proximity sensor.
470
471	  This driver can also be built as a module.  If so, the module
472	  will be called us5182d.
473
474config VCNL4000
475	tristate "VCNL4000/4010/4020/4200 combined ALS and proximity sensor"
476	depends on I2C
477	help
478	  Say Y here if you want to build a driver for the Vishay VCNL4000,
479	  VCNL4010, VCNL4020, VCNL4200 combined ambient light and proximity
480	  sensor.
481
482	  To compile this driver as a module, choose M here: the
483	  module will be called vcnl4000.
484
485config VCNL4035
486	tristate "VCNL4035 combined ALS and proximity sensor"
487	select IIO_TRIGGERED_BUFFER
488	select REGMAP_I2C
489	depends on I2C
490	help
491	  Say Y here if you want to build a driver for the Vishay VCNL4035,
492	  combined ambient light (ALS) and proximity sensor. Currently only ALS
493	  function is available.
494
495	  To compile this driver as a module, choose M here: the
496	  module will be called vcnl4035.
497
498config VEML6070
499	tristate "VEML6070 UV A light sensor"
500	depends on I2C
501	help
502	  Say Y here if you want to build a driver for the Vishay VEML6070 UV A
503	  light sensor.
504
505	  To compile this driver as a module, choose M here: the
506	  module will be called veml6070.
507
508config VL6180
509	tristate "VL6180 ALS, range and proximity sensor"
510	depends on I2C
511	help
512	  Say Y here if you want to build a driver for the STMicroelectronics
513	  VL6180 combined ambient light, range and proximity sensor.
514
515	  To compile this driver as a module, choose M here: the
516	  module will be called vl6180.
517
518config ZOPT2201
519	tristate "ZOPT2201 ALS and UV B sensor"
520	depends on I2C
521	help
522	  Say Y here if you want to build a driver for the IDT
523	  ZOPT2201 ambient light and UV B sensor.
524
525	  To compile this driver as a module, choose M here: the
526	  module will be called zopt2201.
527
528endmenu
529