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. 2262a1efb9SPeter Meerwald 2362a1efb9SPeter Meerwaldconfig VCNL4000 2462a1efb9SPeter Meerwald tristate "VCNL4000 combined ALS and proximity sensor" 2562a1efb9SPeter Meerwald depends on I2C 2662a1efb9SPeter Meerwald help 2762a1efb9SPeter Meerwald Say Y here if you want to build a driver for the Vishay VCNL4000 2862a1efb9SPeter Meerwald combined ambient light and proximity sensor. 2962a1efb9SPeter Meerwald 3062a1efb9SPeter Meerwald To compile this driver as a module, choose M here: the 3162a1efb9SPeter Meerwald module will be called vcnl4000. 3262a1efb9SPeter Meerwald 339c8ea1b2SJohan Hovoldendmenu 34