19c8ea1b2SJohan Hovold# 29c8ea1b2SJohan Hovold# Light sensors 39c8ea1b2SJohan Hovold# 43edc84e6SLars-Peter Clausen# When adding new entries keep the list in alphabetical order 53edc84e6SLars-Peter Clausen 69c8ea1b2SJohan Hovoldmenu "Light sensors" 79c8ea1b2SJohan Hovold 8feca56ffSGabriele Mazzottaconfig ACPI_ALS 9feca56ffSGabriele Mazzotta tristate "ACPI Ambient Light Sensor" 10feca56ffSGabriele Mazzotta depends on ACPI 11feca56ffSGabriele Mazzotta select IIO_BUFFER 12feca56ffSGabriele Mazzotta select IIO_TRIGGERED_BUFFER 13feca56ffSGabriele Mazzotta select IIO_KFIFO_BUF 14feca56ffSGabriele Mazzotta help 15feca56ffSGabriele Mazzotta Say Y here if you want to build a driver for the ACPI0008 16feca56ffSGabriele Mazzotta Ambient Light Sensor. 17feca56ffSGabriele Mazzotta 18feca56ffSGabriele Mazzotta To compile this driver as a module, choose M here: the module will 19feca56ffSGabriele Mazzotta be called acpi-als. 20feca56ffSGabriele Mazzotta 21bbdb822cSPeter Meerwaldconfig ADJD_S311 22bbdb822cSPeter Meerwald tristate "ADJD-S311-CR999 digital color sensor" 23bbdb822cSPeter Meerwald select IIO_BUFFER 24bbdb822cSPeter Meerwald select IIO_TRIGGERED_BUFFER 25bbdb822cSPeter Meerwald depends on I2C 26bbdb822cSPeter Meerwald help 27bbdb822cSPeter Meerwald If you say yes here you get support for the Avago ADJD-S311-CR999 28bbdb822cSPeter Meerwald digital color light sensor. 29bbdb822cSPeter Meerwald 30bbdb822cSPeter Meerwald This driver can also be built as a module. If so, the module 31bbdb822cSPeter Meerwald will be called adjd_s311. 32bbdb822cSPeter Meerwald 33f007d7f1SDaniel Balutaconfig AL3320A 34f007d7f1SDaniel Baluta tristate "AL3320A ambient light sensor" 35f007d7f1SDaniel Baluta depends on I2C 36f007d7f1SDaniel Baluta help 37f007d7f1SDaniel Baluta Say Y here if you want to build a driver for the Dyna Image AL3320A 38f007d7f1SDaniel Baluta ambient light sensor. 39f007d7f1SDaniel Baluta 40f007d7f1SDaniel Baluta To compile this driver as a module, choose M here: the 41f007d7f1SDaniel Baluta module will be called al3320a. 42f007d7f1SDaniel Baluta 4303eff7b6SOleksandr Kravchenkoconfig APDS9300 4403eff7b6SOleksandr Kravchenko tristate "APDS9300 ambient light sensor" 4503eff7b6SOleksandr Kravchenko depends on I2C 4603eff7b6SOleksandr Kravchenko help 4703eff7b6SOleksandr Kravchenko Say Y here if you want to build a driver for the Avago APDS9300 4803eff7b6SOleksandr Kravchenko ambient light sensor. 4903eff7b6SOleksandr Kravchenko 5003eff7b6SOleksandr Kravchenko To compile this driver as a module, choose M here: the 5103eff7b6SOleksandr Kravchenko module will be called apds9300. 5203eff7b6SOleksandr Kravchenko 53aff268cdSMatt Ranostayconfig APDS9960 54aff268cdSMatt Ranostay tristate "Avago APDS9960 gesture/RGB/ALS/proximity sensor" 55aff268cdSMatt Ranostay select REGMAP_I2C 56aff268cdSMatt Ranostay select IIO_BUFFER 57aff268cdSMatt Ranostay select IIO_KFIFO_BUF 58aff268cdSMatt Ranostay depends on I2C 59aff268cdSMatt Ranostay help 60aff268cdSMatt Ranostay Say Y here to build I2C interface support for the Avago 61aff268cdSMatt Ranostay APDS9960 gesture/RGB/ALS/proximity sensor. 62aff268cdSMatt Ranostay 63aff268cdSMatt Ranostay To compile this driver as a module, choose M here: the 64aff268cdSMatt Ranostay module will be called apds9960 65aff268cdSMatt Ranostay 663a11fbb0STomasz Duszynskiconfig BH1750 673a11fbb0STomasz Duszynski tristate "ROHM BH1750 ambient light sensor" 683a11fbb0STomasz Duszynski depends on I2C 693a11fbb0STomasz Duszynski help 703a11fbb0STomasz Duszynski Say Y here to build support for the ROHM BH1710, BH1715, BH1721, 713a11fbb0STomasz Duszynski BH1750, BH1751 ambient light sensors. 723a11fbb0STomasz Duszynski 733a11fbb0STomasz Duszynski To compile this driver as a module, choose M here: the module will 743a11fbb0STomasz Duszynski be called bh1750. 753a11fbb0STomasz Duszynski 761f0477f1SLinus Walleijconfig BH1780 771f0477f1SLinus Walleij tristate "ROHM BH1780 ambient light sensor" 781f0477f1SLinus Walleij depends on I2C 791f0477f1SLinus Walleij depends on !SENSORS_BH1780 801f0477f1SLinus Walleij help 811f0477f1SLinus Walleij Say Y here to build support for the ROHM BH1780GLI ambient 821f0477f1SLinus Walleij light sensor. 831f0477f1SLinus Walleij 841f0477f1SLinus Walleij To compile this driver as a module, choose M here: the module will 851f0477f1SLinus Walleij be called bh1780. 861f0477f1SLinus Walleij 87971672c0SKevin Tsaiconfig CM32181 88971672c0SKevin Tsai depends on I2C 89971672c0SKevin Tsai tristate "CM32181 driver" 90971672c0SKevin Tsai help 91971672c0SKevin Tsai Say Y here if you use cm32181. 92971672c0SKevin Tsai This option enables ambient light sensor using 93971672c0SKevin Tsai Capella cm32181 device driver. 94971672c0SKevin Tsai 95971672c0SKevin Tsai To compile this driver as a module, choose M here: 96971672c0SKevin Tsai the module will be called cm32181. 97971672c0SKevin Tsai 98b84894c7SKevin Tsaiconfig CM3232 99b84894c7SKevin Tsai depends on I2C 100b84894c7SKevin Tsai tristate "CM3232 ambient light sensor" 101b84894c7SKevin Tsai help 102b84894c7SKevin Tsai Say Y here if you use cm3232. 103b84894c7SKevin Tsai This option enables ambient light sensor using 104b84894c7SKevin Tsai Capella Microsystems cm3232 device driver. 105b84894c7SKevin Tsai 106b84894c7SKevin Tsai To compile this driver as a module, choose M here: 107b84894c7SKevin Tsai the module will be called cm3232. 108b84894c7SKevin Tsai 1098b054426SDaniel Balutaconfig CM3323 1108b054426SDaniel Baluta depends on I2C 1118b054426SDaniel Baluta tristate "Capella CM3323 color light sensor" 1128b054426SDaniel Baluta help 11339b441bdSHartmut Knaack Say Y here if you want to build a driver for Capella CM3323 1148b054426SDaniel Baluta color sensor. 1158b054426SDaniel Baluta 1168b054426SDaniel Baluta To compile this driver as a module, choose M here: the module will 1178b054426SDaniel Baluta be called cm3323. 1188b054426SDaniel Baluta 119e590d451SBeomho Seoconfig CM36651 120e590d451SBeomho Seo depends on I2C 121e590d451SBeomho Seo tristate "CM36651 driver" 122e590d451SBeomho Seo help 123e590d451SBeomho Seo Say Y here if you use cm36651. 124e590d451SBeomho Seo This option enables proximity & RGB sensor using 125e590d451SBeomho Seo Capella cm36651 device driver. 126e590d451SBeomho Seo 127e590d451SBeomho Seo To compile this driver as a module, choose M here: 128e590d451SBeomho Seo the module will be called cm36651. 129e590d451SBeomho Seo 130bf29fbeaSJacek Anaszewskiconfig GP2AP020A00F 131bf29fbeaSJacek Anaszewski tristate "Sharp GP2AP020A00F Proximity/ALS sensor" 132bf29fbeaSJacek Anaszewski depends on I2C 1338c3b3efbSRoberta Dobrescu select REGMAP_I2C 134bf29fbeaSJacek Anaszewski select IIO_BUFFER 135bf29fbeaSJacek Anaszewski select IIO_TRIGGERED_BUFFER 136419a4aaeSRussell King - ARM Linux select IRQ_WORK 137bf29fbeaSJacek Anaszewski help 138bf29fbeaSJacek Anaszewski Say Y here if you have a Sharp GP2AP020A00F proximity/ALS combo-chip 139bf29fbeaSJacek Anaszewski hooked to an I2C bus. 140bf29fbeaSJacek Anaszewski 141bf29fbeaSJacek Anaszewski To compile this driver as a module, choose M here: the 142bf29fbeaSJacek Anaszewski module will be called gp2ap020a00f. 143bf29fbeaSJacek Anaszewski 1446c25539cSPeter Meerwaldconfig ISL29125 1456c25539cSPeter Meerwald tristate "Intersil ISL29125 digital color light sensor" 1466c25539cSPeter Meerwald depends on I2C 1476c25539cSPeter Meerwald select IIO_BUFFER 1486c25539cSPeter Meerwald select IIO_TRIGGERED_BUFFER 1496c25539cSPeter Meerwald help 1506c25539cSPeter Meerwald Say Y here if you want to build a driver for the Intersil ISL29125 1516c25539cSPeter Meerwald RGB light sensor for I2C. 1526c25539cSPeter Meerwald 1536c25539cSPeter Meerwald To compile this driver as a module, choose M here: the module will be 1546c25539cSPeter Meerwald called isl29125. 1556c25539cSPeter Meerwald 1563edc84e6SLars-Peter Clausenconfig HID_SENSOR_ALS 1573edc84e6SLars-Peter Clausen depends on HID_SENSOR_HUB 1583edc84e6SLars-Peter Clausen select IIO_BUFFER 1593edc84e6SLars-Peter Clausen select IIO_TRIGGERED_BUFFER 1603edc84e6SLars-Peter Clausen select HID_SENSOR_IIO_COMMON 1613edc84e6SLars-Peter Clausen select HID_SENSOR_IIO_TRIGGER 1623edc84e6SLars-Peter Clausen tristate "HID ALS" 1633edc84e6SLars-Peter Clausen help 1643edc84e6SLars-Peter Clausen Say yes here to build support for the HID SENSOR 1653edc84e6SLars-Peter Clausen Ambient light sensor. 1663edc84e6SLars-Peter Clausen 1674f51c9adSRoberta Dobrescu To compile this driver as a module, choose M here: the 1684f51c9adSRoberta Dobrescu module will be called hid-sensor-als. 1694f51c9adSRoberta Dobrescu 17039a3a013SArchana Patniconfig HID_SENSOR_PROX 17139a3a013SArchana Patni depends on HID_SENSOR_HUB 17239a3a013SArchana Patni select IIO_BUFFER 17339a3a013SArchana Patni select IIO_TRIGGERED_BUFFER 17439a3a013SArchana Patni select HID_SENSOR_IIO_COMMON 17539a3a013SArchana Patni select HID_SENSOR_IIO_TRIGGER 17639a3a013SArchana Patni tristate "HID PROX" 17739a3a013SArchana Patni help 17839a3a013SArchana Patni Say yes here to build support for the HID SENSOR 17939a3a013SArchana Patni Proximity sensor. 18039a3a013SArchana Patni 18139a3a013SArchana Patni To compile this driver as a module, choose M here: the 18239a3a013SArchana Patni module will be called hid-sensor-prox. 18339a3a013SArchana Patni 184995863ccSKuppuswamy Sathyanarayananconfig JSA1212 185995863ccSKuppuswamy Sathyanarayanan tristate "JSA1212 ALS and proximity sensor driver" 186995863ccSKuppuswamy Sathyanarayanan depends on I2C 18749e19d5fSRoberta Dobrescu select REGMAP_I2C 188995863ccSKuppuswamy Sathyanarayanan help 189995863ccSKuppuswamy Sathyanarayanan Say Y here if you want to build a IIO driver for JSA1212 190995863ccSKuppuswamy Sathyanarayanan proximity & ALS sensor device. 191995863ccSKuppuswamy Sathyanarayanan 192995863ccSKuppuswamy Sathyanarayanan To compile this driver as a module, choose M here: 193995863ccSKuppuswamy Sathyanarayanan the module will be called jsa1212. 194995863ccSKuppuswamy Sathyanarayanan 195efa86e9fSDaniel Balutaconfig RPR0521 196efa86e9fSDaniel Baluta tristate "ROHM RPR0521 ALS and proximity sensor driver" 197efa86e9fSDaniel Baluta depends on I2C 198efa86e9fSDaniel Baluta select REGMAP_I2C 199efa86e9fSDaniel Baluta help 200efa86e9fSDaniel Baluta Say Y here if you want to build support for ROHM's RPR0521 201efa86e9fSDaniel Baluta ambient light and proximity sensor device. 202efa86e9fSDaniel Baluta 203efa86e9fSDaniel Baluta To compile this driver as a module, choose M here: 204efa86e9fSDaniel Baluta the module will be called rpr0521. 205efa86e9fSDaniel Baluta 2069c8ea1b2SJohan Hovoldconfig SENSORS_LM3533 2079c8ea1b2SJohan Hovold tristate "LM3533 ambient light sensor" 2089c8ea1b2SJohan Hovold depends on MFD_LM3533 2099c8ea1b2SJohan Hovold help 2109c8ea1b2SJohan Hovold If you say yes here you get support for the ambient light sensor 2119c8ea1b2SJohan Hovold interface on National Semiconductor / TI LM3533 Lighting Power 2129c8ea1b2SJohan Hovold chips. 2139c8ea1b2SJohan Hovold 2149c8ea1b2SJohan Hovold The sensor interface can be used to control the LEDs and backlights 2159c8ea1b2SJohan Hovold of the chip through defining five light zones and three sets of 2169c8ea1b2SJohan Hovold corresponding output-current values. 2179c8ea1b2SJohan Hovold 2189c8ea1b2SJohan Hovold The driver provides raw and mean adc readings along with the current 2199c8ea1b2SJohan Hovold light zone through sysfs. A threshold event can be generated on zone 2209c8ea1b2SJohan Hovold changes. The ALS-control output values can be set per zone for the 2219c8ea1b2SJohan Hovold three current output channels. 22262a1efb9SPeter Meerwald 2232690be90SPeter Meerwaldconfig LTR501 2242690be90SPeter Meerwald tristate "LTR-501ALS-01 light sensor" 2252690be90SPeter Meerwald depends on I2C 2265d9fc0f6SHartmut Knaack select REGMAP_I2C 2272690be90SPeter Meerwald select IIO_BUFFER 2282690be90SPeter Meerwald select IIO_TRIGGERED_BUFFER 2292690be90SPeter Meerwald help 2302690be90SPeter Meerwald If you say yes here you get support for the Lite-On LTR-501ALS-01 2318592a7eeSDaniel Baluta ambient light and proximity sensor. This driver also supports LTR-559 232035ebb15SDaniel Baluta ALS/PS or LTR-301 ALS sensors. 2332690be90SPeter Meerwald 2342690be90SPeter Meerwald This driver can also be built as a module. If so, the module 2352690be90SPeter Meerwald will be called ltr501. 2362690be90SPeter Meerwald 237b9567e66SCrestez Dan Leonardconfig MAX44000 238b9567e66SCrestez Dan Leonard tristate "MAX44000 Ambient and Infrared Proximity Sensor" 239b9567e66SCrestez Dan Leonard depends on I2C 240b9567e66SCrestez Dan Leonard select REGMAP_I2C 241193e2d4fSAlison Schofield select IIO_BUFFER 242193e2d4fSAlison Schofield select IIO_TRIGGERED_BUFFER 243b9567e66SCrestez Dan Leonard help 244b9567e66SCrestez Dan Leonard Say Y here if you want to build support for Maxim Integrated's 245b9567e66SCrestez Dan Leonard MAX44000 ambient and infrared proximity sensor device. 246b9567e66SCrestez Dan Leonard 247b9567e66SCrestez Dan Leonard To compile this driver as a module, choose M here: 248b9567e66SCrestez Dan Leonard the module will be called max44000. 249b9567e66SCrestez Dan Leonard 25094a9b7b1SAndreas Dannenbergconfig OPT3001 25194a9b7b1SAndreas Dannenberg tristate "Texas Instruments OPT3001 Light Sensor" 25294a9b7b1SAndreas Dannenberg depends on I2C 25394a9b7b1SAndreas Dannenberg help 25494a9b7b1SAndreas Dannenberg If you say Y or M here, you get support for Texas Instruments 25594a9b7b1SAndreas Dannenberg OPT3001 Ambient Light Sensor. 25694a9b7b1SAndreas Dannenberg 25794a9b7b1SAndreas Dannenberg If built as a dynamically linked module, it will be called 25894a9b7b1SAndreas Dannenberg opt3001. 25994a9b7b1SAndreas Dannenberg 2608ab6abfcSAdriana Reusconfig PA12203001 2618ab6abfcSAdriana Reus tristate "TXC PA12203001 light and proximity sensor" 2628ab6abfcSAdriana Reus depends on I2C 2638ab6abfcSAdriana Reus select REGMAP_I2C 2648ab6abfcSAdriana Reus help 2658ab6abfcSAdriana Reus If you say yes here you get support for the TXC PA12203001 2668ab6abfcSAdriana Reus ambient light and proximity sensor. 2678ab6abfcSAdriana Reus 2688ab6abfcSAdriana Reus This driver can also be built as a module. If so, the module 2698ab6abfcSAdriana Reus will be called pa12203001. 2708ab6abfcSAdriana Reus 271be9e6229STiberiu Breanaconfig STK3310 272be9e6229STiberiu Breana tristate "STK3310 ALS and proximity sensor" 273be9e6229STiberiu Breana depends on I2C 2745d6e834aSHartmut Knaack select REGMAP_I2C 275be9e6229STiberiu Breana help 276be9e6229STiberiu Breana Say yes here to get support for the Sensortek STK3310 ambient light 277be9e6229STiberiu Breana and proximity sensor. The STK3311 model is also supported by this 278be9e6229STiberiu Breana driver. 279be9e6229STiberiu Breana 280be9e6229STiberiu Breana Choosing M will build the driver as a module. If so, the module 281be9e6229STiberiu Breana will be called stk3310. 282be9e6229STiberiu Breana 283a244e7b5SPeter Meerwaldconfig TCS3414 284a244e7b5SPeter Meerwald tristate "TAOS TCS3414 digital color sensor" 285a244e7b5SPeter Meerwald depends on I2C 286a244e7b5SPeter Meerwald select IIO_BUFFER 287a244e7b5SPeter Meerwald select IIO_TRIGGERED_BUFFER 288a244e7b5SPeter Meerwald help 289a244e7b5SPeter Meerwald If you say yes here you get support for the TAOS TCS3414 290a244e7b5SPeter Meerwald family of digital color sensors. 291a244e7b5SPeter Meerwald 292a244e7b5SPeter Meerwald This driver can also be built as a module. If so, the module 293a244e7b5SPeter Meerwald will be called tcs3414. 294a244e7b5SPeter Meerwald 295eb869adeSPeter Meerwaldconfig TCS3472 296eb869adeSPeter Meerwald tristate "TAOS TCS3472 color light-to-digital converter" 297eb869adeSPeter Meerwald depends on I2C 298089b54bdSPeter Meerwald select IIO_BUFFER 299089b54bdSPeter Meerwald select IIO_TRIGGERED_BUFFER 300eb869adeSPeter Meerwald help 301eb869adeSPeter Meerwald If you say yes here you get support for the TAOS TCS3472 302eb869adeSPeter Meerwald family of color light-to-digital converters with IR filter. 303eb869adeSPeter Meerwald 304eb869adeSPeter Meerwald This driver can also be built as a module. If so, the module 305eb869adeSPeter Meerwald will be called tcs3472. 306eb869adeSPeter Meerwald 3079c2251ddSJonathan Cameronconfig SENSORS_TSL2563 3089c2251ddSJonathan Cameron tristate "TAOS TSL2560, TSL2561, TSL2562 and TSL2563 ambient light sensors" 3099c2251ddSJonathan Cameron depends on I2C 3109c2251ddSJonathan Cameron help 3119c2251ddSJonathan Cameron If you say yes here you get support for the Taos TSL2560, 3129c2251ddSJonathan Cameron TSL2561, TSL2562 and TSL2563 ambient light sensors. 3139c2251ddSJonathan Cameron 3149c2251ddSJonathan Cameron This driver can also be built as a module. If so, the module 3159c2251ddSJonathan Cameron will be called tsl2563. 3169c2251ddSJonathan Cameron 317aab9ba7eSPeter Meerwaldconfig TSL4531 318aab9ba7eSPeter Meerwald tristate "TAOS TSL4531 ambient light sensors" 319aab9ba7eSPeter Meerwald depends on I2C 320aab9ba7eSPeter Meerwald help 321aab9ba7eSPeter Meerwald Say Y here if you want to build a driver for the TAOS TSL4531 family 322aab9ba7eSPeter Meerwald of ambient light sensors with direct lux output. 323aab9ba7eSPeter Meerwald 324aab9ba7eSPeter Meerwald To compile this driver as a module, choose M here: the 325aab9ba7eSPeter Meerwald module will be called tsl4531. 326aab9ba7eSPeter Meerwald 327c14f8abeSAdriana Reusconfig US5182D 328c14f8abeSAdriana Reus tristate "UPISEMI light and proximity sensor" 329c14f8abeSAdriana Reus depends on I2C 330c14f8abeSAdriana Reus help 331c14f8abeSAdriana Reus If you say yes here you get support for the UPISEMI US5182D 332c14f8abeSAdriana Reus ambient light and proximity sensor. 333c14f8abeSAdriana Reus 334c14f8abeSAdriana Reus This driver can also be built as a module. If so, the module 335c14f8abeSAdriana Reus will be called us5182d. 336c14f8abeSAdriana Reus 33762a1efb9SPeter Meerwaldconfig VCNL4000 33862a1efb9SPeter Meerwald tristate "VCNL4000 combined ALS and proximity sensor" 33962a1efb9SPeter Meerwald depends on I2C 34062a1efb9SPeter Meerwald help 34162a1efb9SPeter Meerwald Say Y here if you want to build a driver for the Vishay VCNL4000 34262a1efb9SPeter Meerwald combined ambient light and proximity sensor. 34362a1efb9SPeter Meerwald 34462a1efb9SPeter Meerwald To compile this driver as a module, choose M here: the 34562a1efb9SPeter Meerwald module will be called vcnl4000. 34662a1efb9SPeter Meerwald 347dfd2ab8dSPeter Meerwald-Stadlerconfig VEML6070 348dfd2ab8dSPeter Meerwald-Stadler tristate "VEML6070 UV A light sensor" 349dfd2ab8dSPeter Meerwald-Stadler depends on I2C 350dfd2ab8dSPeter Meerwald-Stadler help 351dfd2ab8dSPeter Meerwald-Stadler Say Y here if you want to build a driver for the Vishay VEML6070 UV A 352dfd2ab8dSPeter Meerwald-Stadler light sensor. 353dfd2ab8dSPeter Meerwald-Stadler 354dfd2ab8dSPeter Meerwald-Stadler To compile this driver as a module, choose M here: the 355dfd2ab8dSPeter Meerwald-Stadler module will be called veml6070. 356dfd2ab8dSPeter Meerwald-Stadler 3579c8ea1b2SJohan Hovoldendmenu 358