summaryrefslogtreecommitdiff
path: root/drivers/iio
diff options
context:
space:
mode:
authorStefan Popa <stefan.popa@analog.com>2018-12-17 14:23:37 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-01-05 16:10:52 +0000
commitcc49bd1652a405dc641aeffa6b0925ad9a1affb3 (patch)
tree756031214125e0400b29923e179e9011c3ef0090 /drivers/iio
parentca5b4637d7ca561dbaba13d725957610a783ac2c (diff)
staging: iio: adc: ad7606: Add support for threaded irq
This patch replaces the use of a polling ring buffer with a threaded interrupt. Enabling the buffer sets the CONVST signal to high. When the rising edge of the CONVST is applied, BUSY signal goes logic high and transitions low at the end of the entire conversion process. The falling edge of the BUSY signal triggers the interrupt. ad7606_trigger_handler() is used as bottom half of the poll function. It reads data from the device and stores it in the internal buffer. Signed-off-by: Stefan Popa <stefan.popa@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions