]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - include/power/fg_battery_cell_params.h
pmic: pmic_hi6553: Add a driver for the hi6553 pmic found on hikey board.
[karo-tx-uboot.git] / include / power / fg_battery_cell_params.h
1 /*
2  *  Copyright (C) 2012 Samsung Electronics
3  *  Lukasz Majewski <l.majewski@samsung.com>
4  *
5  * SPDX-License-Identifier:     GPL-2.0+
6  */
7
8 #ifndef __FG_BATTERY_CELL_PARAMS_H_
9 #define __FG_BATTERY_CELL_PARAMS_H_
10
11 #if  defined(CONFIG_POWER_FG_MAX17042) && defined(CONFIG_TRATS)
12
13 /* Cell characteristics - Exynos4 TRATS development board */
14 /* Shall be written to addr 0x80h */
15 u16 cell_character0[16] = {
16         0xA2A0,
17         0xB6E0,
18         0xB850,
19         0xBAD0,
20         0xBB20,
21         0xBB70,
22         0xBBC0,
23         0xBC20,
24         0xBC80,
25         0xBCE0,
26         0xBD80,
27         0xBE20,
28         0xC090,
29         0xC420,
30         0xC910,
31         0xD070
32 };
33
34 /* Shall be written to addr 0x90h */
35 u16 cell_character1[16] = {
36         0x0090,
37         0x1A50,
38         0x02F0,
39         0x2060,
40         0x2060,
41         0x2E60,
42         0x26A0,
43         0x2DB0,
44         0x2DB0,
45         0x1870,
46         0x2A20,
47         0x16F0,
48         0x08F0,
49         0x0D40,
50         0x08C0,
51         0x08C0
52 };
53
54 /* Shall be written to addr 0xA0h */
55 u16 cell_character2[16] = {
56         0x0100,
57         0x0100,
58         0x0100,
59         0x0100,
60         0x0100,
61         0x0100,
62         0x0100,
63         0x0100,
64         0x0100,
65         0x0100,
66         0x0100,
67         0x0100,
68         0x0100,
69         0x0100,
70         0x0100,
71         0x0100
72 };
73 #endif
74 #endif /* __FG_BATTERY_CELL_PARAMS_H_ */