diff options
author | Alisa-Dariana Roman <[email protected]> | 2023-09-24 18:21:48 +0300 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2023-10-05 18:06:46 +0100 |
commit | 7e7dcab620cd6d34939f615cac63fc0ef7e81c72 (patch) | |
tree | 48e8b3d24d928426841fef06e34d11589cb274eb /scripts/rustdoc_test_builder.rs | |
parent | 7e87ab38eed09c9dec56da361d74158159ae84a3 (diff) |
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 <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions