blob: d18e2d6731adc37579dd8b64b5c51e401fac29a2 [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 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
Łukasz Majewskib95aacd2012-11-13 03:22:03 +00006 */
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 */
15u16 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 */
35u16 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 */
55u16 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_ */