xref: /openbmc/linux/drivers/iio/light/Kconfig (revision e4781421e883340b796da5a724bda7226817990b)
1#
2# Light sensors
3#
4# When adding new entries keep the list in alphabetical order
5
6menu "Light sensors"
7
8config ACPI_ALS
9	tristate "ACPI Ambient Light Sensor"
10	depends on ACPI
11	select IIO_BUFFER
12	select IIO_TRIGGERED_BUFFER
13	select IIO_KFIFO_BUF
14	help
15	 Say Y here if you want to build a driver for the ACPI0008
16	 Ambient Light Sensor.
17
18	 To compile this driver as a module, choose M here: the module will
19	 be called acpi-als.
20
21config ADJD_S311
22	tristate "ADJD-S311-CR999 digital color sensor"
23	select IIO_BUFFER
24	select IIO_TRIGGERED_BUFFER
25	depends on I2C
26	help
27	 If you say yes here you get support for the Avago ADJD-S311-CR999
28	 digital color light sensor.
29
30	 This driver can also be built as a module.  If so, the module
31	 will be called adjd_s311.
32
33config AL3320A
34	tristate "AL3320A ambient light sensor"
35	depends on I2C
36	help
37	 Say Y here if you want to build a driver for the Dyna Image AL3320A
38	 ambient light sensor.
39
40	 To compile this driver as a module, choose M here: the
41	 module will be called al3320a.
42
43config APDS9300
44	tristate "APDS9300 ambient light sensor"
45	depends on I2C
46	help
47	 Say Y here if you want to build a driver for the Avago APDS9300
48	 ambient light sensor.
49
50	 To compile this driver as a module, choose M here: the
51	 module will be called apds9300.
52
53config APDS9960
54	tristate "Avago APDS9960 gesture/RGB/ALS/proximity sensor"
55	select REGMAP_I2C
56	select IIO_BUFFER
57	select IIO_KFIFO_BUF
58	depends on I2C
59	help
60	  Say Y here to build I2C interface support for the Avago
61	  APDS9960 gesture/RGB/ALS/proximity sensor.
62
63	  To compile this driver as a module, choose M here: the
64	  module will be called apds9960
65
66config BH1750
67	tristate "ROHM BH1750 ambient light sensor"
68	depends on I2C
69	help
70	 Say Y here to build support for the ROHM BH1710, BH1715, BH1721,
71	 BH1750, BH1751 ambient light sensors.
72
73	 To compile this driver as a module, choose M here: the module will
74	 be called bh1750.
75
76config BH1780
77	tristate "ROHM BH1780 ambient light sensor"
78	depends on I2C
79	help
80	 Say Y here to build support for the ROHM BH1780GLI ambient
81	 light sensor.
82
83	 To compile this driver as a module, choose M here: the module will
84	 be called bh1780.
85
86config CM32181
87	depends on I2C
88	tristate "CM32181 driver"
89	help
90	 Say Y here if you use cm32181.
91	 This option enables ambient light sensor using
92	 Capella cm32181 device driver.
93
94	 To compile this driver as a module, choose M here:
95	 the module will be called cm32181.
96
97config CM3232
98	depends on I2C
99	tristate "CM3232 ambient light sensor"
100	help
101	 Say Y here if you use cm3232.
102	 This option enables ambient light sensor using
103	 Capella Microsystems cm3232 device driver.
104
105	 To compile this driver as a module, choose M here:
106	 the module will be called cm3232.
107
108config CM3323
109	depends on I2C
110	tristate "Capella CM3323 color light sensor"
111	help
112	 Say Y here if you want to build a driver for Capella CM3323
113	 color sensor.
114
115	 To compile this driver as a module, choose M here: the module will
116	 be called cm3323.
117
118config CM36651
119	depends on I2C
120	tristate "CM36651 driver"
121	help
122	 Say Y here if you use cm36651.
123	 This option enables proximity & RGB sensor using
124	 Capella cm36651 device driver.
125
126	 To compile this driver as a module, choose M here:
127	 the module will be called cm36651.
128
129config GP2AP020A00F
130	tristate "Sharp GP2AP020A00F Proximity/ALS sensor"
131	depends on I2C
132	select REGMAP_I2C
133	select IIO_BUFFER
134	select IIO_TRIGGERED_BUFFER
135	select IRQ_WORK
136	help
137	  Say Y here if you have a Sharp GP2AP020A00F proximity/ALS combo-chip
138	  hooked to an I2C bus.
139
140	  To compile this driver as a module, choose M here: the
141	  module will be called gp2ap020a00f.
142
143config SENSORS_ISL29018
144	tristate "Intersil 29018 light and proximity sensor"
145	depends on I2C
146	select REGMAP_I2C
147	default n
148	help
149	 If you say yes here you get support for ambient light sensing and
150	 proximity infrared sensing from Intersil ISL29018.
151	 This driver will provide the measurements of ambient light intensity
152	 in lux, proximity infrared sensing and normal infrared sensing.
153	 Data from sensor is accessible via sysfs.
154
155config ISL29125
156	tristate "Intersil ISL29125 digital color light sensor"
157	depends on I2C
158	select IIO_BUFFER
159	select IIO_TRIGGERED_BUFFER
160	help
161	  Say Y here if you want to build a driver for the Intersil ISL29125
162	  RGB light sensor for I2C.
163
164	  To compile this driver as a module, choose M here: the module will be
165	  called isl29125.
166
167config HID_SENSOR_ALS
168	depends on HID_SENSOR_HUB
169	select IIO_BUFFER
170	select IIO_TRIGGERED_BUFFER
171	select HID_SENSOR_IIO_COMMON
172	select HID_SENSOR_IIO_TRIGGER
173	tristate "HID ALS"
174	help
175	  Say yes here to build support for the HID SENSOR
176	  Ambient light sensor.
177
178	  To compile this driver as a module, choose M here: the
179	  module will be called hid-sensor-als.
180
181config HID_SENSOR_PROX
182	depends on HID_SENSOR_HUB
183	select IIO_BUFFER
184	select IIO_TRIGGERED_BUFFER
185	select HID_SENSOR_IIO_COMMON
186	select HID_SENSOR_IIO_TRIGGER
187	tristate "HID PROX"
188	help
189	  Say yes here to build support for the HID SENSOR
190	  Proximity sensor.
191
192	  To compile this driver as a module, choose M here: the
193	  module will be called hid-sensor-prox.
194
195config JSA1212
196	tristate "JSA1212 ALS and proximity sensor driver"
197	depends on I2C
198	select REGMAP_I2C
199	help
200	 Say Y here if you want to build a IIO driver for JSA1212
201	 proximity & ALS sensor device.
202
203	 To compile this driver as a module, choose M here:
204	 the module will be called jsa1212.
205
206config RPR0521
207	tristate "ROHM RPR0521 ALS and proximity sensor driver"
208	depends on I2C
209	select REGMAP_I2C
210	help
211	 Say Y here if you want to build support for ROHM's RPR0521
212	 ambient light and proximity sensor device.
213
214	 To compile this driver as a module, choose M here:
215	 the module will be called rpr0521.
216
217config SENSORS_LM3533
218	tristate "LM3533 ambient light sensor"
219	depends on MFD_LM3533
220	help
221	  If you say yes here you get support for the ambient light sensor
222	  interface on National Semiconductor / TI LM3533 Lighting Power
223	  chips.
224
225	  The sensor interface can be used to control the LEDs and backlights
226	  of the chip through defining five light zones and three sets of
227	  corresponding output-current values.
228
229	  The driver provides raw and mean adc readings along with the current
230	  light zone through sysfs. A threshold event can be generated on zone
231	  changes. The ALS-control output values can be set per zone for the
232	  three current output channels.
233
234config LTR501
235	tristate "LTR-501ALS-01 light sensor"
236	depends on I2C
237	select REGMAP_I2C
238	select IIO_BUFFER
239	select IIO_TRIGGERED_BUFFER
240	help
241	 If you say yes here you get support for the Lite-On LTR-501ALS-01
242	 ambient light and proximity sensor. This driver also supports LTR-559
243	 ALS/PS or LTR-301 ALS sensors.
244
245	 This driver can also be built as a module.  If so, the module
246         will be called ltr501.
247
248config MAX44000
249	tristate "MAX44000 Ambient and Infrared Proximity Sensor"
250	depends on I2C
251	select REGMAP_I2C
252	select IIO_BUFFER
253	select IIO_TRIGGERED_BUFFER
254	help
255	 Say Y here if you want to build support for Maxim Integrated's
256	 MAX44000 ambient and infrared proximity sensor device.
257
258	 To compile this driver as a module, choose M here:
259	 the module will be called max44000.
260
261config OPT3001
262	tristate "Texas Instruments OPT3001 Light Sensor"
263	depends on I2C
264	help
265	  If you say Y or M here, you get support for Texas Instruments
266	  OPT3001 Ambient Light Sensor.
267
268	  If built as a dynamically linked module, it will be called
269	  opt3001.
270
271config PA12203001
272        tristate "TXC PA12203001 light and proximity sensor"
273        depends on I2C
274        select REGMAP_I2C
275        help
276         If you say yes here you get support for the TXC PA12203001
277         ambient light and proximity sensor.
278
279         This driver can also be built as a module.  If so, the module
280         will be called pa12203001.
281
282config SI1145
283	tristate "SI1132 and SI1141/2/3/5/6/7 combined ALS, UV index and proximity sensor"
284	depends on I2C
285	select IIO_BUFFER
286	select IIO_TRIGGERED_BUFFER
287	help
288	  Say Y here if you want to build a driver for the Silicon Labs SI1132 or
289	  SI1141/2/3/5/6/7 combined ambient light, UV index and proximity sensor
290	  chips.
291
292	  To compile this driver as a module, choose M here: the module will be
293	  called si1145.
294
295config STK3310
296	tristate "STK3310 ALS and proximity sensor"
297	depends on I2C
298	select REGMAP_I2C
299	help
300	 Say yes here to get support for the Sensortek STK3310 ambient light
301	 and proximity sensor. The STK3311 model is also supported by this
302	 driver.
303
304	 Choosing M will build the driver as a module. If so, the module
305	 will be called stk3310.
306
307config TCS3414
308	tristate "TAOS TCS3414 digital color sensor"
309	depends on I2C
310	select IIO_BUFFER
311	select IIO_TRIGGERED_BUFFER
312	help
313	 If you say yes here you get support for the TAOS TCS3414
314	 family of digital color sensors.
315
316	 This driver can also be built as a module.  If so, the module
317	 will be called tcs3414.
318
319config TCS3472
320	tristate "TAOS TCS3472 color light-to-digital converter"
321	depends on I2C
322	select IIO_BUFFER
323	select IIO_TRIGGERED_BUFFER
324	help
325	 If you say yes here you get support for the TAOS TCS3472
326	 family of color light-to-digital converters with IR filter.
327
328	 This driver can also be built as a module.  If so, the module
329	 will be called tcs3472.
330
331config SENSORS_TSL2563
332	tristate "TAOS TSL2560, TSL2561, TSL2562 and TSL2563 ambient light sensors"
333	depends on I2C
334	help
335	 If you say yes here you get support for the Taos TSL2560,
336	 TSL2561, TSL2562 and TSL2563 ambient light sensors.
337
338	 This driver can also be built as a module.  If so, the module
339	 will be called tsl2563.
340
341config TSL2583
342	tristate "TAOS TSL2580, TSL2581 and TSL2583 light-to-digital converters"
343	depends on I2C
344	help
345	 Provides support for the TAOS tsl2580, tsl2581 and tsl2583 devices.
346	 Access ALS data via iio, sysfs.
347
348config TSL4531
349	tristate "TAOS TSL4531 ambient light sensors"
350	depends on I2C
351	help
352	 Say Y here if you want to build a driver for the TAOS TSL4531 family
353	 of ambient light sensors with direct lux output.
354
355	 To compile this driver as a module, choose M here: the
356	 module will be called tsl4531.
357
358config US5182D
359	tristate "UPISEMI light and proximity sensor"
360	depends on I2C
361	help
362	 If you say yes here you get support for the UPISEMI US5182D
363	 ambient light and proximity sensor.
364
365	 This driver can also be built as a module.  If so, the module
366	 will be called us5182d.
367
368config VCNL4000
369	tristate "VCNL4000/4010/4020 combined ALS and proximity sensor"
370	depends on I2C
371	help
372	 Say Y here if you want to build a driver for the Vishay VCNL4000,
373	 VCNL4010, VCNL4020 combined ambient light and proximity sensor.
374
375	 To compile this driver as a module, choose M here: the
376	 module will be called vcnl4000.
377
378config VEML6070
379	tristate "VEML6070 UV A light sensor"
380	depends on I2C
381	help
382	 Say Y here if you want to build a driver for the Vishay VEML6070 UV A
383	 light sensor.
384
385	 To compile this driver as a module, choose M here: the
386	 module will be called veml6070.
387
388endmenu
389