mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
arm/dts: config pmk8003 gpio3 to adc mode
charge pump ntc connect to pmk8003 gpio3 Ensure the gpio is disabled via setting to bias-high-impedance to enable adc mode. Change-Id: I4bd98e3ff38ba65e88c89b735a0011b2f73978d5 Signed-off-by: chailu1 <chailu1@lenovo.com> Reviewed-on: https://gerrit.mot.com/2289337 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Yuecai Liu <liuyc20@motorola.com> Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
1722e31576
commit
7722505f02
1 changed files with 11 additions and 0 deletions
|
|
@ -327,6 +327,9 @@
|
|||
};
|
||||
|
||||
&pmk8350_vadc {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pmk8350_gpio3_adc_default>;
|
||||
|
||||
pmk8350_batt_therm {
|
||||
reg = <PMK8350_ADC7_AMUX_THM2_100K_PU>;
|
||||
label = "pmk8350_batt_therm";
|
||||
|
|
@ -351,6 +354,14 @@
|
|||
bias-high-impedance; /* DISABLE GPIO1 for ADC*/
|
||||
};
|
||||
};
|
||||
|
||||
pmk8350_gpio3_adc {
|
||||
pmk8350_gpio3_adc_default: pmk8350_gpio3_adc_default {
|
||||
pins = "gpio3"; /* GPIO 3 */
|
||||
function = "normal"; /* normal */
|
||||
bias-high-impedance; /* DISABLE GPIO3 for ADC*/
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pmk8350_adc_tm {
|
||||
|
|
|
|||
Loading…
Reference in a new issue