diff options
author | Nuno Sá <nuno.sa@analog.com> | 2022-09-12 10:12:22 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-09-21 19:42:55 +0200 |
commit | 096d2dac25f9947d1cb1e16a16468de8fda685e6 (patch) | |
tree | a818ea5c6a4e52d741e8c543002ec67f097c7212 /drivers/macintosh/adb-iop.c | |
parent | iio: adc: ad7923: fix channel readings for some variants (diff) | |
download | linux-096d2dac25f9947d1cb1e16a16468de8fda685e6.tar.xz linux-096d2dac25f9947d1cb1e16a16468de8fda685e6.zip |
iio: adc: ad7923: support extended range
By default the driver was always setting the RANGE bit which means that
the analog input goes from 0 to VREF. However, we might want to have 0
to 2xVREF. This change adds a new Firmware property to allow for the
extended range while keeping the default behavior if nothing is provided.
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20220912081223.173584-3-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/macintosh/adb-iop.c')
0 files changed, 0 insertions, 0 deletions