arm/dts: cypfr add cw2217 battery parameter

SB18C77591  -> ATL 1th
SB18C77226  ->SCUD 2th
apply above two battery parameter from CellWise

Change-Id: I21d0dbe4e7ce2501581f2b1c225991425fdc7fcd
Signed-off-by: liuyc20 <liuyc20@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2086797
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
liuyc20 2021-10-11 10:10:35 +08:00 • committed by panyq6
commit 8d0a044b4e
3 changed files with 55 additions and 0 deletions

View file

@ -0,0 +1,26 @@
/*
* 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.
*/
jd50-atl-5000mah {
serialnum = "SB18C77591";
fcc_design = <4850>;
config_profile_info = [5A 00 00 00 00 00 00 00
A0 B2 BF CB C3 C2 96 59
2F FF FF DB A6 8D 74 60
55 52 4D 8D FD DC 02 CF
CF D2 D1 D1 D0 CD C8 CD
C1 C0 C5 AD 95 8A 81 74
62 62 73 8F A7 87 5F 62
20 00 57 10 02 B0 76 00
00 00 64 28 D3 7C 00 00
00 00 00 00 00 00 00 44 ];
};

View file

@ -0,0 +1,26 @@
/*
* 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.
*/
jd50-scud-5000mah {
serialnum = "SB18C77226";
fcc_design = <4850>;
config_profile_info = [5A 00 00 00 00 00 00 00
A5 B1 B5 CE C3 C2 97 58
31 FF FF E3 92 80 63 58
4F 4D 4A 86 F0 DC 0D D2
D2 D1 D1 D1 CF CC BC DC
B0 C3 C8 AA 96 89 80 71
68 64 73 8F A3 86 65 60
20 00 57 10 02 B0 74 00
00 00 64 24 D3 79 00 00
00 00 00 00 00 00 00 5F ];
};

View file

@ -451,6 +451,9 @@
reg = <0x64>;
status = "okay";
};
df-serialnum = "SB18C77591";
#include "bat_setting/CW_jd50-scud-5000mah.dtsi"
#include "bat_setting/CW_jd50-atl-5000mah.dtsi"
};
&qupv3_se10_i2c {