Linux-libre 4.9.88-gnu
[librecmc/linux-libre.git] / drivers / iio / light / Kconfig
1 #
2 # Light sensors
3 #
4 # When adding new entries keep the list in alphabetical order
5
6 menu "Light sensors"
7
8 config 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
21 config 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
33 config 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
43 config 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
53 config 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
66 config 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
76 config 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
86 config 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
97 config 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
108 config 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
118 config 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
129 config 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
143 config 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
155 config 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
169 config 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
183 config 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
194 config 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
205 config 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
222 config 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
236 config 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
249 config 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
259 config 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
270 config SI1145
271         tristate "SI1132 and SI1141/2/3/5/6/7 combined ALS, UV index and proximity sensor"
272         depends on I2C
273         select IIO_BUFFER
274         select IIO_TRIGGERED_BUFFER
275         help
276           Say Y here if you want to build a driver for the Silicon Labs SI1132 or
277           SI1141/2/3/5/6/7 combined ambient light, UV index and proximity sensor
278           chips.
279
280           To compile this driver as a module, choose M here: the module will be
281           called si1145.
282
283 config STK3310
284         tristate "STK3310 ALS and proximity sensor"
285         depends on I2C
286         select REGMAP_I2C
287         help
288          Say yes here to get support for the Sensortek STK3310 ambient light
289          and proximity sensor. The STK3311 model is also supported by this
290          driver.
291
292          Choosing M will build the driver as a module. If so, the module
293          will be called stk3310.
294
295 config TCS3414
296         tristate "TAOS TCS3414 digital color sensor"
297         depends on I2C
298         select IIO_BUFFER
299         select IIO_TRIGGERED_BUFFER
300         help
301          If you say yes here you get support for the TAOS TCS3414
302          family of digital color sensors.
303
304          This driver can also be built as a module.  If so, the module
305          will be called tcs3414.
306
307 config TCS3472
308         tristate "TAOS TCS3472 color light-to-digital converter"
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 TCS3472
314          family of color light-to-digital converters with IR filter.
315
316          This driver can also be built as a module.  If so, the module
317          will be called tcs3472.
318
319 config SENSORS_TSL2563
320         tristate "TAOS TSL2560, TSL2561, TSL2562 and TSL2563 ambient light sensors"
321         depends on I2C
322         help
323          If you say yes here you get support for the Taos TSL2560,
324          TSL2561, TSL2562 and TSL2563 ambient light sensors.
325
326          This driver can also be built as a module.  If so, the module
327          will be called tsl2563.
328
329 config TSL4531
330         tristate "TAOS TSL4531 ambient light sensors"
331         depends on I2C
332         help
333          Say Y here if you want to build a driver for the TAOS TSL4531 family
334          of ambient light sensors with direct lux output.
335
336          To compile this driver as a module, choose M here: the
337          module will be called tsl4531.
338
339 config US5182D
340         tristate "UPISEMI light and proximity sensor"
341         depends on I2C
342         help
343          If you say yes here you get support for the UPISEMI US5182D
344          ambient light and proximity sensor.
345
346          This driver can also be built as a module.  If so, the module
347          will be called us5182d.
348
349 config VCNL4000
350         tristate "VCNL4000/4010/4020 combined ALS and proximity sensor"
351         depends on I2C
352         help
353          Say Y here if you want to build a driver for the Vishay VCNL4000,
354          VCNL4010, VCNL4020 combined ambient light and proximity sensor.
355
356          To compile this driver as a module, choose M here: the
357          module will be called vcnl4000.
358
359 config VEML6070
360         tristate "VEML6070 UV A light sensor"
361         depends on I2C
362         help
363          Say Y here if you want to build a driver for the Vishay VEML6070 UV A
364          light sensor.
365
366          To compile this driver as a module, choose M here: the
367          module will be called veml6070.
368
369 endmenu