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

Commit 03e0c1bc authored by Rajesh Bharathwaj's avatar Rajesh Bharathwaj Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: add XR smart viewer battery profile



Adding 1400mah battery profile for sxr1130 smart viewer.

Change-Id: I9c3593ec0d2ae84abaacb81604cf317b96a5eadf
Signed-off-by: default avatarRajesh Bharathwaj <rajeshbharathwaj@codeaurora.org>
parent 1a5d0307
Loading
Loading
Loading
Loading
+80 −0
Original line number Diff line number Diff line
/* Copyright (c) 2020, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

qcom,fg-gen3-batterydata-goertek-1400mah {
	qcom,max-voltage-uv = <4350000>;
	qcom,fg-cc-cv-threshold-mv = <4340>;
	qcom,nom-batt-capacity-mah = <1400>;
	qcom,batt-id-kohm = <10>;
	qcom,battery-beta = <3440>;
	qcom,battery-type = "fg-gen3-batterydata-goertek-1400mah";
	qcom,checksum = <0xF519>;
	qcom,gui-version = "PM660GUI - 0.0.0.45";
	qcom,fg-profile-data = [
		 79 21 F3 0D
		 6A 0B 99 05
		 0B 1D 8D FA
		 37 FC 4F 02
		 D7 19 0E 22
		 C0 3C 8C 4B
		 9E 00 00 00
		 13 00 00 00
		 00 00 DD CD
		 E1 C5 8D CA
		 2F 00 08 00
		 74 D3 AD 07
		 42 06 B7 F2
		 CB EC C9 03
		 37 FC 39 32
		 1E 06 09 20
		 27 00 14 00
		 AE 1F B4 05
		 54 0A 6C 06
		 D4 1C A8 02
		 97 0C A5 0B
		 DB 18 75 23
		 59 44 AD 5A
		 6E 00 00 00
		 0E 00 00 00
		 00 00 EB CC
		 3E CA 02 B4
		 2C 00 00 00
		 62 F2 AD 07
		 8F FC 9E 00
		 99 CB C0 02
		 B5 0D D8 23
		 C6 33 CC FF
		 07 10 00 00
		 BD 05 99 45
		 2C 00 40 00
		 F4 00 0A FA
		 FF 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
	];
};
+5 −7
Original line number Diff line number Diff line
/* Copyright (c) 2019, The Linux Foundation. All rights reserved.
/* Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -155,20 +155,18 @@
};

&vendor {
	mtp_batterydata: qcom,battery-data {
	svr_batterydata: qcom,battery-data {
		qcom,batt-id-range-pct = <15>;
		#include "fg-gen3-batterydata-itech-3000mah.dtsi"
		#include "fg-gen3-batterydata-ascent-3450mah.dtsi"
		#include "fg-gen3-batterydata-demo-6000mah.dtsi"
		#include "fg-gen3-batterydata-goertek-1400mah.dtsi"
	};
};

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

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

&tlmm {