mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
dts: set cps4019 int pin as pull up for default
For CPS4019, its int pin is low active, so we should set it as pull up for default. Change-Id: I8242e3f48a0c8aa7e784dc167640b00c3cf7811a Reviewed-on: https://gerrit.mot.com/2262756 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
679be86d10
commit
c0ccf77304
1 changed files with 17 additions and 0 deletions
|
|
@ -171,6 +171,9 @@
|
|||
interrupts = <38 0>;
|
||||
interrupt-names = "cps_wls_int";
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&cps4019_irq>;
|
||||
|
||||
io-channels = <&mmi_discrete_charger PSY_IIO_MMI_OTG_ENABLE>;
|
||||
io-channel-names = "otg_enable";
|
||||
|
||||
|
|
@ -211,6 +214,20 @@
|
|||
input-enable;
|
||||
};
|
||||
};
|
||||
|
||||
cps4019_irq: cps4019_irq {
|
||||
mux {
|
||||
pins = "gpio38";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio38";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
input-enable;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&soc {
|
||||
|
|
|
|||
Loading…
Reference in a new issue