iio: light: vcnl4000: Add proximity irq for vcnl4200
authorAstrid Rost <astrid.rost@axis.com>
Tue, 13 Jun 2023 13:50:17 +0000 (15:50 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 20 Jul 2023 18:21:29 +0000 (19:21 +0100)
commit854965b7db63636e753130633f7762c26adb7f3d
tree90a09c029b23cb132716dfb5b3f47fa76cb4c178
parent3d936dfec0cd94e45e2741bea80d92592ceff97a
iio: light: vcnl4000: Add proximity irq for vcnl4200

Add proximity interrupt support for vcnl4200 (similar to vcnl4040).
Add support to configure proximity sensor interrupts and threshold
limits. 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-2-astrid.rost@axis.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/vcnl4000.c