xref: /openbmc/linux/drivers/iio/light/Kconfig (revision b830f94f)
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	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
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
323config PA12203001
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.
330
331	  This driver can also be built as a module.  If so, the module
332	  will be called pa12203001.
333
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
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
358config STK3310
359	tristate "STK3310 ALS and proximity sensor"
360	depends on I2C
361	select REGMAP_I2C
362	help
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.
366
367	  Choosing M will build the driver as a module. If so, the module
368	  will be called stk3310.
369
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
394config TCS3414
395	tristate "TAOS TCS3414 digital color sensor"
396	depends on I2C
397	select IIO_BUFFER
398	select IIO_TRIGGERED_BUFFER
399	help
400	  If you say yes here you get support for the TAOS TCS3414
401	  family of digital color sensors.
402
403	  This driver can also be built as a module.  If so, the module
404	  will be called tcs3414.
405
406config TCS3472
407	tristate "TAOS TCS3472 color light-to-digital converter"
408	depends on I2C
409	select IIO_BUFFER
410	select IIO_TRIGGERED_BUFFER
411	help
412	  If you say yes here you get support for the TAOS TCS3472
413	  family of color light-to-digital converters with IR filter.
414
415	  This driver can also be built as a module.  If so, the module
416	  will be called tcs3472.
417
418config SENSORS_TSL2563
419	tristate "TAOS TSL2560, TSL2561, TSL2562 and TSL2563 ambient light sensors"
420	depends on I2C
421	help
422	  If you say yes here you get support for the Taos TSL2560,
423	  TSL2561, TSL2562 and TSL2563 ambient light sensors.
424
425	  This driver can also be built as a module.  If so, the module
426	  will be called tsl2563.
427
428config TSL2583
429	tristate "TAOS TSL2580, TSL2581 and TSL2583 light-to-digital converters"
430	depends on I2C
431	help
432	  Provides support for the TAOS tsl2580, tsl2581 and tsl2583 devices.
433	  Access ALS data via iio, sysfs.
434
435config TSL2772
436	tristate "TAOS TSL/TMD2x71 and TSL/TMD2x72 Family of light and proximity sensors"
437	depends on I2C
438	help
439	  Support for: tsl2571, tsl2671, tmd2671, tsl2771, tmd2771, tsl2572, tsl2672,
440	  tmd2672, tsl2772, tmd2772 devices.
441	  Provides iio_events and direct access via sysfs.
442
443config TSL4531
444	tristate "TAOS TSL4531 ambient light sensors"
445	depends on I2C
446	help
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.
449
450	  To compile this driver as a module, choose M here: the
451	  module will be called tsl4531.
452
453config US5182D
454	tristate "UPISEMI light and proximity sensor"
455	depends on I2C
456	help
457	  If you say yes here you get support for the UPISEMI US5182D
458	  ambient light and proximity sensor.
459
460	  This driver can also be built as a module.  If so, the module
461	  will be called us5182d.
462
463config VCNL4000
464	tristate "VCNL4000/4010/4020/4200 combined ALS and proximity sensor"
465	depends on I2C
466	help
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.
470
471	  To compile this driver as a module, choose M here: the
472	  module will be called vcnl4000.
473
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
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.
483
484	  To compile this driver as a module, choose M here: the
485	  module will be called vcnl4035.
486
487config VEML6070
488	tristate "VEML6070 UV A light sensor"
489	depends on I2C
490	help
491	  Say Y here if you want to build a driver for the Vishay VEML6070 UV A
492	  light sensor.
493
494	  To compile this driver as a module, choose M here: the
495	  module will be called veml6070.
496
497config VL6180
498	tristate "VL6180 ALS, range and proximity sensor"
499	depends on I2C
500	help
501	  Say Y here if you want to build a driver for the STMicroelectronics
502	  VL6180 combined ambient light, range and proximity sensor.
503
504	  To compile this driver as a module, choose M here: the
505	  module will be called vl6180.
506
507config ZOPT2201
508	tristate "ZOPT2201 ALS and UV B sensor"
509	depends on I2C
510	help
511	  Say Y here if you want to build a driver for the IDT
512	  ZOPT2201 ambient light and UV B sensor.
513
514	  To compile this driver as a module, choose M here: the
515	  module will be called zopt2201.
516
517endmenu
518