]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: light: ltr390: Interrupts and threshold event support
authorAbhash Jha <abhashkumarjha123@gmail.com>
Sat, 14 Sep 2024 18:12:45 +0000 (23:42 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 5 Oct 2024 11:09:14 +0000 (12:09 +0100)
commit7ca4b8957066d86abe7307a30585cac1ebc4ba82
tree903327ef9bf621561325f24b0fe0651346637be9
parent288ce72fb5fce63792d90b74bee4379cc2938ff9
iio: light: ltr390: Interrupts and threshold event support

Added support for threshold events for both the ALS and UVI channels.
The events are reported when the threshold interrupt is triggered. Both
rising and falling threshold types are supported.

Signed-off-by: Abhash Jha <abhashkumarjha123@gmail.com>
Link: https://patch.msgid.link/20240914181246.504450-4-abhashkumarjha123@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/ltr390.c