dtsi:update sm5602 battery parameter.
update parameter for sm5602 for devon. Change-Id: I5884bd5aa776941150a1fc7b88fbc30eb8300539 Signed-off-by: xieqiong2 <xieqiong2@lenovo.com> Reviewed-on: https://gerrit.mot.com/2212704 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Submit-Approved: Jira Key Tested-by: Jira Key Reviewed-by: Jianguo Liu <liujg6@motorola.com> Reviewed-on: https://gerrit.mot.com/2221210 Reviewed-by: Wang Wang <wangwang1@lenovo.com>
This commit is contained in:
1 parent
33ae3ddeb6
commit
bcc3399b22
3 files changed
+108
-3
No files matched your search
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright (C) 2022 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.
|
||||
*/
|
||||
SM5602_NC50_ATL {
|
||||
serialnum = "SB18D38324";
|
||||
|
||||
//battery,id = <0>;
|
||||
battery,param_version = <2>;
|
||||
battery,max_voltage_uv = <4450000>;
|
||||
battery,battery_type = <4450 0x0 0x275C>;
|
||||
battery,battery_table0 = <0x1400 0x1B46 0x1C21 0x1D20 0x1D7A 0x1D8B 0x1D91 0x1D9C
|
||||
0x1DCE 0x1E15 0x1E5A 0x1E87 0x1EC8 0x1F24 0x1FA5 0x1FD3
|
||||
0x1FFE 0x20C5 0x2172 0x21EC 0x2242 0x22E5 0x232C 0x24CC>;
|
||||
battery,battery_table1 = <0x0 0x67 0x16B 0x373 0x4FA 0x702 0x90A 0xB95 0xF23 0x16C3
|
||||
0x1E62 0x2601 0x2DA0 0x3540 0x3A55 0x3CDF 0x3F69 0x4993
|
||||
0x5132 0x5647 0x59D6 0x60F3 0x6400 0x64E6>;
|
||||
battery,battery_table2 = <0x2F56 0x1D23 0x181A 0x1315 0x1112 0x1010 0x0E0F 0x0E0E>;
|
||||
battery,alpha = <0x00CC>;
|
||||
battery,beta = <0x0025>;
|
||||
battery,rs = <0x005F>;
|
||||
battery,rs_value = <0x0050 0x010A 0x3800 0x0048>;
|
||||
battery,vit_period = <0x315A>;
|
||||
battery,volt_cal = <0x8000>;
|
||||
battery,mix_value = <0x0003>;
|
||||
battery,curr_offset = <0x000>;
|
||||
battery,curr_slope = <0x8080>;
|
||||
battery,topoff_soc = <7 500>;
|
||||
battery,temp_std = <25>;
|
||||
battery,temp_offset = <0 11 1 0 8 (-1)>;
|
||||
battery,temp_cal = <0 6 1 11 (-1) 0 6 1 9 1>;
|
||||
battery,ext_temp_cal = <0 2 1 2 1 1 2 3 2 3>;
|
||||
battery,tem_poff = <3400 100>;
|
||||
battery,thermal_table = <0x42B4 0x3DB9 0x38DD 0x340F 0x2F70 0x2ACB 0x2643 0x21C3 0x1D74 0x1913
|
||||
0x1515 0x1138 0x0D40 0x0972 0x05AA 0x020C 0xF647 0xF2DB 0xEF92 0xEC36
|
||||
0xE90A 0xE5FE 0xE307 0xE027 0xDD5C 0xDAA7 0xD808 0xD57F 0xD30E 0xD0B1
|
||||
0xCE65 0xCC30 0xCA0C 0xC7F7 0xC5F7 0xC40E 0xC22F 0xC065 0xBEA9 0xBCF7
|
||||
0xBB55 0xB9CC 0xB844 0xB6D0 0xB567 0xB40F 0xB2C1 0xB17E 0xB047 0xAF1C
|
||||
0xADFB 0xACE1 0xABD3 0xAAD1 0xA9D8 0xA8E5 0xA7FF 0xA717 0xA640 0xA56F
|
||||
0xA4A8 0xA3E5 0xA328 0xA275 0xA1C7 0xA11E 0xA07D 0x9FE2 0x9F4B 0x9EB8
|
||||
0x9E28 0x9DA0 0x9D1E 0x9CA1 0x9C27 0x9BB0 0x9B3D 0x9ACF 0x9A65 0x99FE
|
||||
0x999B 0x993D 0x98E1 0x9888 0x9830 0x97DC 0x978B 0x973E 0x96F3 0x96AB
|
||||
0x9664 0x9621 0x95DF 0x959F 0x9561 0x9524 0x94EA 0x94B3 0x947B 0x9447
|
||||
0x9413>; //NTC value(DEC) table -20~80 (NTC 10k/PU 100k)
|
||||
};
|
||||
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright (C) 2022 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.
|
||||
*/
|
||||
SM5602_NC50_SWD {
|
||||
serialnum = "SB18D38323";
|
||||
|
||||
battery,param_version = <2>;
|
||||
battery,max_voltage_uv = <4450000>;
|
||||
battery,battery_type = <4450 0x0 0x2600>;
|
||||
battery,battery_table0 = <0x1400 0x1C6C 0x1CE7 0x1D42 0x1D64 0x1D84 0x1D91 0x1D9B
|
||||
0x1DD6 0x1E0A 0x1E39 0x1E77 0x1ECB 0x1F2B 0x1F59 0x1FE1
|
||||
0x200E 0x20E1 0x2195 0x2214 0x226A 0x230B 0x234E 0x2733>;
|
||||
battery,battery_table1 = <0x0 0x85 0x193 0x2A0 0x327 0x435 0x650 0xA86 0xEBC 0x13FF
|
||||
0x1942 0x2127 0x2BAE 0x3393 0x3635 0x3B78 0x3E1A 0x48A1
|
||||
0x5086 0x55C9 0x5979 0x60D7 0x6400 0x64E6>;
|
||||
battery,battery_table2 = <0x1C28 0x1618 0x1415 0x1112 0x1010 0x0F0F 0x0E0E 0x0E0E>;
|
||||
battery,alpha = <0x00CC>;
|
||||
battery,beta = <0x0025>;
|
||||
battery,rs = <0x805F>;
|
||||
battery,rs_value = <0x0050 0x010A 0x3800 0x0048>;
|
||||
battery,vit_period = <0x325A>;
|
||||
battery,volt_cal = <0x8000>;
|
||||
battery,mix_value = <0x0003>;
|
||||
battery,curr_offset = <0x000>;
|
||||
battery,curr_slope = <0x8080>;
|
||||
battery,topoff_soc = <7 343>;
|
||||
battery,temp_std = <25>;
|
||||
battery,temp_offset = <0 11 1 0 8 (-1)>;
|
||||
battery,temp_cal = <0 6 1 11 (-1) 0 6 1 9 1>;
|
||||
battery,ext_temp_cal = <0 2 1 2 1 0 2 3 2 3>;
|
||||
battery,tem_poff = <3400 100>;
|
||||
battery,thermal_table = <0x3EEF 0x3957 0x3234 0x2C25 0x2654 0x2089 0x1B71 0x1574 0x1068 0x0B3C
|
||||
0x0640 0x0181 0xF4FA 0xF09D 0xEC1E 0xE82D 0xE3B3 0xDFE0 0xDC28 0xD88E
|
||||
0xD580 0xD22A 0xCF03 0xCC0B 0xC944 0xC68E 0xC405 0xC169 0xBF0F 0xBCFD
|
||||
0xBABE 0xB889 0xB692 0xB4AB 0xB2E5 0xB127 0xAF8E 0xAE0F 0xAC8A 0xAB1E
|
||||
0xA9E9 0xA888 0xA742 0xA620 0xA4A5 0xA39C 0xA2A5 0xA1BE 0xA0CF 0x9FF9
|
||||
0x9F2C 0x9E67 0x9DA0 0x9CEC 0x9C43 0x9BA1 0x9AFF 0x9A6F 0x99D9 0x9950
|
||||
0x98D0 0x9857 0x97E8 0x9776 0x96FD 0x9695 0x9632 0x95D5 0x9579 0x9522
|
||||
0x94CF 0x9480 0x9434 0x93EB 0x93A4 0x9361 0x9322 0x92E7 0x92AF 0x9278
|
||||
0x9242 0x920E 0x91DD 0x91AF 0x9181 0x9156 0x912E 0x9107 0x90E2 0x90BF
|
||||
0x909C 0x907A 0x905A 0x903B 0x901E 0x9003 0x8FE7 0x8FCE 0x8FB4 0x8F9D
|
||||
0x8F85>; //NTC value(DEC) table -20~80
|
||||
};
|
||||
@@ -123,14 +123,14 @@
|
||||
sm,v_l_alarm = <3450>;
|
||||
sm,v_h_alarm = <4450>;
|
||||
sm,battery_table_num = <0>;
|
||||
sm,param_version = <1>;
|
||||
sm,param_version = <2>;
|
||||
sm,t_l_alarm_in = <54>;
|
||||
sm,t_h_alarm_in = <1>;
|
||||
sm,t_l_alarm_ex = <0xD3D8>;
|
||||
sm,t_h_alarm_ex = <0x9245>;
|
||||
df-serialnum = "SB18D38324";
|
||||
#include "bat_setting/SM5602_NE50_ATL_Rhode.dtsi"
|
||||
#include "bat_setting/SM5602_NE50_SWD_Rhode.dtsi"
|
||||
#include "bat_setting/SM5602_NC50_ATL_Devon.dtsi"
|
||||
#include "bat_setting/SM5602_NC50_SWD_Devon.dtsi"
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user