arm64: dts: qcom: sdm845-oneplus: enable pmi8998 fuel guage

Enable the new pmi8998 fuel gauge

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
This commit is contained in:
Joel Selvaraj 2020-12-25 12:57:15 +05:30 committed by Jami Kettunen
parent 631bacc3f5
commit c8e60b5904
4 changed files with 16 additions and 4 deletions

View file

@ -29,9 +29,6 @@
reg = <0x4000 0x1000>;
interrupts = <0x2 0x13 0x4 IRQ_TYPE_EDGE_BOTH>;
interrupt-names = "usb-plugin";
qcom,max-voltage-uv = <4400000>;
qcom,min-voltage-uv = <3700000>;
qcom,battery-capacity-ua = <4000000>;
};
};

View file

@ -450,6 +450,13 @@
};
};
&pmi8998_fg {
status = "okay";
qcom,max-voltage-uv = <4400000>;
qcom,min-voltage-uv = <3700000>;
};
&pmi8998_haptics {
status = "okay";
@ -625,7 +632,7 @@
pins = "gpio6", "gpio25", "gpio26";
function = "gpio";
drive-strength = <8>;
bias-disable = <0>;
bias-disable;
};
};

View file

@ -13,6 +13,10 @@
chassis-type = "handset";
};
&pmi8998_fg {
qcom,battery-capacity-ua = <3300000>;
};
&display_panel {
status = "okay";

View file

@ -19,6 +19,10 @@
compatible = "samsung,s6e3fc2x01";
};
&pmi8998_fg {
qcom,battery-capacity-ua = <3700000>;
};
&rmi4_f12 {
touchscreen-y-mm = <148>;
};