xref: /linux/drivers/iio/light/Kconfig (revision bf29fbeaa13d3350ca71df70c705d8b883c45692)
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
2003eff7b6SOleksandr Kravchenkoconfig APDS9300
2103eff7b6SOleksandr Kravchenko	tristate "APDS9300 ambient light sensor"
2203eff7b6SOleksandr Kravchenko	depends on I2C
2303eff7b6SOleksandr Kravchenko	help
2403eff7b6SOleksandr Kravchenko	 Say Y here if you want to build a driver for the Avago APDS9300
2503eff7b6SOleksandr Kravchenko	 ambient light sensor.
2603eff7b6SOleksandr Kravchenko
2703eff7b6SOleksandr Kravchenko	 To compile this driver as a module, choose M here: the
2803eff7b6SOleksandr Kravchenko	 module will be called apds9300.
2903eff7b6SOleksandr Kravchenko
30*bf29fbeaSJacek Anaszewskiconfig GP2AP020A00F
31*bf29fbeaSJacek Anaszewski	tristate "Sharp GP2AP020A00F Proximity/ALS sensor"
32*bf29fbeaSJacek Anaszewski	depends on I2C
33*bf29fbeaSJacek Anaszewski	select IIO_BUFFER
34*bf29fbeaSJacek Anaszewski	select IIO_TRIGGERED_BUFFER
35*bf29fbeaSJacek Anaszewski	help
36*bf29fbeaSJacek Anaszewski	  Say Y here if you have a Sharp GP2AP020A00F proximity/ALS combo-chip
37*bf29fbeaSJacek Anaszewski	  hooked to an I2C bus.
38*bf29fbeaSJacek Anaszewski
39*bf29fbeaSJacek Anaszewski	  To compile this driver as a module, choose M here: the
40*bf29fbeaSJacek Anaszewski	  module will be called gp2ap020a00f.
41*bf29fbeaSJacek Anaszewski
423edc84e6SLars-Peter Clausenconfig HID_SENSOR_ALS
433edc84e6SLars-Peter Clausen	depends on HID_SENSOR_HUB
443edc84e6SLars-Peter Clausen	select IIO_BUFFER
453edc84e6SLars-Peter Clausen	select IIO_TRIGGERED_BUFFER
463edc84e6SLars-Peter Clausen	select HID_SENSOR_IIO_COMMON
473edc84e6SLars-Peter Clausen	select HID_SENSOR_IIO_TRIGGER
483edc84e6SLars-Peter Clausen	tristate "HID ALS"
493edc84e6SLars-Peter Clausen	help
503edc84e6SLars-Peter Clausen	  Say yes here to build support for the HID SENSOR
513edc84e6SLars-Peter Clausen	  Ambient light sensor.
523edc84e6SLars-Peter Clausen
539c8ea1b2SJohan Hovoldconfig SENSORS_LM3533
549c8ea1b2SJohan Hovold	tristate "LM3533 ambient light sensor"
559c8ea1b2SJohan Hovold	depends on MFD_LM3533
569c8ea1b2SJohan Hovold	help
579c8ea1b2SJohan Hovold	  If you say yes here you get support for the ambient light sensor
589c8ea1b2SJohan Hovold	  interface on National Semiconductor / TI LM3533 Lighting Power
599c8ea1b2SJohan Hovold	  chips.
609c8ea1b2SJohan Hovold
619c8ea1b2SJohan Hovold	  The sensor interface can be used to control the LEDs and backlights
629c8ea1b2SJohan Hovold	  of the chip through defining five light zones and three sets of
639c8ea1b2SJohan Hovold	  corresponding output-current values.
649c8ea1b2SJohan Hovold
659c8ea1b2SJohan Hovold	  The driver provides raw and mean adc readings along with the current
669c8ea1b2SJohan Hovold	  light zone through sysfs. A threshold event can be generated on zone
679c8ea1b2SJohan Hovold	  changes. The ALS-control output values can be set per zone for the
689c8ea1b2SJohan Hovold	  three current output channels.
6962a1efb9SPeter Meerwald
70eb869adeSPeter Meerwaldconfig TCS3472
71eb869adeSPeter Meerwald	tristate "TAOS TCS3472 color light-to-digital converter"
72eb869adeSPeter Meerwald	depends on I2C
73eb869adeSPeter Meerwald	help
74eb869adeSPeter Meerwald	 If you say yes here you get support for the TAOS TCS3472
75eb869adeSPeter Meerwald	 family of color light-to-digital converters with IR filter.
76eb869adeSPeter Meerwald
77eb869adeSPeter Meerwald	 This driver can also be built as a module.  If so, the module
78eb869adeSPeter Meerwald	 will be called tcs3472.
79eb869adeSPeter Meerwald
809c2251ddSJonathan Cameronconfig SENSORS_TSL2563
819c2251ddSJonathan Cameron	tristate "TAOS TSL2560, TSL2561, TSL2562 and TSL2563 ambient light sensors"
829c2251ddSJonathan Cameron	depends on I2C
839c2251ddSJonathan Cameron	help
849c2251ddSJonathan Cameron	 If you say yes here you get support for the Taos TSL2560,
859c2251ddSJonathan Cameron	 TSL2561, TSL2562 and TSL2563 ambient light sensors.
869c2251ddSJonathan Cameron
879c2251ddSJonathan Cameron	 This driver can also be built as a module.  If so, the module
889c2251ddSJonathan Cameron	 will be called tsl2563.
899c2251ddSJonathan Cameron
90aab9ba7eSPeter Meerwaldconfig TSL4531
91aab9ba7eSPeter Meerwald	tristate "TAOS TSL4531 ambient light sensors"
92aab9ba7eSPeter Meerwald	depends on I2C
93aab9ba7eSPeter Meerwald	help
94aab9ba7eSPeter Meerwald	 Say Y here if you want to build a driver for the TAOS TSL4531 family
95aab9ba7eSPeter Meerwald	 of ambient light sensors with direct lux output.
96aab9ba7eSPeter Meerwald
97aab9ba7eSPeter Meerwald	 To compile this driver as a module, choose M here: the
98aab9ba7eSPeter Meerwald	 module will be called tsl4531.
99aab9ba7eSPeter Meerwald
10062a1efb9SPeter Meerwaldconfig VCNL4000
10162a1efb9SPeter Meerwald	tristate "VCNL4000 combined ALS and proximity sensor"
10262a1efb9SPeter Meerwald	depends on I2C
10362a1efb9SPeter Meerwald	help
10462a1efb9SPeter Meerwald	 Say Y here if you want to build a driver for the Vishay VCNL4000
10562a1efb9SPeter Meerwald	 combined ambient light and proximity sensor.
10662a1efb9SPeter Meerwald
10762a1efb9SPeter Meerwald	 To compile this driver as a module, choose M here: the
10862a1efb9SPeter Meerwald	 module will be called vcnl4000.
10962a1efb9SPeter Meerwald
1109c8ea1b2SJohan Hovoldendmenu
111