xref: /linux/drivers/iio/light/Kconfig (revision bbdb822c4c3f8dbefd8f6dc84f6d98c33af6e051)
19c8ea1b2SJohan Hovold#
29c8ea1b2SJohan Hovold# Light sensors
39c8ea1b2SJohan Hovold#
49c8ea1b2SJohan Hovoldmenu "Light sensors"
59c8ea1b2SJohan Hovold
6*bbdb822cSPeter Meerwaldconfig ADJD_S311
7*bbdb822cSPeter Meerwald	tristate "ADJD-S311-CR999 digital color sensor"
8*bbdb822cSPeter Meerwald	select IIO_BUFFER
9*bbdb822cSPeter Meerwald	select IIO_TRIGGERED_BUFFER
10*bbdb822cSPeter Meerwald	depends on I2C
11*bbdb822cSPeter Meerwald	help
12*bbdb822cSPeter Meerwald	 If you say yes here you get support for the Avago ADJD-S311-CR999
13*bbdb822cSPeter Meerwald	 digital color light sensor.
14*bbdb822cSPeter Meerwald
15*bbdb822cSPeter Meerwald	 This driver can also be built as a module.  If so, the module
16*bbdb822cSPeter Meerwald	 will be called adjd_s311.
17*bbdb822cSPeter Meerwald
189c8ea1b2SJohan Hovoldconfig SENSORS_LM3533
199c8ea1b2SJohan Hovold	tristate "LM3533 ambient light sensor"
209c8ea1b2SJohan Hovold	depends on MFD_LM3533
219c8ea1b2SJohan Hovold	help
229c8ea1b2SJohan Hovold	  If you say yes here you get support for the ambient light sensor
239c8ea1b2SJohan Hovold	  interface on National Semiconductor / TI LM3533 Lighting Power
249c8ea1b2SJohan Hovold	  chips.
259c8ea1b2SJohan Hovold
269c8ea1b2SJohan Hovold	  The sensor interface can be used to control the LEDs and backlights
279c8ea1b2SJohan Hovold	  of the chip through defining five light zones and three sets of
289c8ea1b2SJohan Hovold	  corresponding output-current values.
299c8ea1b2SJohan Hovold
309c8ea1b2SJohan Hovold	  The driver provides raw and mean adc readings along with the current
319c8ea1b2SJohan Hovold	  light zone through sysfs. A threshold event can be generated on zone
329c8ea1b2SJohan Hovold	  changes. The ALS-control output values can be set per zone for the
339c8ea1b2SJohan Hovold	  three current output channels.
3462a1efb9SPeter Meerwald
3562a1efb9SPeter Meerwaldconfig VCNL4000
3662a1efb9SPeter Meerwald	tristate "VCNL4000 combined ALS and proximity sensor"
3762a1efb9SPeter Meerwald	depends on I2C
3862a1efb9SPeter Meerwald	help
3962a1efb9SPeter Meerwald	 Say Y here if you want to build a driver for the Vishay VCNL4000
4062a1efb9SPeter Meerwald	 combined ambient light and proximity sensor.
4162a1efb9SPeter Meerwald
4262a1efb9SPeter Meerwald	 To compile this driver as a module, choose M here: the
4362a1efb9SPeter Meerwald	 module will be called vcnl4000.
4462a1efb9SPeter Meerwald
459c8ea1b2SJohan Hovoldendmenu
46