xref: /linux/drivers/iio/light/Kconfig (revision 62a1efb9f868690d68b11ffb22dc598e547aa184)
19c8ea1b2SJohan Hovold#
29c8ea1b2SJohan Hovold# Light sensors
39c8ea1b2SJohan Hovold#
49c8ea1b2SJohan Hovoldmenu "Light sensors"
59c8ea1b2SJohan Hovold
69c8ea1b2SJohan Hovoldconfig SENSORS_LM3533
79c8ea1b2SJohan Hovold	tristate "LM3533 ambient light sensor"
89c8ea1b2SJohan Hovold	depends on MFD_LM3533
99c8ea1b2SJohan Hovold	help
109c8ea1b2SJohan Hovold	  If you say yes here you get support for the ambient light sensor
119c8ea1b2SJohan Hovold	  interface on National Semiconductor / TI LM3533 Lighting Power
129c8ea1b2SJohan Hovold	  chips.
139c8ea1b2SJohan Hovold
149c8ea1b2SJohan Hovold	  The sensor interface can be used to control the LEDs and backlights
159c8ea1b2SJohan Hovold	  of the chip through defining five light zones and three sets of
169c8ea1b2SJohan Hovold	  corresponding output-current values.
179c8ea1b2SJohan Hovold
189c8ea1b2SJohan Hovold	  The driver provides raw and mean adc readings along with the current
199c8ea1b2SJohan Hovold	  light zone through sysfs. A threshold event can be generated on zone
209c8ea1b2SJohan Hovold	  changes. The ALS-control output values can be set per zone for the
219c8ea1b2SJohan Hovold	  three current output channels.
22*62a1efb9SPeter Meerwald
23*62a1efb9SPeter Meerwaldconfig VCNL4000
24*62a1efb9SPeter Meerwald	tristate "VCNL4000 combined ALS and proximity sensor"
25*62a1efb9SPeter Meerwald	depends on I2C
26*62a1efb9SPeter Meerwald	help
27*62a1efb9SPeter Meerwald	 Say Y here if you want to build a driver for the Vishay VCNL4000
28*62a1efb9SPeter Meerwald	 combined ambient light and proximity sensor.
29*62a1efb9SPeter Meerwald
30*62a1efb9SPeter Meerwald	 To compile this driver as a module, choose M here: the
31*62a1efb9SPeter Meerwald	 module will be called vcnl4000.
32*62a1efb9SPeter Meerwald
339c8ea1b2SJohan Hovoldendmenu
34