blob: 7ddf6f2ffa8f521a3ccb4dd47e84380596f0617b [file] [log] [blame]
Ɓukasz Majewskib95aacd2012-11-13 03:22:03 +00001/*
2 * Copyright (C) 2012 Samsung Electronics
3 * Lukasz Majewski <l.majewski@samsung.com>
4 *
5 * See file CREDITS for list of people who contributed to this
6 * project.
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2 of
11 * the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21 * MA 02111-1307 USA
22 */
23
24#ifndef __FG_BATTERY_CELL_PARAMS_H_
25#define __FG_BATTERY_CELL_PARAMS_H_
26
27#if defined(CONFIG_POWER_FG_MAX17042) && defined(CONFIG_TRATS)
28
29/* Cell characteristics - Exynos4 TRATS development board */
30/* Shall be written to addr 0x80h */
31u16 cell_character0[16] = {
32 0xA2A0,
33 0xB6E0,
34 0xB850,
35 0xBAD0,
36 0xBB20,
37 0xBB70,
38 0xBBC0,
39 0xBC20,
40 0xBC80,
41 0xBCE0,
42 0xBD80,
43 0xBE20,
44 0xC090,
45 0xC420,
46 0xC910,
47 0xD070
48};
49
50/* Shall be written to addr 0x90h */
51u16 cell_character1[16] = {
52 0x0090,
53 0x1A50,
54 0x02F0,
55 0x2060,
56 0x2060,
57 0x2E60,
58 0x26A0,
59 0x2DB0,
60 0x2DB0,
61 0x1870,
62 0x2A20,
63 0x16F0,
64 0x08F0,
65 0x0D40,
66 0x08C0,
67 0x08C0
68};
69
70/* Shall be written to addr 0xA0h */
71u16 cell_character2[16] = {
72 0x0100,
73 0x0100,
74 0x0100,
75 0x0100,
76 0x0100,
77 0x0100,
78 0x0100,
79 0x0100,
80 0x0100,
81 0x0100,
82 0x0100,
83 0x0100,
84 0x0100,
85 0x0100,
86 0x0100,
87 0x0100
88};
89#endif
90#endif /* __FG_BATTERY_CELL_PARAMS_H_ */