aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorLiam Beguin <[email protected]>2021-08-15 17:33:07 -0400
committerJonathan Cameron <[email protected]>2021-09-14 12:00:30 +0100
commit37930650604982930c4f516447f0fb3a61cb647f (patch)
treed25ce851b4c5f5dde6abaf183e6d8ba91a59f019 /lib/mpi/mpiutil.c
parent0b2a740b424e68e346e3797eaa7c155575ae7c14 (diff)
iio: adc: ad7949: add vref selection support
Add support for selecting the voltage reference from the devicetree. This change is required to get valid readings with all three vref hardware configurations supported by the ADC. For instance if the ADC isn't provided with an external reference, the sample request must specify an internal voltage reference to get a valid reading. Signed-off-by: Liam Beguin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions