Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ac99c36c authored by Jishnu Prakash's avatar Jishnu Prakash
Browse files

iio: qcom-spmi-adc5: Add AMUX2_GPIO channel to rev2 channel list



Add ADC5_GPIO2_100K_PU channel to the list of rev2 ADC channels.

Change-Id: I684c4e5124f37345e378fa552cad789d24be6a69
Signed-off-by: default avatarJishnu Prakash <jprakash@codeaurora.org>
parent 601026c7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -776,6 +776,8 @@ static const struct adc5_channels adc5_chans_rev2[ADC5_MAX_CHANNEL] = {
					SCALE_HW_CALIB_THERM_100K_PULLUP)
	[ADC5_XO_THERM_100K_PU]	= ADC5_CHAN_TEMP("xo_therm_100k_pu", 0,
					SCALE_HW_CALIB_THERM_100K_PULLUP)
	[ADC5_GPIO2_100K_PU]	= ADC5_CHAN_TEMP("gpio2_100k_pu", 0,
					SCALE_HW_CALIB_THERM_100K_PULLUP)
};

static int adc5_get_dt_channel_data(struct adc5_chip *adc,