mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
kernel: add ADC5_GPIO3_DIV3 adc channel
add ADC5_GPIO3_DIV3 adc channel for read vbus voltage for nopmi project Change-Id: I930bfe91555db745599fceb23f55f4337d24e859 Signed-off-by: mahj8 <mahj8@lenovo.com> Reviewed-on: https://gerrit.mot.com/2049614 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
d8f0098f41
commit
b83ef54899
1 changed files with 2 additions and 0 deletions
|
|
@ -991,6 +991,8 @@ static const struct adc5_channels adc5_chans_pmic[ADC5_MAX_CHANNEL] = {
|
|||
SCALE_HW_CALIB_THERM_100K_PULLUP)
|
||||
[ADC5_GPIO4_100K_PU] = ADC5_CHAN_TEMP("gpio4_100k_pu", 0,
|
||||
SCALE_HW_CALIB_THERM_100K_PULLUP)
|
||||
[ADC5_GPIO3_DIV3] = ADC5_CHAN_VOLT("gpio3_div3", 1,
|
||||
SCALE_HW_CALIB_DEFAULT)
|
||||
};
|
||||
|
||||
static const struct adc5_channels adc7_chans_pmic[ADC5_MAX_CHANNEL] = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue