xref: /openbmc/linux/drivers/iio/light/Kconfig (revision 3edc84e6)
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
203edc84e6SLars-Peter Clausenconfig HID_SENSOR_ALS
213edc84e6SLars-Peter Clausen	depends on HID_SENSOR_HUB
223edc84e6SLars-Peter Clausen	select IIO_BUFFER
233edc84e6SLars-Peter Clausen	select IIO_TRIGGERED_BUFFER
243edc84e6SLars-Peter Clausen	select HID_SENSOR_IIO_COMMON
253edc84e6SLars-Peter Clausen	select HID_SENSOR_IIO_TRIGGER
263edc84e6SLars-Peter Clausen	tristate "HID ALS"
273edc84e6SLars-Peter Clausen	help
283edc84e6SLars-Peter Clausen	  Say yes here to build support for the HID SENSOR
293edc84e6SLars-Peter Clausen	  Ambient light sensor.
303edc84e6SLars-Peter Clausen
319c8ea1b2SJohan Hovoldconfig SENSORS_LM3533
329c8ea1b2SJohan Hovold	tristate "LM3533 ambient light sensor"
339c8ea1b2SJohan Hovold	depends on MFD_LM3533
349c8ea1b2SJohan Hovold	help
359c8ea1b2SJohan Hovold	  If you say yes here you get support for the ambient light sensor
369c8ea1b2SJohan Hovold	  interface on National Semiconductor / TI LM3533 Lighting Power
379c8ea1b2SJohan Hovold	  chips.
389c8ea1b2SJohan Hovold
399c8ea1b2SJohan Hovold	  The sensor interface can be used to control the LEDs and backlights
409c8ea1b2SJohan Hovold	  of the chip through defining five light zones and three sets of
419c8ea1b2SJohan Hovold	  corresponding output-current values.
429c8ea1b2SJohan Hovold
439c8ea1b2SJohan Hovold	  The driver provides raw and mean adc readings along with the current
449c8ea1b2SJohan Hovold	  light zone through sysfs. A threshold event can be generated on zone
459c8ea1b2SJohan Hovold	  changes. The ALS-control output values can be set per zone for the
469c8ea1b2SJohan Hovold	  three current output channels.
4762a1efb9SPeter Meerwald
489c2251ddSJonathan Cameronconfig SENSORS_TSL2563
499c2251ddSJonathan Cameron	tristate "TAOS TSL2560, TSL2561, TSL2562 and TSL2563 ambient light sensors"
509c2251ddSJonathan Cameron	depends on I2C
519c2251ddSJonathan Cameron	help
529c2251ddSJonathan Cameron	 If you say yes here you get support for the Taos TSL2560,
539c2251ddSJonathan Cameron	 TSL2561, TSL2562 and TSL2563 ambient light sensors.
549c2251ddSJonathan Cameron
559c2251ddSJonathan Cameron	 This driver can also be built as a module.  If so, the module
569c2251ddSJonathan Cameron	 will be called tsl2563.
579c2251ddSJonathan Cameron
5862a1efb9SPeter Meerwaldconfig VCNL4000
5962a1efb9SPeter Meerwald	tristate "VCNL4000 combined ALS and proximity sensor"
6062a1efb9SPeter Meerwald	depends on I2C
6162a1efb9SPeter Meerwald	help
6262a1efb9SPeter Meerwald	 Say Y here if you want to build a driver for the Vishay VCNL4000
6362a1efb9SPeter Meerwald	 combined ambient light and proximity sensor.
6462a1efb9SPeter Meerwald
6562a1efb9SPeter Meerwald	 To compile this driver as a module, choose M here: the
6662a1efb9SPeter Meerwald	 module will be called vcnl4000.
6762a1efb9SPeter Meerwald
689c8ea1b2SJohan Hovoldendmenu
69