xref: /openbmc/linux/drivers/iio/light/Kconfig (revision eb869ade)
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
303edc84e6SLars-Peter Clausenconfig HID_SENSOR_ALS
313edc84e6SLars-Peter Clausen	depends on HID_SENSOR_HUB
323edc84e6SLars-Peter Clausen	select IIO_BUFFER
333edc84e6SLars-Peter Clausen	select IIO_TRIGGERED_BUFFER
343edc84e6SLars-Peter Clausen	select HID_SENSOR_IIO_COMMON
353edc84e6SLars-Peter Clausen	select HID_SENSOR_IIO_TRIGGER
363edc84e6SLars-Peter Clausen	tristate "HID ALS"
373edc84e6SLars-Peter Clausen	help
383edc84e6SLars-Peter Clausen	  Say yes here to build support for the HID SENSOR
393edc84e6SLars-Peter Clausen	  Ambient light sensor.
403edc84e6SLars-Peter Clausen
419c8ea1b2SJohan Hovoldconfig SENSORS_LM3533
429c8ea1b2SJohan Hovold	tristate "LM3533 ambient light sensor"
439c8ea1b2SJohan Hovold	depends on MFD_LM3533
449c8ea1b2SJohan Hovold	help
459c8ea1b2SJohan Hovold	  If you say yes here you get support for the ambient light sensor
469c8ea1b2SJohan Hovold	  interface on National Semiconductor / TI LM3533 Lighting Power
479c8ea1b2SJohan Hovold	  chips.
489c8ea1b2SJohan Hovold
499c8ea1b2SJohan Hovold	  The sensor interface can be used to control the LEDs and backlights
509c8ea1b2SJohan Hovold	  of the chip through defining five light zones and three sets of
519c8ea1b2SJohan Hovold	  corresponding output-current values.
529c8ea1b2SJohan Hovold
539c8ea1b2SJohan Hovold	  The driver provides raw and mean adc readings along with the current
549c8ea1b2SJohan Hovold	  light zone through sysfs. A threshold event can be generated on zone
559c8ea1b2SJohan Hovold	  changes. The ALS-control output values can be set per zone for the
569c8ea1b2SJohan Hovold	  three current output channels.
5762a1efb9SPeter Meerwald
58eb869adeSPeter Meerwaldconfig TCS3472
59eb869adeSPeter Meerwald	tristate "TAOS TCS3472 color light-to-digital converter"
60eb869adeSPeter Meerwald	depends on I2C
61eb869adeSPeter Meerwald	help
62eb869adeSPeter Meerwald	 If you say yes here you get support for the TAOS TCS3472
63eb869adeSPeter Meerwald	 family of color light-to-digital converters with IR filter.
64eb869adeSPeter Meerwald
65eb869adeSPeter Meerwald	 This driver can also be built as a module.  If so, the module
66eb869adeSPeter Meerwald	 will be called tcs3472.
67eb869adeSPeter Meerwald
689c2251ddSJonathan Cameronconfig SENSORS_TSL2563
699c2251ddSJonathan Cameron	tristate "TAOS TSL2560, TSL2561, TSL2562 and TSL2563 ambient light sensors"
709c2251ddSJonathan Cameron	depends on I2C
719c2251ddSJonathan Cameron	help
729c2251ddSJonathan Cameron	 If you say yes here you get support for the Taos TSL2560,
739c2251ddSJonathan Cameron	 TSL2561, TSL2562 and TSL2563 ambient light sensors.
749c2251ddSJonathan Cameron
759c2251ddSJonathan Cameron	 This driver can also be built as a module.  If so, the module
769c2251ddSJonathan Cameron	 will be called tsl2563.
779c2251ddSJonathan Cameron
78aab9ba7eSPeter Meerwaldconfig TSL4531
79aab9ba7eSPeter Meerwald	tristate "TAOS TSL4531 ambient light sensors"
80aab9ba7eSPeter Meerwald	depends on I2C
81aab9ba7eSPeter Meerwald	help
82aab9ba7eSPeter Meerwald	 Say Y here if you want to build a driver for the TAOS TSL4531 family
83aab9ba7eSPeter Meerwald	 of ambient light sensors with direct lux output.
84aab9ba7eSPeter Meerwald
85aab9ba7eSPeter Meerwald	 To compile this driver as a module, choose M here: the
86aab9ba7eSPeter Meerwald	 module will be called tsl4531.
87aab9ba7eSPeter Meerwald
8862a1efb9SPeter Meerwaldconfig VCNL4000
8962a1efb9SPeter Meerwald	tristate "VCNL4000 combined ALS and proximity sensor"
9062a1efb9SPeter Meerwald	depends on I2C
9162a1efb9SPeter Meerwald	help
9262a1efb9SPeter Meerwald	 Say Y here if you want to build a driver for the Vishay VCNL4000
9362a1efb9SPeter Meerwald	 combined ambient light and proximity sensor.
9462a1efb9SPeter Meerwald
9562a1efb9SPeter Meerwald	 To compile this driver as a module, choose M here: the
9662a1efb9SPeter Meerwald	 module will be called vcnl4000.
9762a1efb9SPeter Meerwald
989c8ea1b2SJohan Hovoldendmenu
99