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:
weiweij 2022-05-07 17:09:52 +08:00 • committed by panyq6
commit c0ccf77304

View file

@ -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 {