diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2017-07-21 00:24:27 +0900 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-08-20 15:41:17 +0100 |
commit | d9f39babd8ba258820539982969cabd56c02ba51 (patch) | |
tree | fff2ac6a1595e6765593e7d757addf99adb852b8 /security | |
parent | 47d8cf41d501902be523b9e3cf1909413cc19e97 (diff) | |
download | linux-d9f39babd8ba258820539982969cabd56c02ba51.tar.bz2 |
iio: adc: ti-ads1015: add threshold event support
The ADS1015 device provides programmable comparator that can issue an
interrupt on the ALERT pin. This change adds the iio threshold event
support for that feature.
The ADS1015 device only have a single config register which contains an
input multiplexer selection, comparator settings, and etc. So only a
single event channel can be enabled at a time. Also enabling both buffer
and event are prohibited for simplicity.
Cc: Daniel Baluta <daniel.baluta@gmail.com>
Cc: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions