Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

iio: adc: qcom-spmi-adc5: add ADC5_VREF_VADC to rev2 ADC5

Add support for ADC5_VREF_VADC channel to rev2 ADC5 channel list.
This channel measures the VADC reference LDO output.

Signed-off-by: Robert Marko <robimarko@gmail.com>
Link: https://lore.kernel.org/r/20220818221815.346233-3-robimarko@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Robert Marko and committed by
Jonathan Cameron
83de8060 a723df3d

+2
+2
drivers/iio/adc/qcom-spmi-adc5.c
··· 597 597 SCALE_HW_CALIB_DEFAULT) 598 598 [ADC5_1P25VREF] = ADC5_CHAN_VOLT("vref_1p25", 0, 599 599 SCALE_HW_CALIB_DEFAULT) 600 + [ADC5_VREF_VADC] = ADC5_CHAN_VOLT("vref_vadc", 0, 601 + SCALE_HW_CALIB_DEFAULT) 600 602 [ADC5_VPH_PWR] = ADC5_CHAN_VOLT("vph_pwr", 1, 601 603 SCALE_HW_CALIB_DEFAULT) 602 604 [ADC5_VBAT_SNS] = ADC5_CHAN_VOLT("vbat_sns", 1,