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 8bbdb822cSPeter Meerwaldconfig ADJD_S311 9bbdb822cSPeter Meerwald tristate "ADJD-S311-CR999 digital color sensor" 10bbdb822cSPeter Meerwald select IIO_BUFFER 11bbdb822cSPeter Meerwald select IIO_TRIGGERED_BUFFER 12bbdb822cSPeter Meerwald depends on I2C 13bbdb822cSPeter Meerwald help 14bbdb822cSPeter Meerwald If you say yes here you get support for the Avago ADJD-S311-CR999 15bbdb822cSPeter Meerwald digital color light sensor. 16bbdb822cSPeter Meerwald 17bbdb822cSPeter Meerwald This driver can also be built as a module. If so, the module 18bbdb822cSPeter Meerwald will be called adjd_s311. 19bbdb822cSPeter Meerwald 20f007d7f1SDaniel Balutaconfig AL3320A 21f007d7f1SDaniel Baluta tristate "AL3320A ambient light sensor" 22f007d7f1SDaniel Baluta depends on I2C 23f007d7f1SDaniel Baluta help 24f007d7f1SDaniel Baluta Say Y here if you want to build a driver for the Dyna Image AL3320A 25f007d7f1SDaniel Baluta ambient light sensor. 26f007d7f1SDaniel Baluta 27f007d7f1SDaniel Baluta To compile this driver as a module, choose M here: the 28f007d7f1SDaniel Baluta module will be called al3320a. 29f007d7f1SDaniel Baluta 3003eff7b6SOleksandr Kravchenkoconfig APDS9300 3103eff7b6SOleksandr Kravchenko tristate "APDS9300 ambient light sensor" 3203eff7b6SOleksandr Kravchenko depends on I2C 3303eff7b6SOleksandr Kravchenko help 3403eff7b6SOleksandr Kravchenko Say Y here if you want to build a driver for the Avago APDS9300 3503eff7b6SOleksandr Kravchenko ambient light sensor. 3603eff7b6SOleksandr Kravchenko 3703eff7b6SOleksandr Kravchenko To compile this driver as a module, choose M here: the 3803eff7b6SOleksandr Kravchenko module will be called apds9300. 3903eff7b6SOleksandr Kravchenko 40971672c0SKevin Tsaiconfig CM32181 41971672c0SKevin Tsai depends on I2C 42971672c0SKevin Tsai tristate "CM32181 driver" 43971672c0SKevin Tsai help 44971672c0SKevin Tsai Say Y here if you use cm32181. 45971672c0SKevin Tsai This option enables ambient light sensor using 46971672c0SKevin Tsai Capella cm32181 device driver. 47971672c0SKevin Tsai 48971672c0SKevin Tsai To compile this driver as a module, choose M here: 49971672c0SKevin Tsai the module will be called cm32181. 50971672c0SKevin Tsai 51b84894c7SKevin Tsaiconfig CM3232 52b84894c7SKevin Tsai depends on I2C 53b84894c7SKevin Tsai tristate "CM3232 ambient light sensor" 54b84894c7SKevin Tsai help 55b84894c7SKevin Tsai Say Y here if you use cm3232. 56b84894c7SKevin Tsai This option enables ambient light sensor using 57b84894c7SKevin Tsai Capella Microsystems cm3232 device driver. 58b84894c7SKevin Tsai 59b84894c7SKevin Tsai To compile this driver as a module, choose M here: 60b84894c7SKevin Tsai the module will be called cm3232. 61b84894c7SKevin Tsai 628b054426SDaniel Balutaconfig CM3323 638b054426SDaniel Baluta depends on I2C 648b054426SDaniel Baluta tristate "Capella CM3323 color light sensor" 658b054426SDaniel Baluta help 668b054426SDaniel Baluta Say Y here if you want to build a driver for Capela CM3323 678b054426SDaniel Baluta color sensor. 688b054426SDaniel Baluta 698b054426SDaniel Baluta To compile this driver as a module, choose M here: the module will 708b054426SDaniel Baluta be called cm3323. 718b054426SDaniel Baluta 72e590d451SBeomho Seoconfig CM36651 73e590d451SBeomho Seo depends on I2C 74e590d451SBeomho Seo tristate "CM36651 driver" 75e590d451SBeomho Seo help 76e590d451SBeomho Seo Say Y here if you use cm36651. 77e590d451SBeomho Seo This option enables proximity & RGB sensor using 78e590d451SBeomho Seo Capella cm36651 device driver. 79e590d451SBeomho Seo 80e590d451SBeomho Seo To compile this driver as a module, choose M here: 81e590d451SBeomho Seo the module will be called cm36651. 82e590d451SBeomho Seo 83bf29fbeaSJacek Anaszewskiconfig GP2AP020A00F 84bf29fbeaSJacek Anaszewski tristate "Sharp GP2AP020A00F Proximity/ALS sensor" 85bf29fbeaSJacek Anaszewski depends on I2C 868c3b3efbSRoberta Dobrescu select REGMAP_I2C 87bf29fbeaSJacek Anaszewski select IIO_BUFFER 88bf29fbeaSJacek Anaszewski select IIO_TRIGGERED_BUFFER 89419a4aaeSRussell King - ARM Linux select IRQ_WORK 90bf29fbeaSJacek Anaszewski help 91bf29fbeaSJacek Anaszewski Say Y here if you have a Sharp GP2AP020A00F proximity/ALS combo-chip 92bf29fbeaSJacek Anaszewski hooked to an I2C bus. 93bf29fbeaSJacek Anaszewski 94bf29fbeaSJacek Anaszewski To compile this driver as a module, choose M here: the 95bf29fbeaSJacek Anaszewski module will be called gp2ap020a00f. 96bf29fbeaSJacek Anaszewski 976c25539cSPeter Meerwaldconfig ISL29125 986c25539cSPeter Meerwald tristate "Intersil ISL29125 digital color light sensor" 996c25539cSPeter Meerwald depends on I2C 1006c25539cSPeter Meerwald select IIO_BUFFER 1016c25539cSPeter Meerwald select IIO_TRIGGERED_BUFFER 1026c25539cSPeter Meerwald help 1036c25539cSPeter Meerwald Say Y here if you want to build a driver for the Intersil ISL29125 1046c25539cSPeter Meerwald RGB light sensor for I2C. 1056c25539cSPeter Meerwald 1066c25539cSPeter Meerwald To compile this driver as a module, choose M here: the module will be 1076c25539cSPeter Meerwald called isl29125. 1086c25539cSPeter Meerwald 1093edc84e6SLars-Peter Clausenconfig HID_SENSOR_ALS 1103edc84e6SLars-Peter Clausen depends on HID_SENSOR_HUB 1113edc84e6SLars-Peter Clausen select IIO_BUFFER 1123edc84e6SLars-Peter Clausen select IIO_TRIGGERED_BUFFER 1133edc84e6SLars-Peter Clausen select HID_SENSOR_IIO_COMMON 1143edc84e6SLars-Peter Clausen select HID_SENSOR_IIO_TRIGGER 1153edc84e6SLars-Peter Clausen tristate "HID ALS" 1163edc84e6SLars-Peter Clausen help 1173edc84e6SLars-Peter Clausen Say yes here to build support for the HID SENSOR 1183edc84e6SLars-Peter Clausen Ambient light sensor. 1193edc84e6SLars-Peter Clausen 1204f51c9adSRoberta Dobrescu To compile this driver as a module, choose M here: the 1214f51c9adSRoberta Dobrescu module will be called hid-sensor-als. 1224f51c9adSRoberta Dobrescu 12339a3a013SArchana Patniconfig HID_SENSOR_PROX 12439a3a013SArchana Patni depends on HID_SENSOR_HUB 12539a3a013SArchana Patni select IIO_BUFFER 12639a3a013SArchana Patni select IIO_TRIGGERED_BUFFER 12739a3a013SArchana Patni select HID_SENSOR_IIO_COMMON 12839a3a013SArchana Patni select HID_SENSOR_IIO_TRIGGER 12939a3a013SArchana Patni tristate "HID PROX" 13039a3a013SArchana Patni help 13139a3a013SArchana Patni Say yes here to build support for the HID SENSOR 13239a3a013SArchana Patni Proximity sensor. 13339a3a013SArchana Patni 13439a3a013SArchana Patni To compile this driver as a module, choose M here: the 13539a3a013SArchana Patni module will be called hid-sensor-prox. 13639a3a013SArchana Patni 137995863ccSKuppuswamy Sathyanarayananconfig JSA1212 138995863ccSKuppuswamy Sathyanarayanan tristate "JSA1212 ALS and proximity sensor driver" 139995863ccSKuppuswamy Sathyanarayanan depends on I2C 14049e19d5fSRoberta Dobrescu select REGMAP_I2C 141995863ccSKuppuswamy Sathyanarayanan help 142995863ccSKuppuswamy Sathyanarayanan Say Y here if you want to build a IIO driver for JSA1212 143995863ccSKuppuswamy Sathyanarayanan proximity & ALS sensor device. 144995863ccSKuppuswamy Sathyanarayanan 145995863ccSKuppuswamy Sathyanarayanan To compile this driver as a module, choose M here: 146995863ccSKuppuswamy Sathyanarayanan the module will be called jsa1212. 147995863ccSKuppuswamy Sathyanarayanan 1489c8ea1b2SJohan Hovoldconfig SENSORS_LM3533 1499c8ea1b2SJohan Hovold tristate "LM3533 ambient light sensor" 1509c8ea1b2SJohan Hovold depends on MFD_LM3533 1519c8ea1b2SJohan Hovold help 1529c8ea1b2SJohan Hovold If you say yes here you get support for the ambient light sensor 1539c8ea1b2SJohan Hovold interface on National Semiconductor / TI LM3533 Lighting Power 1549c8ea1b2SJohan Hovold chips. 1559c8ea1b2SJohan Hovold 1569c8ea1b2SJohan Hovold The sensor interface can be used to control the LEDs and backlights 1579c8ea1b2SJohan Hovold of the chip through defining five light zones and three sets of 1589c8ea1b2SJohan Hovold corresponding output-current values. 1599c8ea1b2SJohan Hovold 1609c8ea1b2SJohan Hovold The driver provides raw and mean adc readings along with the current 1619c8ea1b2SJohan Hovold light zone through sysfs. A threshold event can be generated on zone 1629c8ea1b2SJohan Hovold changes. The ALS-control output values can be set per zone for the 1639c8ea1b2SJohan Hovold three current output channels. 16462a1efb9SPeter Meerwald 1652690be90SPeter Meerwaldconfig LTR501 1662690be90SPeter Meerwald tristate "LTR-501ALS-01 light sensor" 1672690be90SPeter Meerwald depends on I2C 1682690be90SPeter Meerwald select IIO_BUFFER 1692690be90SPeter Meerwald select IIO_TRIGGERED_BUFFER 1702690be90SPeter Meerwald help 1712690be90SPeter Meerwald If you say yes here you get support for the Lite-On LTR-501ALS-01 172*8592a7eeSDaniel Baluta ambient light and proximity sensor. This driver also supports LTR-559 173*8592a7eeSDaniel Baluta ALS/PS sensor. 1742690be90SPeter Meerwald 1752690be90SPeter Meerwald This driver can also be built as a module. If so, the module 1762690be90SPeter Meerwald will be called ltr501. 1772690be90SPeter Meerwald 178a244e7b5SPeter Meerwaldconfig TCS3414 179a244e7b5SPeter Meerwald tristate "TAOS TCS3414 digital color sensor" 180a244e7b5SPeter Meerwald depends on I2C 181a244e7b5SPeter Meerwald select IIO_BUFFER 182a244e7b5SPeter Meerwald select IIO_TRIGGERED_BUFFER 183a244e7b5SPeter Meerwald help 184a244e7b5SPeter Meerwald If you say yes here you get support for the TAOS TCS3414 185a244e7b5SPeter Meerwald family of digital color sensors. 186a244e7b5SPeter Meerwald 187a244e7b5SPeter Meerwald This driver can also be built as a module. If so, the module 188a244e7b5SPeter Meerwald will be called tcs3414. 189a244e7b5SPeter Meerwald 190eb869adeSPeter Meerwaldconfig TCS3472 191eb869adeSPeter Meerwald tristate "TAOS TCS3472 color light-to-digital converter" 192eb869adeSPeter Meerwald depends on I2C 193089b54bdSPeter Meerwald select IIO_BUFFER 194089b54bdSPeter Meerwald select IIO_TRIGGERED_BUFFER 195eb869adeSPeter Meerwald help 196eb869adeSPeter Meerwald If you say yes here you get support for the TAOS TCS3472 197eb869adeSPeter Meerwald family of color light-to-digital converters with IR filter. 198eb869adeSPeter Meerwald 199eb869adeSPeter Meerwald This driver can also be built as a module. If so, the module 200eb869adeSPeter Meerwald will be called tcs3472. 201eb869adeSPeter Meerwald 2029c2251ddSJonathan Cameronconfig SENSORS_TSL2563 2039c2251ddSJonathan Cameron tristate "TAOS TSL2560, TSL2561, TSL2562 and TSL2563 ambient light sensors" 2049c2251ddSJonathan Cameron depends on I2C 2059c2251ddSJonathan Cameron help 2069c2251ddSJonathan Cameron If you say yes here you get support for the Taos TSL2560, 2079c2251ddSJonathan Cameron TSL2561, TSL2562 and TSL2563 ambient light sensors. 2089c2251ddSJonathan Cameron 2099c2251ddSJonathan Cameron This driver can also be built as a module. If so, the module 2109c2251ddSJonathan Cameron will be called tsl2563. 2119c2251ddSJonathan Cameron 212aab9ba7eSPeter Meerwaldconfig TSL4531 213aab9ba7eSPeter Meerwald tristate "TAOS TSL4531 ambient light sensors" 214aab9ba7eSPeter Meerwald depends on I2C 215aab9ba7eSPeter Meerwald help 216aab9ba7eSPeter Meerwald Say Y here if you want to build a driver for the TAOS TSL4531 family 217aab9ba7eSPeter Meerwald of ambient light sensors with direct lux output. 218aab9ba7eSPeter Meerwald 219aab9ba7eSPeter Meerwald To compile this driver as a module, choose M here: the 220aab9ba7eSPeter Meerwald module will be called tsl4531. 221aab9ba7eSPeter Meerwald 22262a1efb9SPeter Meerwaldconfig VCNL4000 22362a1efb9SPeter Meerwald tristate "VCNL4000 combined ALS and proximity sensor" 22462a1efb9SPeter Meerwald depends on I2C 22562a1efb9SPeter Meerwald help 22662a1efb9SPeter Meerwald Say Y here if you want to build a driver for the Vishay VCNL4000 22762a1efb9SPeter Meerwald combined ambient light and proximity sensor. 22862a1efb9SPeter Meerwald 22962a1efb9SPeter Meerwald To compile this driver as a module, choose M here: the 23062a1efb9SPeter Meerwald module will be called vcnl4000. 23162a1efb9SPeter Meerwald 2329c8ea1b2SJohan Hovoldendmenu 233