summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorAlisa-Dariana Roman <alisa.roman@analog.com>2023-09-24 18:21:48 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2023-10-05 20:06:46 +0300
commit7e7dcab620cd6d34939f615cac63fc0ef7e81c72 (patch)
tree48e8b3d24d928426841fef06e34d11589cb274eb /Documentation
parent7e87ab38eed09c9dec56da361d74158159ae84a3 (diff)
downloadlinux-7e7dcab620cd6d34939f615cac63fc0ef7e81c72.tar.xz
iio: adc: ad7192: Correct reference voltage
The avdd and the reference voltage are two different sources but the reference voltage was assigned according to the avdd supply. Add vref regulator structure and set the reference voltage according to the vref supply from the devicetree. In case vref supply is missing, reference voltage is set according to the avdd supply for compatibility with old devicetrees. Fixes: b581f748cce0 ("staging: iio: adc: ad7192: move out of staging") Signed-off-by: Alisa-Dariana Roman <alisa.roman@analog.com> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20230924152149.41884-1-alisadariana@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions