blob: 2356ed9285df6c5796a114083f188b6a8c072267 [file] [log] [blame]
Johan Hovold9c8ea1b2012-05-21 14:18:06 +02001#
2# Light sensors
3#
Lars-Peter Clausen3edc84e2013-07-15 08:45:00 +01004# When adding new entries keep the list in alphabetical order
5
Johan Hovold9c8ea1b2012-05-21 14:18:06 +02006menu "Light sensors"
7
Gabriele Mazzottafeca56f2015-05-02 14:30:57 +02008config 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
Peter Meerwaldbbdb8222012-07-10 22:32:00 +010021config 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
Daniel Balutaf007d7f2014-10-09 07:57:00 +010033config 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
Oleksandr Kravchenko03eff7b2013-07-22 14:11:00 +010043config 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
Matt Ranostayaff268c2015-08-17 10:30:16 -070053config 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
Tomasz Duszynski3a11fbb2015-05-03 20:37:21 +020066config 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
Linus Walleij1f0477f2016-04-11 14:12:04 +020076config BH1780
77 tristate "ROHM BH1780 ambient light sensor"
78 depends on I2C
Linus Walleij1f0477f2016-04-11 14:12:04 +020079 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
Kevin Tsai971672c2013-12-24 01:53:00 +000086config 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
Kevin Tsaib84894c2015-01-15 17:41:04 -080097config 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
Daniel Baluta8b054422015-03-14 21:11:41 +0200108config CM3323
109 depends on I2C
110 tristate "Capella CM3323 color light sensor"
111 help
Hartmut Knaack39b441b2015-06-18 00:32:00 +0200112 Say Y here if you want to build a driver for Capella CM3323
Daniel Baluta8b054422015-03-14 21:11:41 +0200113 color sensor.
114
115 To compile this driver as a module, choose M here: the module will
116 be called cm3323.
117
Linus Walleij8afa5052016-12-18 22:56:05 +0100118config CM3605
119 tristate "Capella CM3605 ambient light and proximity sensor"
120 depends on OF
121 help
122 Say Y here if you want to build a driver for Capella CM3605
123 ambient light and short range proximity sensor.
124
125 To compile this driver as a module, choose M here: the module will
126 be called cm3605.
127
Beomho Seoe590d452013-10-17 03:22:00 +0100128config CM36651
129 depends on I2C
130 tristate "CM36651 driver"
131 help
132 Say Y here if you use cm36651.
133 This option enables proximity & RGB sensor using
134 Capella cm36651 device driver.
135
136 To compile this driver as a module, choose M here:
137 the module will be called cm36651.
138
Gwendal Grignou48458b02017-01-30 18:07:53 +0100139config IIO_CROS_EC_LIGHT_PROX
140 tristate "ChromeOS EC Light and Proximity Sensors"
141 depends on IIO_CROS_EC_SENSORS_CORE
142 help
143 Say Y here if you use the light and proximity sensors
144 presented by the ChromeOS EC Sensor hub.
145
146 To compile this driver as a module, choose M here:
147 the module will be called cros_ec_light_prox.
148
Jacek Anaszewskibf29fbe2013-09-09 16:23:00 +0100149config GP2AP020A00F
150 tristate "Sharp GP2AP020A00F Proximity/ALS sensor"
151 depends on I2C
Roberta Dobrescu8c3b3ef2015-02-12 23:00:15 +0200152 select REGMAP_I2C
Jacek Anaszewskibf29fbe2013-09-09 16:23:00 +0100153 select IIO_BUFFER
154 select IIO_TRIGGERED_BUFFER
Russell King - ARM Linux419a4aa2013-12-02 11:25:00 +0000155 select IRQ_WORK
Jacek Anaszewskibf29fbe2013-09-09 16:23:00 +0100156 help
157 Say Y here if you have a Sharp GP2AP020A00F proximity/ALS combo-chip
158 hooked to an I2C bus.
159
160 To compile this driver as a module, choose M here: the
161 module will be called gp2ap020a00f.
162
Brian Masneya5750412016-10-10 03:20:02 -0400163config SENSORS_ISL29018
164 tristate "Intersil 29018 light and proximity sensor"
165 depends on I2C
166 select REGMAP_I2C
167 default n
168 help
169 If you say yes here you get support for ambient light sensing and
170 proximity infrared sensing from Intersil ISL29018.
171 This driver will provide the measurements of ambient light intensity
172 in lux, proximity infrared sensing and normal infrared sensing.
173 Data from sensor is accessible via sysfs.
174
Brian Masney105c3de2017-04-24 21:34:34 -0400175config SENSORS_ISL29028
176 tristate "Intersil ISL29028 Concurrent Light and Proximity Sensor"
177 depends on I2C
178 select REGMAP_I2C
179 help
180 Provides driver for the Intersil's ISL29028 device.
181 This driver supports the sysfs interface to get the ALS, IR intensity,
182 Proximity value via iio. The ISL29028 provides the concurrent sensing
183 of ambient light and proximity.
184
Peter Meerwald6c255392014-05-07 13:38:00 +0100185config ISL29125
186 tristate "Intersil ISL29125 digital color light sensor"
187 depends on I2C
188 select IIO_BUFFER
189 select IIO_TRIGGERED_BUFFER
190 help
191 Say Y here if you want to build a driver for the Intersil ISL29125
192 RGB light sensor for I2C.
193
194 To compile this driver as a module, choose M here: the module will be
195 called isl29125.
196
Lars-Peter Clausen3edc84e2013-07-15 08:45:00 +0100197config HID_SENSOR_ALS
198 depends on HID_SENSOR_HUB
199 select IIO_BUFFER
200 select IIO_TRIGGERED_BUFFER
201 select HID_SENSOR_IIO_COMMON
202 select HID_SENSOR_IIO_TRIGGER
203 tristate "HID ALS"
204 help
205 Say yes here to build support for the HID SENSOR
206 Ambient light sensor.
207
Roberta Dobrescu4f51c9a2014-12-30 20:48:49 +0200208 To compile this driver as a module, choose M here: the
209 module will be called hid-sensor-als.
210
Archana Patni39a3a012014-02-20 06:29:00 +0000211config HID_SENSOR_PROX
212 depends on HID_SENSOR_HUB
213 select IIO_BUFFER
214 select IIO_TRIGGERED_BUFFER
215 select HID_SENSOR_IIO_COMMON
216 select HID_SENSOR_IIO_TRIGGER
217 tristate "HID PROX"
218 help
219 Say yes here to build support for the HID SENSOR
220 Proximity sensor.
221
222 To compile this driver as a module, choose M here: the
223 module will be called hid-sensor-prox.
224
Kuppuswamy Sathyanarayanan995863c2014-09-16 04:54:00 +0100225config JSA1212
226 tristate "JSA1212 ALS and proximity sensor driver"
227 depends on I2C
Roberta Dobrescu49e19d52015-02-12 23:00:14 +0200228 select REGMAP_I2C
Kuppuswamy Sathyanarayanan995863c2014-09-16 04:54:00 +0100229 help
230 Say Y here if you want to build a IIO driver for JSA1212
231 proximity & ALS sensor device.
232
233 To compile this driver as a module, choose M here:
234 the module will be called jsa1212.
235
Daniel Balutaefa86e92015-06-17 12:42:51 +0300236config RPR0521
237 tristate "ROHM RPR0521 ALS and proximity sensor driver"
238 depends on I2C
239 select REGMAP_I2C
240 help
241 Say Y here if you want to build support for ROHM's RPR0521
242 ambient light and proximity sensor device.
243
244 To compile this driver as a module, choose M here:
245 the module will be called rpr0521.
246
Johan Hovold9c8ea1b2012-05-21 14:18:06 +0200247config SENSORS_LM3533
248 tristate "LM3533 ambient light sensor"
249 depends on MFD_LM3533
250 help
251 If you say yes here you get support for the ambient light sensor
252 interface on National Semiconductor / TI LM3533 Lighting Power
253 chips.
254
255 The sensor interface can be used to control the LEDs and backlights
256 of the chip through defining five light zones and three sets of
257 corresponding output-current values.
258
259 The driver provides raw and mean adc readings along with the current
260 light zone through sysfs. A threshold event can be generated on zone
261 changes. The ALS-control output values can be set per zone for the
262 three current output channels.
Peter Meerwald62a1efb2012-06-19 09:58:54 +0200263
Peter Meerwald2690be92014-10-01 22:01:00 +0100264config LTR501
265 tristate "LTR-501ALS-01 light sensor"
266 depends on I2C
Hartmut Knaack5d9fc0f2015-06-28 12:31:52 +0200267 select REGMAP_I2C
Peter Meerwald2690be92014-10-01 22:01:00 +0100268 select IIO_BUFFER
269 select IIO_TRIGGERED_BUFFER
270 help
271 If you say yes here you get support for the Lite-On LTR-501ALS-01
Daniel Baluta8592a7e2015-04-21 19:10:59 +0300272 ambient light and proximity sensor. This driver also supports LTR-559
Daniel Baluta035ebb12015-04-21 19:11:00 +0300273 ALS/PS or LTR-301 ALS sensors.
Peter Meerwald2690be92014-10-01 22:01:00 +0100274
275 This driver can also be built as a module. If so, the module
276 will be called ltr501.
277
Crestez Dan Leonardb9567e62016-04-18 17:31:53 +0300278config MAX44000
279 tristate "MAX44000 Ambient and Infrared Proximity Sensor"
280 depends on I2C
281 select REGMAP_I2C
Alison Schofield193e2d42016-07-18 17:56:43 -0700282 select IIO_BUFFER
283 select IIO_TRIGGERED_BUFFER
Crestez Dan Leonardb9567e62016-04-18 17:31:53 +0300284 help
285 Say Y here if you want to build support for Maxim Integrated's
286 MAX44000 ambient and infrared proximity sensor device.
287
288 To compile this driver as a module, choose M here:
289 the module will be called max44000.
290
Andreas Dannenberg94a9b7b2015-07-02 17:27:58 -0500291config OPT3001
292 tristate "Texas Instruments OPT3001 Light Sensor"
293 depends on I2C
294 help
295 If you say Y or M here, you get support for Texas Instruments
296 OPT3001 Ambient Light Sensor.
297
298 If built as a dynamically linked module, it will be called
299 opt3001.
300
Adriana Reus8ab6abf2015-07-07 14:07:13 +0300301config PA12203001
302 tristate "TXC PA12203001 light and proximity sensor"
303 depends on I2C
304 select REGMAP_I2C
305 help
306 If you say yes here you get support for the TXC PA12203001
307 ambient light and proximity sensor.
308
309 This driver can also be built as a module. If so, the module
310 will be called pa12203001.
311
Peter Meerwald-Stadlerac45e572016-09-18 16:41:30 +0200312config SI1145
313 tristate "SI1132 and SI1141/2/3/5/6/7 combined ALS, UV index and proximity sensor"
314 depends on I2C
315 select IIO_BUFFER
316 select IIO_TRIGGERED_BUFFER
317 help
318 Say Y here if you want to build a driver for the Silicon Labs SI1132 or
319 SI1141/2/3/5/6/7 combined ambient light, UV index and proximity sensor
320 chips.
321
322 To compile this driver as a module, choose M here: the module will be
323 called si1145.
324
Tiberiu Breanabe9e6222015-04-27 18:34:00 +0300325config STK3310
326 tristate "STK3310 ALS and proximity sensor"
327 depends on I2C
Hartmut Knaack5d6e8342015-07-04 17:56:57 +0200328 select REGMAP_I2C
Tiberiu Breanabe9e6222015-04-27 18:34:00 +0300329 help
330 Say yes here to get support for the Sensortek STK3310 ambient light
331 and proximity sensor. The STK3311 model is also supported by this
332 driver.
333
334 Choosing M will build the driver as a module. If so, the module
335 will be called stk3310.
336
Peter Meerwalda244e7b2014-05-07 13:38:00 +0100337config TCS3414
338 tristate "TAOS TCS3414 digital color sensor"
339 depends on I2C
340 select IIO_BUFFER
341 select IIO_TRIGGERED_BUFFER
342 help
343 If you say yes here you get support for the TAOS TCS3414
344 family of digital color sensors.
345
346 This driver can also be built as a module. If so, the module
347 will be called tcs3414.
348
Peter Meerwaldeb869ad2013-09-14 20:38:00 +0100349config TCS3472
350 tristate "TAOS TCS3472 color light-to-digital converter"
351 depends on I2C
Peter Meerwald089b54b2013-10-29 00:59:00 +0000352 select IIO_BUFFER
353 select IIO_TRIGGERED_BUFFER
Peter Meerwaldeb869ad2013-09-14 20:38:00 +0100354 help
355 If you say yes here you get support for the TAOS TCS3472
356 family of color light-to-digital converters with IR filter.
357
358 This driver can also be built as a module. If so, the module
359 will be called tcs3472.
360
Jonathan Cameron9c2251d2013-01-12 10:35:00 +0000361config SENSORS_TSL2563
362 tristate "TAOS TSL2560, TSL2561, TSL2562 and TSL2563 ambient light sensors"
363 depends on I2C
364 help
365 If you say yes here you get support for the Taos TSL2560,
366 TSL2561, TSL2562 and TSL2563 ambient light sensors.
367
368 This driver can also be built as a module. If so, the module
369 will be called tsl2563.
370
Brian Masneyf44d5c82016-11-12 13:19:41 -0500371config TSL2583
372 tristate "TAOS TSL2580, TSL2581 and TSL2583 light-to-digital converters"
373 depends on I2C
374 help
375 Provides support for the TAOS tsl2580, tsl2581 and tsl2583 devices.
376 Access ALS data via iio, sysfs.
377
Peter Meerwaldaab9ba72013-09-08 16:20:00 +0100378config TSL4531
379 tristate "TAOS TSL4531 ambient light sensors"
380 depends on I2C
381 help
382 Say Y here if you want to build a driver for the TAOS TSL4531 family
383 of ambient light sensors with direct lux output.
384
385 To compile this driver as a module, choose M here: the
386 module will be called tsl4531.
387
Adriana Reusc14f8ab2015-09-16 11:14:11 +0300388config US5182D
389 tristate "UPISEMI light and proximity sensor"
390 depends on I2C
391 help
392 If you say yes here you get support for the UPISEMI US5182D
393 ambient light and proximity sensor.
394
395 This driver can also be built as a module. If so, the module
396 will be called us5182d.
397
Peter Meerwald62a1efb2012-06-19 09:58:54 +0200398config VCNL4000
Peter Meerwald-Stadlerd978bfd2016-07-05 12:23:18 +0200399 tristate "VCNL4000/4010/4020 combined ALS and proximity sensor"
Peter Meerwald62a1efb2012-06-19 09:58:54 +0200400 depends on I2C
401 help
Peter Meerwald-Stadlerd978bfd2016-07-05 12:23:18 +0200402 Say Y here if you want to build a driver for the Vishay VCNL4000,
403 VCNL4010, VCNL4020 combined ambient light and proximity sensor.
Peter Meerwald62a1efb2012-06-19 09:58:54 +0200404
405 To compile this driver as a module, choose M here: the
406 module will be called vcnl4000.
407
Peter Meerwald-Stadlerdfd2ab82016-03-20 16:20:24 +0100408config VEML6070
409 tristate "VEML6070 UV A light sensor"
410 depends on I2C
411 help
412 Say Y here if you want to build a driver for the Vishay VEML6070 UV A
413 light sensor.
414
415 To compile this driver as a module, choose M here: the
416 module will be called veml6070.
417
Manivannan Sadhasivam5e7f47e2017-03-19 20:23:12 +0530418config VL6180
419 tristate "VL6180 ALS, range and proximity sensor"
420 depends on I2C
421 help
422 Say Y here if you want to build a driver for the STMicroelectronics
423 VL6180 combined ambient light, range and proximity sensor.
424
425 To compile this driver as a module, choose M here: the
426 module will be called vl6180.
427
Johan Hovold9c8ea1b2012-05-21 14:18:06 +0200428endmenu