dtsi:config cw2217 fgauge battery param

qcom/proprietary/devicetree
config cw2217 fgauge battery param for rhodec
add atl and jiade battery param

Change-Id: I3149c73c493c311a8da02931fcfa73743310dc8a
Signed-off-by: liyiying <liyiying@wingtech.com>
Reviewed-on: https://gerrit.mot.com/2146459
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Lu Chai <chailu1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
liyiying 2021-12-16 15:25:44 +08:00 • committed by panyq6
commit 82a63f180e
3 changed files with 58 additions and 3 deletions

View file

@ -0,0 +1,27 @@
/*
* Copyright (C) 2021 Motorola Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License 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 http://www.gnu.org/licenses/gpl-2.0.html for more details.
*/
nd50-atl-5000mah {
serialnum = "SB18D24973";
fcc_design = <5000>;
ui_full = <98>;
config_profile_info = [5A 00 00 00 00 00 00 00
B2 BB C3 C7 B9 B4 AC 72
4A FF F3 B7 8E 81 69 5B
53 50 4C 80 D9 DE B8 DD
D4 CF D3 D6 D5 D2 CF CB
C6 C5 CF BF 9C 91 86 7D
6D 6B 79 90 A8 90 5C 69
20 00 57 10 00 B0 61 00
00 00 64 22 D3 58 00 00
00 00 00 00 00 00 00 8B ];
};

View file

@ -0,0 +1,27 @@
/*
* Copyright (C) 2021 Motorola Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License 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 http://www.gnu.org/licenses/gpl-2.0.html for more details.
*/
nd50-jiade-5000mah {
serialnum = "SB18D25053";
fcc_design = <5000>;
ui_full = <98>;
config_profile_info = [5A 00 00 00 00 00 00 00
9E BE B7 CF C2 C1 91 4F
31 FF FF FF C3 A3 8B 75
61 57 4C 8E E6 DE 83 D0
CC C8 D1 D5 D6 D4 D1 CD
CC CA CB C1 A0 94 8A 81
76 6D 7A 91 A7 86 5F 72
20 00 57 10 00 B0 5A 00
00 00 64 26 D3 4D 00 00
00 00 00 00 00 00 00 AF ];
};

View file

@ -38,8 +38,9 @@
reg = <0x64>;
status = "okay";
df-serialnum = "SB18D33989";
#include "bat_setting/CW_md50-amperex-5000mah.dtsi"
df-serialnum = "SB18D24973";
#include "bat_setting/CW_nd50-atl-5000mah.dtsi"
#include "bat_setting/CW_nd50-jiade-5000mah.dtsi"
};
sm5602@71 {
@ -219,7 +220,7 @@
mmi,max-fv-mv = <4450>;
mmi,max-fcc-ma = <4000>;
mmi,demo-fv-mv = <4000>;
mmi,df-serialnum = "SB18C77591";
mmi,df-serialnum = "SB18D24973";
mmi,mmi-temp-zones = <0 4200 1000 0>,
<10 4250 2500 1000>,
<15 0 2500 2500>,