diff options
author | Mathieu Othacehe <m.othacehe@gmail.com> | 2020-05-03 11:29:59 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-05-03 14:53:57 +0100 |
commit | 8fe78d5261e750205e5dab0681c4d62e4b3dbc28 (patch) | |
tree | ae93bd02c9a2174e9797ecdfd796e2bd44dfeebb /drivers/iio/orientation | |
parent | f6889c1b009e22238725b57e0df65df025e25475 (diff) | |
download | linux-stable-8fe78d5261e750205e5dab0681c4d62e4b3dbc28.tar.gz linux-stable-8fe78d5261e750205e5dab0681c4d62e4b3dbc28.tar.bz2 linux-stable-8fe78d5261e750205e5dab0681c4d62e4b3dbc28.zip |
iio: vcnl4000: Add buffer support for VCNL4010/20.
The VCNL4010 and VCNL4020 chips are able to raise interrupts on data ready.
Use it to provide triggered buffer support for proximity data.
Those two chips also provide ambient light data. However, they are sampled
at different rate than proximity data. As this is not handled by the IIO
framework for now, and the sample frequencies of ambient light data are
very low, do add buffer support for them.
Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/orientation')
0 files changed, 0 insertions, 0 deletions