mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
arm64/dts: add bq25890 dtsi
add bq25890 dtsi config for milanf 5g Change-Id: I02c0732e486c451445abcb7126e7ec3c7ab5eade Reviewed-on: https://gerrit.mot.com/2069668 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
787b3ea7cf
commit
c1ec3aae57
1 changed files with 37 additions and 0 deletions
|
|
@ -96,4 +96,41 @@
|
|||
temp_t0_thres_plus_x_degree = <2>;
|
||||
temp_neg_10_thres = <0>;
|
||||
};
|
||||
|
||||
bq25890@6A {
|
||||
status = "okay";
|
||||
compatible = "ti,bq2589x-1";
|
||||
reg = <0x6A>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&bq2589x_irq>;
|
||||
bq2589x_irq-gpio = <&tlmm 12 0>;
|
||||
|
||||
ti,bq2589x,vbus-volt-high-level = <8700>;/* tune adapter to output 9v */
|
||||
ti,bq2589x,vbus-volt-low-level = <4400>;/* tune adapter to output 5v */
|
||||
ti,bq2589x,vbat-min-volt-to-tuneup = <3000>;
|
||||
ti,bq2589x,charge-voltage = <4350>;
|
||||
ti,bq2589x,charge-current = <3250>;
|
||||
ti,bq2589x,term-current = <256>;
|
||||
ti,bq2589x,enable-auto-dpdm;
|
||||
ti,bq2589x,enable-termination;
|
||||
ti,bq2589x,enable-ico;
|
||||
ti,bq2589x,use-absolute-vindpm;
|
||||
};
|
||||
};
|
||||
|
||||
&tlmm {
|
||||
bq2589x_irq: bq2589x_irq {
|
||||
mux {
|
||||
pins = "gpio12";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio12";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
input-enable;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue