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