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 f1b6077a13
commit fff3a97cdc
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>;
};
&qupv3_id_1 {
status = "okay";
};
@ -619,7 +626,7 @@
pins = "gpio6", "gpio25", "gpio26";
function = "gpio";
drive-strength = <8>;
bias-disable = <0>;
bias-disable;
};
};

View file

@ -15,6 +15,10 @@
qcom,board-id = <8 0 17819 22>;
};
&pmi8998_fg {
qcom,battery-capacity-ua = <3300000>;
};
&display_panel {
status = "okay";

View file

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