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 76971672c0SKevin Tsaiconfig CM32181 77971672c0SKevin Tsai depends on I2C 78971672c0SKevin Tsai tristate "CM32181 driver" 79971672c0SKevin Tsai help 80971672c0SKevin Tsai Say Y here if you use cm32181. 81971672c0SKevin Tsai This option enables ambient light sensor using 82971672c0SKevin Tsai Capella cm32181 device driver. 83971672c0SKevin Tsai 84971672c0SKevin Tsai To compile this driver as a module, choose M here: 85971672c0SKevin Tsai the module will be called cm32181. 86971672c0SKevin Tsai 87b84894c7SKevin Tsaiconfig CM3232 88b84894c7SKevin Tsai depends on I2C 89b84894c7SKevin Tsai tristate "CM3232 ambient light sensor" 90b84894c7SKevin Tsai help 91b84894c7SKevin Tsai Say Y here if you use cm3232. 92b84894c7SKevin Tsai This option enables ambient light sensor using 93b84894c7SKevin Tsai Capella Microsystems cm3232 device driver. 94b84894c7SKevin Tsai 95b84894c7SKevin Tsai To compile this driver as a module, choose M here: 96b84894c7SKevin Tsai the module will be called cm3232. 97b84894c7SKevin Tsai 988b054426SDaniel Balutaconfig CM3323 998b054426SDaniel Baluta depends on I2C 1008b054426SDaniel Baluta tristate "Capella CM3323 color light sensor" 1018b054426SDaniel Baluta help 10239b441bdSHartmut Knaack Say Y here if you want to build a driver for Capella CM3323 1038b054426SDaniel Baluta color sensor. 1048b054426SDaniel Baluta 1058b054426SDaniel Baluta To compile this driver as a module, choose M here: the module will 1068b054426SDaniel Baluta be called cm3323. 1078b054426SDaniel Baluta 108e590d451SBeomho Seoconfig CM36651 109e590d451SBeomho Seo depends on I2C 110e590d451SBeomho Seo tristate "CM36651 driver" 111e590d451SBeomho Seo help 112e590d451SBeomho Seo Say Y here if you use cm36651. 113e590d451SBeomho Seo This option enables proximity & RGB sensor using 114e590d451SBeomho Seo Capella cm36651 device driver. 115e590d451SBeomho Seo 116e590d451SBeomho Seo To compile this driver as a module, choose M here: 117e590d451SBeomho Seo the module will be called cm36651. 118e590d451SBeomho Seo 119bf29fbeaSJacek Anaszewskiconfig GP2AP020A00F 120bf29fbeaSJacek Anaszewski tristate "Sharp GP2AP020A00F Proximity/ALS sensor" 121bf29fbeaSJacek Anaszewski depends on I2C 1228c3b3efbSRoberta Dobrescu select REGMAP_I2C 123bf29fbeaSJacek Anaszewski select IIO_BUFFER 124bf29fbeaSJacek Anaszewski select IIO_TRIGGERED_BUFFER 125419a4aaeSRussell King - ARM Linux select IRQ_WORK 126bf29fbeaSJacek Anaszewski help 127bf29fbeaSJacek Anaszewski Say Y here if you have a Sharp GP2AP020A00F proximity/ALS combo-chip 128bf29fbeaSJacek Anaszewski hooked to an I2C bus. 129bf29fbeaSJacek Anaszewski 130bf29fbeaSJacek Anaszewski To compile this driver as a module, choose M here: the 131bf29fbeaSJacek Anaszewski module will be called gp2ap020a00f. 132bf29fbeaSJacek Anaszewski 1336c25539cSPeter Meerwaldconfig ISL29125 1346c25539cSPeter Meerwald tristate "Intersil ISL29125 digital color light sensor" 1356c25539cSPeter Meerwald depends on I2C 1366c25539cSPeter Meerwald select IIO_BUFFER 1376c25539cSPeter Meerwald select IIO_TRIGGERED_BUFFER 1386c25539cSPeter Meerwald help 1396c25539cSPeter Meerwald Say Y here if you want to build a driver for the Intersil ISL29125 1406c25539cSPeter Meerwald RGB light sensor for I2C. 1416c25539cSPeter Meerwald 1426c25539cSPeter Meerwald To compile this driver as a module, choose M here: the module will be 1436c25539cSPeter Meerwald called isl29125. 1446c25539cSPeter Meerwald 1453edc84e6SLars-Peter Clausenconfig HID_SENSOR_ALS 1463edc84e6SLars-Peter Clausen depends on HID_SENSOR_HUB 1473edc84e6SLars-Peter Clausen select IIO_BUFFER 1483edc84e6SLars-Peter Clausen select IIO_TRIGGERED_BUFFER 1493edc84e6SLars-Peter Clausen select HID_SENSOR_IIO_COMMON 1503edc84e6SLars-Peter Clausen select HID_SENSOR_IIO_TRIGGER 1513edc84e6SLars-Peter Clausen tristate "HID ALS" 1523edc84e6SLars-Peter Clausen help 1533edc84e6SLars-Peter Clausen Say yes here to build support for the HID SENSOR 1543edc84e6SLars-Peter Clausen Ambient light sensor. 1553edc84e6SLars-Peter Clausen 1564f51c9adSRoberta Dobrescu To compile this driver as a module, choose M here: the 1574f51c9adSRoberta Dobrescu module will be called hid-sensor-als. 1584f51c9adSRoberta Dobrescu 15939a3a013SArchana Patniconfig HID_SENSOR_PROX 16039a3a013SArchana Patni depends on HID_SENSOR_HUB 16139a3a013SArchana Patni select IIO_BUFFER 16239a3a013SArchana Patni select IIO_TRIGGERED_BUFFER 16339a3a013SArchana Patni select HID_SENSOR_IIO_COMMON 16439a3a013SArchana Patni select HID_SENSOR_IIO_TRIGGER 16539a3a013SArchana Patni tristate "HID PROX" 16639a3a013SArchana Patni help 16739a3a013SArchana Patni Say yes here to build support for the HID SENSOR 16839a3a013SArchana Patni Proximity sensor. 16939a3a013SArchana Patni 17039a3a013SArchana Patni To compile this driver as a module, choose M here: the 17139a3a013SArchana Patni module will be called hid-sensor-prox. 17239a3a013SArchana Patni 173995863ccSKuppuswamy Sathyanarayananconfig JSA1212 174995863ccSKuppuswamy Sathyanarayanan tristate "JSA1212 ALS and proximity sensor driver" 175995863ccSKuppuswamy Sathyanarayanan depends on I2C 17649e19d5fSRoberta Dobrescu select REGMAP_I2C 177995863ccSKuppuswamy Sathyanarayanan help 178995863ccSKuppuswamy Sathyanarayanan Say Y here if you want to build a IIO driver for JSA1212 179995863ccSKuppuswamy Sathyanarayanan proximity & ALS sensor device. 180995863ccSKuppuswamy Sathyanarayanan 181995863ccSKuppuswamy Sathyanarayanan To compile this driver as a module, choose M here: 182995863ccSKuppuswamy Sathyanarayanan the module will be called jsa1212. 183995863ccSKuppuswamy Sathyanarayanan 184efa86e9fSDaniel Balutaconfig RPR0521 185efa86e9fSDaniel Baluta tristate "ROHM RPR0521 ALS and proximity sensor driver" 186efa86e9fSDaniel Baluta depends on I2C 187efa86e9fSDaniel Baluta select REGMAP_I2C 188efa86e9fSDaniel Baluta help 189efa86e9fSDaniel Baluta Say Y here if you want to build support for ROHM's RPR0521 190efa86e9fSDaniel Baluta ambient light and proximity sensor device. 191efa86e9fSDaniel Baluta 192efa86e9fSDaniel Baluta To compile this driver as a module, choose M here: 193efa86e9fSDaniel Baluta the module will be called rpr0521. 194efa86e9fSDaniel Baluta 1959c8ea1b2SJohan Hovoldconfig SENSORS_LM3533 1969c8ea1b2SJohan Hovold tristate "LM3533 ambient light sensor" 1979c8ea1b2SJohan Hovold depends on MFD_LM3533 1989c8ea1b2SJohan Hovold help 1999c8ea1b2SJohan Hovold If you say yes here you get support for the ambient light sensor 2009c8ea1b2SJohan Hovold interface on National Semiconductor / TI LM3533 Lighting Power 2019c8ea1b2SJohan Hovold chips. 2029c8ea1b2SJohan Hovold 2039c8ea1b2SJohan Hovold The sensor interface can be used to control the LEDs and backlights 2049c8ea1b2SJohan Hovold of the chip through defining five light zones and three sets of 2059c8ea1b2SJohan Hovold corresponding output-current values. 2069c8ea1b2SJohan Hovold 2079c8ea1b2SJohan Hovold The driver provides raw and mean adc readings along with the current 2089c8ea1b2SJohan Hovold light zone through sysfs. A threshold event can be generated on zone 2099c8ea1b2SJohan Hovold changes. The ALS-control output values can be set per zone for the 2109c8ea1b2SJohan Hovold three current output channels. 21162a1efb9SPeter Meerwald 2122690be90SPeter Meerwaldconfig LTR501 2132690be90SPeter Meerwald tristate "LTR-501ALS-01 light sensor" 2142690be90SPeter Meerwald depends on I2C 2155d9fc0f6SHartmut Knaack select REGMAP_I2C 2162690be90SPeter Meerwald select IIO_BUFFER 2172690be90SPeter Meerwald select IIO_TRIGGERED_BUFFER 2182690be90SPeter Meerwald help 2192690be90SPeter Meerwald If you say yes here you get support for the Lite-On LTR-501ALS-01 2208592a7eeSDaniel Baluta ambient light and proximity sensor. This driver also supports LTR-559 221035ebb15SDaniel Baluta ALS/PS or LTR-301 ALS sensors. 2222690be90SPeter Meerwald 2232690be90SPeter Meerwald This driver can also be built as a module. If so, the module 2242690be90SPeter Meerwald will be called ltr501. 2252690be90SPeter Meerwald 22694a9b7b1SAndreas Dannenbergconfig OPT3001 22794a9b7b1SAndreas Dannenberg tristate "Texas Instruments OPT3001 Light Sensor" 22894a9b7b1SAndreas Dannenberg depends on I2C 22994a9b7b1SAndreas Dannenberg help 23094a9b7b1SAndreas Dannenberg If you say Y or M here, you get support for Texas Instruments 23194a9b7b1SAndreas Dannenberg OPT3001 Ambient Light Sensor. 23294a9b7b1SAndreas Dannenberg 23394a9b7b1SAndreas Dannenberg If built as a dynamically linked module, it will be called 23494a9b7b1SAndreas Dannenberg opt3001. 23594a9b7b1SAndreas Dannenberg 2368ab6abfcSAdriana Reusconfig PA12203001 2378ab6abfcSAdriana Reus tristate "TXC PA12203001 light and proximity sensor" 2388ab6abfcSAdriana Reus depends on I2C 2398ab6abfcSAdriana Reus select REGMAP_I2C 2408ab6abfcSAdriana Reus help 2418ab6abfcSAdriana Reus If you say yes here you get support for the TXC PA12203001 2428ab6abfcSAdriana Reus ambient light and proximity sensor. 2438ab6abfcSAdriana Reus 2448ab6abfcSAdriana Reus This driver can also be built as a module. If so, the module 2458ab6abfcSAdriana Reus will be called pa12203001. 2468ab6abfcSAdriana Reus 247be9e6229STiberiu Breanaconfig STK3310 248be9e6229STiberiu Breana tristate "STK3310 ALS and proximity sensor" 249be9e6229STiberiu Breana depends on I2C 2505d6e834aSHartmut Knaack select REGMAP_I2C 251be9e6229STiberiu Breana help 252be9e6229STiberiu Breana Say yes here to get support for the Sensortek STK3310 ambient light 253be9e6229STiberiu Breana and proximity sensor. The STK3311 model is also supported by this 254be9e6229STiberiu Breana driver. 255be9e6229STiberiu Breana 256be9e6229STiberiu Breana Choosing M will build the driver as a module. If so, the module 257be9e6229STiberiu Breana will be called stk3310. 258be9e6229STiberiu Breana 259a244e7b5SPeter Meerwaldconfig TCS3414 260a244e7b5SPeter Meerwald tristate "TAOS TCS3414 digital color sensor" 261a244e7b5SPeter Meerwald depends on I2C 262a244e7b5SPeter Meerwald select IIO_BUFFER 263a244e7b5SPeter Meerwald select IIO_TRIGGERED_BUFFER 264a244e7b5SPeter Meerwald help 265a244e7b5SPeter Meerwald If you say yes here you get support for the TAOS TCS3414 266a244e7b5SPeter Meerwald family of digital color sensors. 267a244e7b5SPeter Meerwald 268a244e7b5SPeter Meerwald This driver can also be built as a module. If so, the module 269a244e7b5SPeter Meerwald will be called tcs3414. 270a244e7b5SPeter Meerwald 271eb869adeSPeter Meerwaldconfig TCS3472 272eb869adeSPeter Meerwald tristate "TAOS TCS3472 color light-to-digital converter" 273eb869adeSPeter Meerwald depends on I2C 274089b54bdSPeter Meerwald select IIO_BUFFER 275089b54bdSPeter Meerwald select IIO_TRIGGERED_BUFFER 276eb869adeSPeter Meerwald help 277eb869adeSPeter Meerwald If you say yes here you get support for the TAOS TCS3472 278eb869adeSPeter Meerwald family of color light-to-digital converters with IR filter. 279eb869adeSPeter Meerwald 280eb869adeSPeter Meerwald This driver can also be built as a module. If so, the module 281eb869adeSPeter Meerwald will be called tcs3472. 282eb869adeSPeter Meerwald 2839c2251ddSJonathan Cameronconfig SENSORS_TSL2563 2849c2251ddSJonathan Cameron tristate "TAOS TSL2560, TSL2561, TSL2562 and TSL2563 ambient light sensors" 2859c2251ddSJonathan Cameron depends on I2C 2869c2251ddSJonathan Cameron help 2879c2251ddSJonathan Cameron If you say yes here you get support for the Taos TSL2560, 2889c2251ddSJonathan Cameron TSL2561, TSL2562 and TSL2563 ambient light sensors. 2899c2251ddSJonathan Cameron 2909c2251ddSJonathan Cameron This driver can also be built as a module. If so, the module 2919c2251ddSJonathan Cameron will be called tsl2563. 2929c2251ddSJonathan Cameron 293aab9ba7eSPeter Meerwaldconfig TSL4531 294aab9ba7eSPeter Meerwald tristate "TAOS TSL4531 ambient light sensors" 295aab9ba7eSPeter Meerwald depends on I2C 296aab9ba7eSPeter Meerwald help 297aab9ba7eSPeter Meerwald Say Y here if you want to build a driver for the TAOS TSL4531 family 298aab9ba7eSPeter Meerwald of ambient light sensors with direct lux output. 299aab9ba7eSPeter Meerwald 300aab9ba7eSPeter Meerwald To compile this driver as a module, choose M here: the 301aab9ba7eSPeter Meerwald module will be called tsl4531. 302aab9ba7eSPeter Meerwald 30362a1efb9SPeter Meerwaldconfig VCNL4000 30462a1efb9SPeter Meerwald tristate "VCNL4000 combined ALS and proximity sensor" 30562a1efb9SPeter Meerwald depends on I2C 30662a1efb9SPeter Meerwald help 30762a1efb9SPeter Meerwald Say Y here if you want to build a driver for the Vishay VCNL4000 30862a1efb9SPeter Meerwald combined ambient light and proximity sensor. 30962a1efb9SPeter Meerwald 31062a1efb9SPeter Meerwald To compile this driver as a module, choose M here: the 31162a1efb9SPeter Meerwald module will be called vcnl4000. 31262a1efb9SPeter Meerwald 3139c8ea1b2SJohan Hovoldendmenu 314