iio: light: vcnl4000: add illuminance irq vcnl4040/4200
authorAstrid Rost <astrid.rost@axis.com>
Tue, 13 Jun 2023 13:50:21 +0000 (15:50 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 20 Jul 2023 18:21:29 +0000 (19:21 +0100)
commitbc292aaf9cb46d88fc66c33f875fd4c0e12a5009
treee5a79019e9aab1844a5af7bd37af84fc6dbae7d8
parentfea2c97d9e9229b81d3f35d460eb243563e70f02
iio: light: vcnl4000: add illuminance irq vcnl4040/4200

Add support to configure ambient light sensor interrupts and threshold
limits for vcnl4040 and vcnl4200. If an interrupt is detected an event
will be pushed to the event interface.

Signed-off-by: Astrid Rost <astrid.rost@axis.com>
Link: https://lore.kernel.org/r/20230613135025.2596641-6-astrid.rost@axis.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/vcnl4000.c