]> git.baikalelectronics.ru Git - kernel.git/commit
iio: vcnl4000: Add event support for VCNL4010/20.
authorMathieu Othacehe <m.othacehe@gmail.com>
Sun, 3 May 2020 09:29:57 +0000 (11:29 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 3 May 2020 13:51:50 +0000 (14:51 +0100)
commit5f28a7b8b4ffce35f0282e71842bcb301b3f5bc3
tree4eaa16f960648e90b0a416d4a881081f416b4179
parent1165e6ede56159a1e2038fb5d3ffdf7e71580949
iio: vcnl4000: Add event support for VCNL4010/20.

The VCNL4010 and VCNL4020 chips are able to raise interrupts on proximity
threshold events. Add support for threshold rising and falling events for
those two chips.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/vcnl4000.c