0001 # SPDX-License-Identifier: GPL-2.0-only
0002
0003 #
0004 # Light sensors
0005 #
0006 # When adding new entries keep the list in alphabetical order
0007
0008 menu "Light sensors"
0009
0010 config ACPI_ALS
0011 tristate "ACPI Ambient Light Sensor"
0012 depends on ACPI
0013 select IIO_BUFFER
0014 select IIO_TRIGGERED_BUFFER
0015 select IIO_KFIFO_BUF
0016 help
0017 Say Y here if you want to build a driver for the ACPI0008
0018 Ambient Light Sensor.
0019
0020 To compile this driver as a module, choose M here: the module will
0021 be called acpi-als.
0022
0023 config ADJD_S311
0024 tristate "ADJD-S311-CR999 digital color sensor"
0025 select IIO_BUFFER
0026 select IIO_TRIGGERED_BUFFER
0027 depends on I2C
0028 help
0029 If you say yes here you get support for the Avago ADJD-S311-CR999
0030 digital color light sensor.
0031
0032 This driver can also be built as a module. If so, the module
0033 will be called adjd_s311.
0034
0035 config ADUX1020
0036 tristate "ADUX1020 photometric sensor"
0037 select REGMAP_I2C
0038 depends on I2C
0039 help
0040 Say Y here if you want to build a driver for the Analog Devices
0041 ADUX1020 photometric sensor.
0042
0043 To compile this driver as a module, choose M here: the
0044 module will be called adux1020.
0045
0046 config AL3010
0047 tristate "AL3010 ambient light sensor"
0048 depends on I2C
0049 help
0050 Say Y here if you want to build a driver for the Dyna Image AL3010
0051 ambient light sensor.
0052
0053 To compile this driver as a module, choose M here: the
0054 module will be called al3010.
0055
0056 config AL3320A
0057 tristate "AL3320A ambient light sensor"
0058 depends on I2C
0059 help
0060 Say Y here if you want to build a driver for the Dyna Image AL3320A
0061 ambient light sensor.
0062
0063 To compile this driver as a module, choose M here: the
0064 module will be called al3320a.
0065
0066 config APDS9300
0067 tristate "APDS9300 ambient light sensor"
0068 depends on I2C
0069 help
0070 Say Y here if you want to build a driver for the Avago APDS9300
0071 ambient light sensor.
0072
0073 To compile this driver as a module, choose M here: the
0074 module will be called apds9300.
0075
0076 config APDS9960
0077 tristate "Avago APDS9960 gesture/RGB/ALS/proximity sensor"
0078 select REGMAP_I2C
0079 select IIO_BUFFER
0080 select IIO_KFIFO_BUF
0081 depends on I2C
0082 help
0083 Say Y here to build I2C interface support for the Avago
0084 APDS9960 gesture/RGB/ALS/proximity sensor.
0085
0086 To compile this driver as a module, choose M here: the
0087 module will be called apds9960
0088
0089 config AS73211
0090 tristate "AMS AS73211 XYZ color sensor"
0091 depends on I2C
0092 select IIO_BUFFER
0093 select IIO_TRIGGERED_BUFFER
0094 help
0095 If you say yes here you get support for the AMS AS73211
0096 JENCOLOR(R) Digital XYZ Sensor.
0097
0098 For triggered measurements, you will need an additional trigger driver
0099 like IIO_HRTIMER_TRIGGER or IIO_SYSFS_TRIGGER.
0100
0101 This driver can also be built as a module. If so, the module
0102 will be called as73211.
0103
0104 config BH1750
0105 tristate "ROHM BH1750 ambient light sensor"
0106 depends on I2C
0107 help
0108 Say Y here to build support for the ROHM BH1710, BH1715, BH1721,
0109 BH1750, BH1751 ambient light sensors.
0110
0111 To compile this driver as a module, choose M here: the module will
0112 be called bh1750.
0113
0114 config BH1780
0115 tristate "ROHM BH1780 ambient light sensor"
0116 depends on I2C
0117 help
0118 Say Y here to build support for the ROHM BH1780GLI ambient
0119 light sensor.
0120
0121 To compile this driver as a module, choose M here: the module will
0122 be called bh1780.
0123
0124 config CM32181
0125 depends on I2C
0126 tristate "CM32181 driver"
0127 help
0128 Say Y here if you use cm32181.
0129 This option enables ambient light sensor using
0130 Capella cm32181 device driver.
0131
0132 To compile this driver as a module, choose M here:
0133 the module will be called cm32181.
0134
0135 config CM3232
0136 depends on I2C
0137 tristate "CM3232 ambient light sensor"
0138 help
0139 Say Y here if you use cm3232.
0140 This option enables ambient light sensor using
0141 Capella Microsystems cm3232 device driver.
0142
0143 To compile this driver as a module, choose M here:
0144 the module will be called cm3232.
0145
0146 config CM3323
0147 depends on I2C
0148 tristate "Capella CM3323 color light sensor"
0149 help
0150 Say Y here if you want to build a driver for Capella CM3323
0151 color sensor.
0152
0153 To compile this driver as a module, choose M here: the module will
0154 be called cm3323.
0155
0156 config CM3605
0157 tristate "Capella CM3605 ambient light and proximity sensor"
0158 help
0159 Say Y here if you want to build a driver for Capella CM3605
0160 ambient light and short range proximity sensor.
0161
0162 To compile this driver as a module, choose M here: the module will
0163 be called cm3605.
0164
0165 config CM36651
0166 depends on I2C
0167 tristate "CM36651 driver"
0168 help
0169 Say Y here if you use cm36651.
0170 This option enables proximity & RGB sensor using
0171 Capella cm36651 device driver.
0172
0173 To compile this driver as a module, choose M here:
0174 the module will be called cm36651.
0175
0176 config IIO_CROS_EC_LIGHT_PROX
0177 tristate "ChromeOS EC Light and Proximity Sensors"
0178 depends on IIO_CROS_EC_SENSORS_CORE
0179 help
0180 Say Y here if you use the light and proximity sensors
0181 presented by the ChromeOS EC Sensor hub.
0182
0183 To compile this driver as a module, choose M here:
0184 the module will be called cros_ec_light_prox.
0185
0186 config GP2AP002
0187 tristate "Sharp GP2AP002 Proximity/ALS sensor"
0188 depends on I2C
0189 select REGMAP
0190 help
0191 Say Y here if you have a Sharp GP2AP002 proximity/ALS combo-chip
0192 hooked to an I2C bus.
0193
0194 To compile this driver as a module, choose M here: the
0195 module will be called gp2ap002.
0196
0197 config GP2AP020A00F
0198 tristate "Sharp GP2AP020A00F Proximity/ALS sensor"
0199 depends on I2C
0200 select REGMAP_I2C
0201 select IIO_BUFFER
0202 select IIO_TRIGGERED_BUFFER
0203 select IRQ_WORK
0204 help
0205 Say Y here if you have a Sharp GP2AP020A00F proximity/ALS combo-chip
0206 hooked to an I2C bus.
0207
0208 To compile this driver as a module, choose M here: the
0209 module will be called gp2ap020a00f.
0210
0211 config IQS621_ALS
0212 tristate "Azoteq IQS621/622 ambient light sensors"
0213 depends on MFD_IQS62X || COMPILE_TEST
0214 help
0215 Say Y here if you want to build support for the Azoteq IQS621
0216 and IQS622 ambient light sensors.
0217
0218 To compile this driver as a module, choose M here: the module
0219 will be called iqs621-als.
0220
0221 config SENSORS_ISL29018
0222 tristate "Intersil 29018 light and proximity sensor"
0223 depends on I2C
0224 select REGMAP_I2C
0225 default n
0226 help
0227 If you say yes here you get support for ambient light sensing and
0228 proximity infrared sensing from Intersil ISL29018.
0229 This driver will provide the measurements of ambient light intensity
0230 in lux, proximity infrared sensing and normal infrared sensing.
0231 Data from sensor is accessible via sysfs.
0232
0233 config SENSORS_ISL29028
0234 tristate "Intersil ISL29028 Concurrent Light and Proximity Sensor"
0235 depends on I2C
0236 select REGMAP_I2C
0237 help
0238 Provides driver for the Intersil's ISL29028 device.
0239 This driver supports the sysfs interface to get the ALS, IR intensity,
0240 Proximity value via iio. The ISL29028 provides the concurrent sensing
0241 of ambient light and proximity.
0242
0243 config ISL29125
0244 tristate "Intersil ISL29125 digital color light sensor"
0245 depends on I2C
0246 select IIO_BUFFER
0247 select IIO_TRIGGERED_BUFFER
0248 help
0249 Say Y here if you want to build a driver for the Intersil ISL29125
0250 RGB light sensor for I2C.
0251
0252 To compile this driver as a module, choose M here: the module will be
0253 called isl29125.
0254
0255 config HID_SENSOR_ALS
0256 depends on HID_SENSOR_HUB
0257 select IIO_BUFFER
0258 select HID_SENSOR_IIO_COMMON
0259 select HID_SENSOR_IIO_TRIGGER
0260 tristate "HID ALS"
0261 help
0262 Say yes here to build support for the HID SENSOR
0263 Ambient light sensor.
0264
0265 To compile this driver as a module, choose M here: the
0266 module will be called hid-sensor-als.
0267
0268 config HID_SENSOR_PROX
0269 depends on HID_SENSOR_HUB
0270 select IIO_BUFFER
0271 select HID_SENSOR_IIO_COMMON
0272 select HID_SENSOR_IIO_TRIGGER
0273 tristate "HID PROX"
0274 help
0275 Say yes here to build support for the HID SENSOR
0276 Proximity sensor.
0277
0278 To compile this driver as a module, choose M here: the
0279 module will be called hid-sensor-prox.
0280
0281 config JSA1212
0282 tristate "JSA1212 ALS and proximity sensor driver"
0283 depends on I2C
0284 select REGMAP_I2C
0285 help
0286 Say Y here if you want to build a IIO driver for JSA1212
0287 proximity & ALS sensor device.
0288
0289 To compile this driver as a module, choose M here:
0290 the module will be called jsa1212.
0291
0292 config RPR0521
0293 tristate "ROHM RPR0521 ALS and proximity sensor driver"
0294 depends on I2C
0295 select REGMAP_I2C
0296 help
0297 Say Y here if you want to build support for ROHM's RPR0521
0298 ambient light and proximity sensor device.
0299
0300 To compile this driver as a module, choose M here:
0301 the module will be called rpr0521.
0302
0303 config SENSORS_LM3533
0304 tristate "LM3533 ambient light sensor"
0305 depends on MFD_LM3533
0306 help
0307 If you say yes here you get support for the ambient light sensor
0308 interface on National Semiconductor / TI LM3533 Lighting Power
0309 chips.
0310
0311 The sensor interface can be used to control the LEDs and backlights
0312 of the chip through defining five light zones and three sets of
0313 corresponding output-current values.
0314
0315 The driver provides raw and mean adc readings along with the current
0316 light zone through sysfs. A threshold event can be generated on zone
0317 changes. The ALS-control output values can be set per zone for the
0318 three current output channels.
0319
0320 config LTR501
0321 tristate "LTR-501ALS-01 light sensor"
0322 depends on I2C
0323 select REGMAP_I2C
0324 select IIO_BUFFER
0325 select IIO_TRIGGERED_BUFFER
0326 help
0327 If you say yes here you get support for the Lite-On LTR-501ALS-01
0328 ambient light and proximity sensor. This driver also supports LTR-559
0329 ALS/PS or LTR-301 ALS sensors.
0330
0331 This driver can also be built as a module. If so, the module
0332 will be called ltr501.
0333
0334 config LV0104CS
0335 tristate "LV0104CS Ambient Light Sensor"
0336 depends on I2C
0337 help
0338 Say Y here if you want to build support for the On Semiconductor
0339 LV0104CS ambient light sensor.
0340
0341 To compile this driver as a module, choose M here:
0342 the module will be called lv0104cs.
0343
0344 config MAX44000
0345 tristate "MAX44000 Ambient and Infrared Proximity Sensor"
0346 depends on I2C
0347 select REGMAP_I2C
0348 select IIO_BUFFER
0349 select IIO_TRIGGERED_BUFFER
0350 help
0351 Say Y here if you want to build support for Maxim Integrated's
0352 MAX44000 ambient and infrared proximity sensor device.
0353
0354 To compile this driver as a module, choose M here:
0355 the module will be called max44000.
0356
0357 config MAX44009
0358 tristate "MAX44009 Ambient Light Sensor"
0359 depends on I2C
0360 select REGMAP_I2C
0361 help
0362 Say Y here if you want to build support for Maxim Integrated's
0363 MAX44009 ambient light sensor device.
0364
0365 To compile this driver as a module, choose M here:
0366 the module will be called max44009.
0367
0368 config NOA1305
0369 tristate "ON Semiconductor NOA1305 ambient light sensor"
0370 depends on I2C
0371 select REGMAP_I2C
0372 help
0373 Say Y here if you want to build support for the ON Semiconductor
0374 NOA1305 ambient light sensor.
0375
0376 To compile this driver as a module, choose M here:
0377 The module will be called noa1305.
0378
0379 config OPT3001
0380 tristate "Texas Instruments OPT3001 Light Sensor"
0381 depends on I2C
0382 help
0383 If you say Y or M here, you get support for Texas Instruments
0384 OPT3001 Ambient Light Sensor.
0385
0386 If built as a dynamically linked module, it will be called
0387 opt3001.
0388
0389 config PA12203001
0390 tristate "TXC PA12203001 light and proximity sensor"
0391 depends on I2C
0392 select REGMAP_I2C
0393 help
0394 If you say yes here you get support for the TXC PA12203001
0395 ambient light and proximity sensor.
0396
0397 This driver can also be built as a module. If so, the module
0398 will be called pa12203001.
0399
0400 config SI1133
0401 tristate "SI1133 UV Index Sensor and Ambient Light Sensor"
0402 depends on I2C
0403 select REGMAP_I2C
0404 help
0405 Say Y here if you want to build a driver for the Silicon Labs SI1133
0406 UV Index Sensor and Ambient Light Sensor chip.
0407
0408 To compile this driver as a module, choose M here: the module will be
0409 called si1133.
0410
0411 config SI1145
0412 tristate "SI1132 and SI1141/2/3/5/6/7 combined ALS, UV index and proximity sensor"
0413 depends on I2C
0414 select IIO_BUFFER
0415 select IIO_TRIGGERED_BUFFER
0416 help
0417 Say Y here if you want to build a driver for the Silicon Labs SI1132 or
0418 SI1141/2/3/5/6/7 combined ambient light, UV index and proximity sensor
0419 chips.
0420
0421 To compile this driver as a module, choose M here: the module will be
0422 called si1145.
0423
0424 config STK3310
0425 tristate "STK3310 ALS and proximity sensor"
0426 depends on I2C
0427 select REGMAP_I2C
0428 help
0429 Say yes here to get support for the Sensortek STK3310 ambient light
0430 and proximity sensor. The STK3311 model is also supported by this
0431 driver.
0432
0433 Choosing M will build the driver as a module. If so, the module
0434 will be called stk3310.
0435
0436 config ST_UVIS25
0437 tristate "STMicroelectronics UVIS25 sensor driver"
0438 depends on (I2C || SPI)
0439 select IIO_BUFFER
0440 select IIO_TRIGGERED_BUFFER
0441 select ST_UVIS25_I2C if (I2C)
0442 select ST_UVIS25_SPI if (SPI_MASTER)
0443 help
0444 Say yes here to build support for STMicroelectronics UVIS25
0445 uv sensor
0446
0447 To compile this driver as a module, choose M here: the module
0448 will be called st_uvis25.
0449
0450 config ST_UVIS25_I2C
0451 tristate
0452 depends on ST_UVIS25
0453 select REGMAP_I2C
0454
0455 config ST_UVIS25_SPI
0456 tristate
0457 depends on ST_UVIS25
0458 select REGMAP_SPI
0459
0460 config TCS3414
0461 tristate "TAOS TCS3414 digital color sensor"
0462 depends on I2C
0463 select IIO_BUFFER
0464 select IIO_TRIGGERED_BUFFER
0465 help
0466 If you say yes here you get support for the TAOS TCS3414
0467 family of digital color sensors.
0468
0469 This driver can also be built as a module. If so, the module
0470 will be called tcs3414.
0471
0472 config TCS3472
0473 tristate "TAOS TCS3472 color light-to-digital converter"
0474 depends on I2C
0475 select IIO_BUFFER
0476 select IIO_TRIGGERED_BUFFER
0477 help
0478 If you say yes here you get support for the TAOS TCS3472
0479 family of color light-to-digital converters with IR filter.
0480
0481 This driver can also be built as a module. If so, the module
0482 will be called tcs3472.
0483
0484 config SENSORS_TSL2563
0485 tristate "TAOS TSL2560, TSL2561, TSL2562 and TSL2563 ambient light sensors"
0486 depends on I2C
0487 help
0488 If you say yes here you get support for the Taos TSL2560,
0489 TSL2561, TSL2562 and TSL2563 ambient light sensors.
0490
0491 This driver can also be built as a module. If so, the module
0492 will be called tsl2563.
0493
0494 config TSL2583
0495 tristate "TAOS TSL2580, TSL2581 and TSL2583 light-to-digital converters"
0496 depends on I2C
0497 help
0498 Provides support for the TAOS tsl2580, tsl2581 and tsl2583 devices.
0499 Access ALS data via iio, sysfs.
0500
0501 config TSL2591
0502 tristate "TAOS TSL2591 ambient light sensor"
0503 depends on I2C
0504 help
0505 Select Y here for support of the AMS/TAOS TSL2591 ambient light sensor,
0506 featuring channels for combined visible + IR intensity and lux illuminance.
0507 Access data via iio and sysfs. Supports iio_events.
0508
0509 To compile this driver as a module, select M: the
0510 module will be called tsl2591.
0511
0512 config TSL2772
0513 tristate "TAOS TSL/TMD2x71 and TSL/TMD2x72 Family of light and proximity sensors"
0514 depends on I2C
0515 help
0516 Support for: tsl2571, tsl2671, tmd2671, tsl2771, tmd2771, tsl2572, tsl2672,
0517 tmd2672, tsl2772, tmd2772 devices.
0518 Provides iio_events and direct access via sysfs.
0519
0520 config TSL4531
0521 tristate "TAOS TSL4531 ambient light sensors"
0522 depends on I2C
0523 help
0524 Say Y here if you want to build a driver for the TAOS TSL4531 family
0525 of ambient light sensors with direct lux output.
0526
0527 To compile this driver as a module, choose M here: the
0528 module will be called tsl4531.
0529
0530 config US5182D
0531 tristate "UPISEMI light and proximity sensor"
0532 depends on I2C
0533 help
0534 If you say yes here you get support for the UPISEMI US5182D
0535 ambient light and proximity sensor.
0536
0537 This driver can also be built as a module. If so, the module
0538 will be called us5182d.
0539
0540 config VCNL4000
0541 tristate "VCNL4000/4010/4020/4200 combined ALS and proximity sensor"
0542 select IIO_BUFFER
0543 select IIO_TRIGGERED_BUFFER
0544 depends on I2C
0545 help
0546 Say Y here if you want to build a driver for the Vishay VCNL4000,
0547 VCNL4010, VCNL4020, VCNL4200 combined ambient light and proximity
0548 sensor.
0549
0550 To compile this driver as a module, choose M here: the
0551 module will be called vcnl4000.
0552
0553 config VCNL4035
0554 tristate "VCNL4035 combined ALS and proximity sensor"
0555 select IIO_BUFFER
0556 select IIO_TRIGGERED_BUFFER
0557 select REGMAP_I2C
0558 depends on I2C
0559 help
0560 Say Y here if you want to build a driver for the Vishay VCNL4035,
0561 combined ambient light (ALS) and proximity sensor. Currently only ALS
0562 function is available.
0563
0564 To compile this driver as a module, choose M here: the
0565 module will be called vcnl4035.
0566
0567 config VEML6030
0568 tristate "VEML6030 ambient light sensor"
0569 select REGMAP_I2C
0570 depends on I2C
0571 help
0572 Say Y here if you want to build a driver for the Vishay VEML6030
0573 ambient light sensor (ALS).
0574
0575 To compile this driver as a module, choose M here: the
0576 module will be called veml6030.
0577
0578 config VEML6070
0579 tristate "VEML6070 UV A light sensor"
0580 depends on I2C
0581 help
0582 Say Y here if you want to build a driver for the Vishay VEML6070 UV A
0583 light sensor.
0584
0585 To compile this driver as a module, choose M here: the
0586 module will be called veml6070.
0587
0588 config VL6180
0589 tristate "VL6180 ALS, range and proximity sensor"
0590 depends on I2C
0591 help
0592 Say Y here if you want to build a driver for the STMicroelectronics
0593 VL6180 combined ambient light, range and proximity sensor.
0594
0595 To compile this driver as a module, choose M here: the
0596 module will be called vl6180.
0597
0598 config ZOPT2201
0599 tristate "ZOPT2201 ALS and UV B sensor"
0600 depends on I2C
0601 help
0602 Say Y here if you want to build a driver for the IDT
0603 ZOPT2201 ambient light and UV B sensor.
0604
0605 To compile this driver as a module, choose M here: the
0606 module will be called zopt2201.
0607
0608 endmenu