iio: adc: ad7124: Add buffered input support
authorMircea Caprioru <mircea.caprioru@analog.com>
Tue, 25 Jun 2019 08:11:25 +0000 (11:11 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 26 Jun 2019 20:24:21 +0000 (21:24 +0100)
commit0eaecea6e4878abbf1d3e8de3e4eeabc856133d4
treeeec27e0a77adf0a7b51c30ad24f222a9ad123323
parentf1794fd7bdf7981e21595d0162ab4f7305b3c7c1
iio: adc: ad7124: Add buffered input support

This patch adds the option to enable the buffered mode for positive and
negative inputs. Each option can be enabled independently.

In buffered mode, the input channel feeds into a high impedance input stage
of the buffer amplifier. Therefore, the input can tolerate significant
source impedances and is tailored for direct connection to external
resistive type sensors such as strain gages or RTDs.

Signed-off-by: Mircea Caprioru <mircea.caprioru@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7124.c