]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: light: apds9960: Add proximity and gesture offset calibration
authorAbhash Jha <abhashkumarjha123@gmail.com>
Sun, 4 Aug 2024 13:42:12 +0000 (19:12 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 10 Aug 2024 10:17:35 +0000 (11:17 +0100)
commit06e91ad34453ef7656680f1e983ce2089d068204
treea32edd762e177007a5a3b5316ebaa1384b0865f4
parent6fc839dc320cd68c6009d5f5d73b7aa6ba428889
iio: light: apds9960: Add proximity and gesture offset calibration

Proximity and gesture offset registers perform offset correction to
improve cross-talk performance. Added `calibbias` to the proximity
and gesture channels.
Provided facility to set calibbias based on the channel number.

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