]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: light: ltr390: Add interrupt persistance support
authorAbhash Jha <abhashkumarjha123@gmail.com>
Sat, 14 Sep 2024 18:12:46 +0000 (23:42 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 5 Oct 2024 11:09:14 +0000 (12:09 +0100)
commit498a640a2ebce91bbe16d2839510f8b9f679a10e
tree45b711df1260b3f4a18afda899d244ee61d4baad
parent7ca4b8957066d86abe7307a30585cac1ebc4ba82
iio: light: ltr390: Add interrupt persistance support

Added support to configure the threshold interrupt persistance value by
providing IIO_EV_INFO_PERIOD attribute. The value written to the
attribute should be in miliseconds and should be greater than the
sampling rate of the sensor.

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