xref: /openbmc/linux/drivers/iio/light/Kconfig (revision b84894c7)
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
62e590d451SBeomho Seoconfig CM36651
63e590d451SBeomho Seo	depends on I2C
64e590d451SBeomho Seo	tristate "CM36651 driver"
65e590d451SBeomho Seo	help
66e590d451SBeomho Seo	 Say Y here if you use cm36651.
67e590d451SBeomho Seo	 This option enables proximity & RGB sensor using
68e590d451SBeomho Seo	 Capella cm36651 device driver.
69e590d451SBeomho Seo
70e590d451SBeomho Seo	 To compile this driver as a module, choose M here:
71e590d451SBeomho Seo	 the module will be called cm36651.
72e590d451SBeomho Seo
73bf29fbeaSJacek Anaszewskiconfig GP2AP020A00F
74bf29fbeaSJacek Anaszewski	tristate "Sharp GP2AP020A00F Proximity/ALS sensor"
75bf29fbeaSJacek Anaszewski	depends on I2C
76bf29fbeaSJacek Anaszewski	select IIO_BUFFER
77bf29fbeaSJacek Anaszewski	select IIO_TRIGGERED_BUFFER
78419a4aaeSRussell King - ARM Linux	select IRQ_WORK
79bf29fbeaSJacek Anaszewski	help
80bf29fbeaSJacek Anaszewski	  Say Y here if you have a Sharp GP2AP020A00F proximity/ALS combo-chip
81bf29fbeaSJacek Anaszewski	  hooked to an I2C bus.
82bf29fbeaSJacek Anaszewski
83bf29fbeaSJacek Anaszewski	  To compile this driver as a module, choose M here: the
84bf29fbeaSJacek Anaszewski	  module will be called gp2ap020a00f.
85bf29fbeaSJacek Anaszewski
866c25539cSPeter Meerwaldconfig ISL29125
876c25539cSPeter Meerwald	tristate "Intersil ISL29125 digital color light sensor"
886c25539cSPeter Meerwald	depends on I2C
896c25539cSPeter Meerwald	select IIO_BUFFER
906c25539cSPeter Meerwald	select IIO_TRIGGERED_BUFFER
916c25539cSPeter Meerwald	help
926c25539cSPeter Meerwald	  Say Y here if you want to build a driver for the Intersil ISL29125
936c25539cSPeter Meerwald	  RGB light sensor for I2C.
946c25539cSPeter Meerwald
956c25539cSPeter Meerwald	  To compile this driver as a module, choose M here: the module will be
966c25539cSPeter Meerwald	  called isl29125.
976c25539cSPeter Meerwald
983edc84e6SLars-Peter Clausenconfig HID_SENSOR_ALS
993edc84e6SLars-Peter Clausen	depends on HID_SENSOR_HUB
1003edc84e6SLars-Peter Clausen	select IIO_BUFFER
1013edc84e6SLars-Peter Clausen	select IIO_TRIGGERED_BUFFER
1023edc84e6SLars-Peter Clausen	select HID_SENSOR_IIO_COMMON
1033edc84e6SLars-Peter Clausen	select HID_SENSOR_IIO_TRIGGER
1043edc84e6SLars-Peter Clausen	tristate "HID ALS"
1053edc84e6SLars-Peter Clausen	help
1063edc84e6SLars-Peter Clausen	  Say yes here to build support for the HID SENSOR
1073edc84e6SLars-Peter Clausen	  Ambient light sensor.
1083edc84e6SLars-Peter Clausen
1094f51c9adSRoberta Dobrescu	  To compile this driver as a module, choose M here: the
1104f51c9adSRoberta Dobrescu	  module will be called hid-sensor-als.
1114f51c9adSRoberta Dobrescu
11239a3a013SArchana Patniconfig HID_SENSOR_PROX
11339a3a013SArchana Patni	depends on HID_SENSOR_HUB
11439a3a013SArchana Patni	select IIO_BUFFER
11539a3a013SArchana Patni	select IIO_TRIGGERED_BUFFER
11639a3a013SArchana Patni	select HID_SENSOR_IIO_COMMON
11739a3a013SArchana Patni	select HID_SENSOR_IIO_TRIGGER
11839a3a013SArchana Patni	tristate "HID PROX"
11939a3a013SArchana Patni	help
12039a3a013SArchana Patni	  Say yes here to build support for the HID SENSOR
12139a3a013SArchana Patni	  Proximity sensor.
12239a3a013SArchana Patni
12339a3a013SArchana Patni	  To compile this driver as a module, choose M here: the
12439a3a013SArchana Patni	  module will be called hid-sensor-prox.
12539a3a013SArchana Patni
126995863ccSKuppuswamy Sathyanarayananconfig JSA1212
127995863ccSKuppuswamy Sathyanarayanan	tristate "JSA1212 ALS and proximity sensor driver"
128995863ccSKuppuswamy Sathyanarayanan	depends on I2C
129995863ccSKuppuswamy Sathyanarayanan	help
130995863ccSKuppuswamy Sathyanarayanan	 Say Y here if you want to build a IIO driver for JSA1212
131995863ccSKuppuswamy Sathyanarayanan	 proximity & ALS sensor device.
132995863ccSKuppuswamy Sathyanarayanan
133995863ccSKuppuswamy Sathyanarayanan	 To compile this driver as a module, choose M here:
134995863ccSKuppuswamy Sathyanarayanan	 the module will be called jsa1212.
135995863ccSKuppuswamy Sathyanarayanan
1369c8ea1b2SJohan Hovoldconfig SENSORS_LM3533
1379c8ea1b2SJohan Hovold	tristate "LM3533 ambient light sensor"
1389c8ea1b2SJohan Hovold	depends on MFD_LM3533
1399c8ea1b2SJohan Hovold	help
1409c8ea1b2SJohan Hovold	  If you say yes here you get support for the ambient light sensor
1419c8ea1b2SJohan Hovold	  interface on National Semiconductor / TI LM3533 Lighting Power
1429c8ea1b2SJohan Hovold	  chips.
1439c8ea1b2SJohan Hovold
1449c8ea1b2SJohan Hovold	  The sensor interface can be used to control the LEDs and backlights
1459c8ea1b2SJohan Hovold	  of the chip through defining five light zones and three sets of
1469c8ea1b2SJohan Hovold	  corresponding output-current values.
1479c8ea1b2SJohan Hovold
1489c8ea1b2SJohan Hovold	  The driver provides raw and mean adc readings along with the current
1499c8ea1b2SJohan Hovold	  light zone through sysfs. A threshold event can be generated on zone
1509c8ea1b2SJohan Hovold	  changes. The ALS-control output values can be set per zone for the
1519c8ea1b2SJohan Hovold	  three current output channels.
15262a1efb9SPeter Meerwald
1532690be90SPeter Meerwaldconfig LTR501
1542690be90SPeter Meerwald	tristate "LTR-501ALS-01 light sensor"
1552690be90SPeter Meerwald	depends on I2C
1562690be90SPeter Meerwald	select IIO_BUFFER
1572690be90SPeter Meerwald	select IIO_TRIGGERED_BUFFER
1582690be90SPeter Meerwald	help
1592690be90SPeter Meerwald	 If you say yes here you get support for the Lite-On LTR-501ALS-01
1602690be90SPeter Meerwald	 ambient light and proximity sensor.
1612690be90SPeter Meerwald
1622690be90SPeter Meerwald	 This driver can also be built as a module.  If so, the module
1632690be90SPeter Meerwald         will be called ltr501.
1642690be90SPeter Meerwald
165a244e7b5SPeter Meerwaldconfig TCS3414
166a244e7b5SPeter Meerwald	tristate "TAOS TCS3414 digital color sensor"
167a244e7b5SPeter Meerwald	depends on I2C
168a244e7b5SPeter Meerwald	select IIO_BUFFER
169a244e7b5SPeter Meerwald	select IIO_TRIGGERED_BUFFER
170a244e7b5SPeter Meerwald	help
171a244e7b5SPeter Meerwald	 If you say yes here you get support for the TAOS TCS3414
172a244e7b5SPeter Meerwald	 family of digital color sensors.
173a244e7b5SPeter Meerwald
174a244e7b5SPeter Meerwald	 This driver can also be built as a module.  If so, the module
175a244e7b5SPeter Meerwald	 will be called tcs3414.
176a244e7b5SPeter Meerwald
177eb869adeSPeter Meerwaldconfig TCS3472
178eb869adeSPeter Meerwald	tristate "TAOS TCS3472 color light-to-digital converter"
179eb869adeSPeter Meerwald	depends on I2C
180089b54bdSPeter Meerwald	select IIO_BUFFER
181089b54bdSPeter Meerwald	select IIO_TRIGGERED_BUFFER
182eb869adeSPeter Meerwald	help
183eb869adeSPeter Meerwald	 If you say yes here you get support for the TAOS TCS3472
184eb869adeSPeter Meerwald	 family of color light-to-digital converters with IR filter.
185eb869adeSPeter Meerwald
186eb869adeSPeter Meerwald	 This driver can also be built as a module.  If so, the module
187eb869adeSPeter Meerwald	 will be called tcs3472.
188eb869adeSPeter Meerwald
1899c2251ddSJonathan Cameronconfig SENSORS_TSL2563
1909c2251ddSJonathan Cameron	tristate "TAOS TSL2560, TSL2561, TSL2562 and TSL2563 ambient light sensors"
1919c2251ddSJonathan Cameron	depends on I2C
1929c2251ddSJonathan Cameron	help
1939c2251ddSJonathan Cameron	 If you say yes here you get support for the Taos TSL2560,
1949c2251ddSJonathan Cameron	 TSL2561, TSL2562 and TSL2563 ambient light sensors.
1959c2251ddSJonathan Cameron
1969c2251ddSJonathan Cameron	 This driver can also be built as a module.  If so, the module
1979c2251ddSJonathan Cameron	 will be called tsl2563.
1989c2251ddSJonathan Cameron
199aab9ba7eSPeter Meerwaldconfig TSL4531
200aab9ba7eSPeter Meerwald	tristate "TAOS TSL4531 ambient light sensors"
201aab9ba7eSPeter Meerwald	depends on I2C
202aab9ba7eSPeter Meerwald	help
203aab9ba7eSPeter Meerwald	 Say Y here if you want to build a driver for the TAOS TSL4531 family
204aab9ba7eSPeter Meerwald	 of ambient light sensors with direct lux output.
205aab9ba7eSPeter Meerwald
206aab9ba7eSPeter Meerwald	 To compile this driver as a module, choose M here: the
207aab9ba7eSPeter Meerwald	 module will be called tsl4531.
208aab9ba7eSPeter Meerwald
20962a1efb9SPeter Meerwaldconfig VCNL4000
21062a1efb9SPeter Meerwald	tristate "VCNL4000 combined ALS and proximity sensor"
21162a1efb9SPeter Meerwald	depends on I2C
21262a1efb9SPeter Meerwald	help
21362a1efb9SPeter Meerwald	 Say Y here if you want to build a driver for the Vishay VCNL4000
21462a1efb9SPeter Meerwald	 combined ambient light and proximity sensor.
21562a1efb9SPeter Meerwald
21662a1efb9SPeter Meerwald	 To compile this driver as a module, choose M here: the
21762a1efb9SPeter Meerwald	 module will be called vcnl4000.
21862a1efb9SPeter Meerwald
2199c8ea1b2SJohan Hovoldendmenu
220