xref: /openbmc/linux/drivers/iio/light/Kconfig (revision db65c49e)
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 ISL29125
144	tristate "Intersil ISL29125 digital color light sensor"
145	depends on I2C
146	select IIO_BUFFER
147	select IIO_TRIGGERED_BUFFER
148	help
149	  Say Y here if you want to build a driver for the Intersil ISL29125
150	  RGB light sensor for I2C.
151
152	  To compile this driver as a module, choose M here: the module will be
153	  called isl29125.
154
155config HID_SENSOR_ALS
156	depends on HID_SENSOR_HUB
157	select IIO_BUFFER
158	select IIO_TRIGGERED_BUFFER
159	select HID_SENSOR_IIO_COMMON
160	select HID_SENSOR_IIO_TRIGGER
161	tristate "HID ALS"
162	help
163	  Say yes here to build support for the HID SENSOR
164	  Ambient light sensor.
165
166	  To compile this driver as a module, choose M here: the
167	  module will be called hid-sensor-als.
168
169config HID_SENSOR_PROX
170	depends on HID_SENSOR_HUB
171	select IIO_BUFFER
172	select IIO_TRIGGERED_BUFFER
173	select HID_SENSOR_IIO_COMMON
174	select HID_SENSOR_IIO_TRIGGER
175	tristate "HID PROX"
176	help
177	  Say yes here to build support for the HID SENSOR
178	  Proximity sensor.
179
180	  To compile this driver as a module, choose M here: the
181	  module will be called hid-sensor-prox.
182
183config JSA1212
184	tristate "JSA1212 ALS and proximity sensor driver"
185	depends on I2C
186	select REGMAP_I2C
187	help
188	 Say Y here if you want to build a IIO driver for JSA1212
189	 proximity & ALS sensor device.
190
191	 To compile this driver as a module, choose M here:
192	 the module will be called jsa1212.
193
194config RPR0521
195	tristate "ROHM RPR0521 ALS and proximity sensor driver"
196	depends on I2C
197	select REGMAP_I2C
198	help
199	 Say Y here if you want to build support for ROHM's RPR0521
200	 ambient light and proximity sensor device.
201
202	 To compile this driver as a module, choose M here:
203	 the module will be called rpr0521.
204
205config SENSORS_LM3533
206	tristate "LM3533 ambient light sensor"
207	depends on MFD_LM3533
208	help
209	  If you say yes here you get support for the ambient light sensor
210	  interface on National Semiconductor / TI LM3533 Lighting Power
211	  chips.
212
213	  The sensor interface can be used to control the LEDs and backlights
214	  of the chip through defining five light zones and three sets of
215	  corresponding output-current values.
216
217	  The driver provides raw and mean adc readings along with the current
218	  light zone through sysfs. A threshold event can be generated on zone
219	  changes. The ALS-control output values can be set per zone for the
220	  three current output channels.
221
222config LTR501
223	tristate "LTR-501ALS-01 light sensor"
224	depends on I2C
225	select REGMAP_I2C
226	select IIO_BUFFER
227	select IIO_TRIGGERED_BUFFER
228	help
229	 If you say yes here you get support for the Lite-On LTR-501ALS-01
230	 ambient light and proximity sensor. This driver also supports LTR-559
231	 ALS/PS or LTR-301 ALS sensors.
232
233	 This driver can also be built as a module.  If so, the module
234         will be called ltr501.
235
236config MAX44000
237	tristate "MAX44000 Ambient and Infrared Proximity Sensor"
238	depends on I2C
239	select REGMAP_I2C
240	select IIO_BUFFER
241	select IIO_TRIGGERED_BUFFER
242	help
243	 Say Y here if you want to build support for Maxim Integrated's
244	 MAX44000 ambient and infrared proximity sensor device.
245
246	 To compile this driver as a module, choose M here:
247	 the module will be called max44000.
248
249config OPT3001
250	tristate "Texas Instruments OPT3001 Light Sensor"
251	depends on I2C
252	help
253	  If you say Y or M here, you get support for Texas Instruments
254	  OPT3001 Ambient Light Sensor.
255
256	  If built as a dynamically linked module, it will be called
257	  opt3001.
258
259config PA12203001
260        tristate "TXC PA12203001 light and proximity sensor"
261        depends on I2C
262        select REGMAP_I2C
263        help
264         If you say yes here you get support for the TXC PA12203001
265         ambient light and proximity sensor.
266
267         This driver can also be built as a module.  If so, the module
268         will be called pa12203001.
269
270config STK3310
271	tristate "STK3310 ALS and proximity sensor"
272	depends on I2C
273	select REGMAP_I2C
274	help
275	 Say yes here to get support for the Sensortek STK3310 ambient light
276	 and proximity sensor. The STK3311 model is also supported by this
277	 driver.
278
279	 Choosing M will build the driver as a module. If so, the module
280	 will be called stk3310.
281
282config TCS3414
283	tristate "TAOS TCS3414 digital color sensor"
284	depends on I2C
285	select IIO_BUFFER
286	select IIO_TRIGGERED_BUFFER
287	help
288	 If you say yes here you get support for the TAOS TCS3414
289	 family of digital color sensors.
290
291	 This driver can also be built as a module.  If so, the module
292	 will be called tcs3414.
293
294config TCS3472
295	tristate "TAOS TCS3472 color light-to-digital converter"
296	depends on I2C
297	select IIO_BUFFER
298	select IIO_TRIGGERED_BUFFER
299	help
300	 If you say yes here you get support for the TAOS TCS3472
301	 family of color light-to-digital converters with IR filter.
302
303	 This driver can also be built as a module.  If so, the module
304	 will be called tcs3472.
305
306config SENSORS_TSL2563
307	tristate "TAOS TSL2560, TSL2561, TSL2562 and TSL2563 ambient light sensors"
308	depends on I2C
309	help
310	 If you say yes here you get support for the Taos TSL2560,
311	 TSL2561, TSL2562 and TSL2563 ambient light sensors.
312
313	 This driver can also be built as a module.  If so, the module
314	 will be called tsl2563.
315
316config TSL4531
317	tristate "TAOS TSL4531 ambient light sensors"
318	depends on I2C
319	help
320	 Say Y here if you want to build a driver for the TAOS TSL4531 family
321	 of ambient light sensors with direct lux output.
322
323	 To compile this driver as a module, choose M here: the
324	 module will be called tsl4531.
325
326config US5182D
327	tristate "UPISEMI light and proximity sensor"
328	depends on I2C
329	help
330	 If you say yes here you get support for the UPISEMI US5182D
331	 ambient light and proximity sensor.
332
333	 This driver can also be built as a module.  If so, the module
334	 will be called us5182d.
335
336config VCNL4000
337	tristate "VCNL4000 combined ALS and proximity sensor"
338	depends on I2C
339	help
340	 Say Y here if you want to build a driver for the Vishay VCNL4000
341	 combined ambient light and proximity sensor.
342
343	 To compile this driver as a module, choose M here: the
344	 module will be called vcnl4000.
345
346config VEML6070
347	tristate "VEML6070 UV A light sensor"
348	depends on I2C
349	help
350	 Say Y here if you want to build a driver for the Vishay VEML6070 UV A
351	 light sensor.
352
353	 To compile this driver as a module, choose M here: the
354	 module will be called veml6070.
355
356endmenu
357