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