Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 589939b6 authored by Ashay Jaiswal's avatar Ashay Jaiswal
Browse files

ARM: dts: msm: add JEITA ADC code in QG battery profile for PMI632



Add JEITA threshold ADC code in MTP/QRD QG battery profile, also
add battery-data to PMI632 charger node which contains all QG battery
profiles supported by the platform.

Change-Id: Id3f92fb77a686a4962bf3527789ace18f6977a18
Signed-off-by: default avatarAshay Jaiswal <ashayj@codeaurora.org>
parent fc5a098f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -32,6 +32,11 @@ qcom,ascent_3450mah {
				4201000  4300000  2760000
				4301000  4350000  2070000>;

	/* COOL = 5 DegC, WARM = 40 DegC */
	qcom,jeita-soft-thresholds = <0x44bd 0x1fc4>;
	/* COLD = 0 DegC, HOT = 45 DegC */
	qcom,jeita-hard-thresholds = <0x4aa5 0x1bfb>;

	qcom,fcc1-temp-lut {
		qcom,lut-col-legend = <0 10 25 40 50>;
		qcom,lut-data = <3377 3428 3481 3496 3500>;
+5 −0
Original line number Diff line number Diff line
@@ -29,6 +29,11 @@ qcom,mlp356477_2800mah {
				 151 450  4400000
				 451 550  4150000>;

	/* COOL = 15 DegC, WARM = 45 DegC */
	qcom,jeita-soft-thresholds = <0x4621 0x20b8>;
	/* COLD = 0 DegC, HOT = 55 DegC */
	qcom,jeita-hard-thresholds = <0x58cd 0x181d>;

	qcom,fcc1-temp-lut {
		qcom,lut-col-legend = <0 10 25 40 50>;
		qcom,lut-data = <2715 2788 2861 2898 2908>;
+4 −0
Original line number Diff line number Diff line
@@ -39,6 +39,10 @@
	qcom,battery-data = <&mtp_batterydata>;
};

&pmi632_charger {
	qcom,battery-data = <&mtp_batterydata>;
};

&pm8953_typec {
	status = "disabled";
};
+4 −0
Original line number Diff line number Diff line
@@ -45,6 +45,10 @@
	qcom,battery-data = <&mtp_batterydata>;
};

&pmi632_charger {
	qcom,battery-data = <&mtp_batterydata>;
};

&pm8953_gpios {
	bklt_en {
		bklt_en_default: bklt_en_default {