iio: adc: Add DRAX_TEMP channel support

This is added to support SDM660 drax_temp ADC Channel.

Change-Id: I99637be014b1f60f05fae2488c9812029c567df4
Signed-off-by: Asha Magadi Venkateshamurthy <amagad@codeaurora.org>
This commit is contained in:
Asha Magadi Venkateshamurthy 2019-12-20 09:50:35 +05:30
parent 85a3f7d822
commit 60b130a992

View File

@ -987,6 +987,8 @@ static const struct adc_channels adc_chans_rev2[ADC_MAX_CHANNEL] = {
SCALE_HW_CALIB_THERM_100K_PULLUP)
[ADC_XO_THERM_PU2] = ADC_CHAN_TEMP("xo_therm", 1,
SCALE_HW_CALIB_THERM_100K_PULLUP)
[ANA_IN] = ADC_CHAN_TEMP("drax_temp", 1,
SCALE_HW_CALIB_PMIC_THERM)
};
static int adc_get_dt_channel_data(struct adc_chip *adc,