blob: f24513c818c2f3bfd556aba7376b16c18ded27de [file] [log] [blame]
Xu Kaibba7aa62013-08-30 11:26:01 +08001/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
13qcom,qrd-4v2-2000mah-data {
14 qcom,fcc-mah = <2000>;
15 qcom,default-rbatt-mohm = <138>;
16 qcom,rbatt-capacitive-mohm = <0>;
17 qcom,flat-ocv-threshold-uv = <3800000>;
18 qcom,max-voltage-uv = <4200000>;
19 qcom,v-cutoff-uv = <3400000>;
20 qcom,chg-term-ua = <100000>;
21 qcom,batt-id-kohm = <130 115>;
22
23 qcom,rbatt-sf-lut {
24 qcom,lut-col-legend = <(-20) 0 25 40 60>;
25 qcom,lut-row-legend = <100 95 90 85 80>,
26 <75 70 65 60 55>,
27 <50 45 40 35 30>,
28 <25 20 15 10 9>,
29 <8 7 6 5 4>,
30 <3 2 1 0>;
31 qcom,lut-data = <1191 250 100 78 69>,
32 <1192 250 100 78 69>,
33 <1242 263 102 80 70>,
34 <1192 277 105 81 71>,
35 <1202 294 108 83 72>,
36 <1205 308 113 86 73>,
37 <1234 313 118 90 76>,
38 <1255 294 131 96 80>,
39 <1284 276 139 103 84>,
40 <1321 271 115 89 74>,
41 <1363 273 104 81 72>,
42 <1400 283 103 79 71>,
43 <1404 295 105 81 71>,
44 <1428 313 108 84 73>,
45 <1489 341 112 87 74>,
46 <1615 374 115 84 73>,
47 <1813 404 117 85 73>,
48 <2121 387 127 89 76>,
49 <2310 366 115 88 77>,
50 <2543 386 116 89 77>,
51 <2879 415 118 92 78>,
52 <3633 457 122 93 78>,
53 <5901 507 128 94 79>,
54 <9939 561 131 93 79>,
55 <16631 634 129 94 78>,
56 <26968 794 134 97 81>,
57 <42610 1203 145 102 85>,
58 <64024 2628 174 115 94>,
59 <115224 17430 577 620 4155>;
60 };
61
62 qcom,fcc-temp-lut {
63 qcom,lut-col-legend = <(-20) 0 25 40 60>;
64 qcom,lut-data = <2024 2033 2035 2031 2027>;
65 };
66
67 qcom,pc-temp-ocv-lut {
68 qcom,lut-col-legend = <(-20) 0 25 40 60>;
69 qcom,lut-row-legend = <100 95 90 85 80>,
70 <75 70 65 60 55>,
71 <50 45 40 35 30>,
72 <25 20 15 10 9>,
73 <8 7 6 5 4>,
74 <3 2 1 0>;
75 qcom,lut-data = <4179 4177 4173 4170 4164>,
76 <4097 4107 4108 4106 4104>,
77 <4040 4060 4059 4057 4054>,
78 <3974 4007 4012 4012 4009>,
79 <3929 3968 3972 3972 3969>,
80 <3889 3933 3937 3935 3933>,
81 <3852 3896 3905 3904 3900>,
82 <3822 3859 3876 3875 3872>,
83 <3797 3827 3846 3847 3844>,
84 <3777 3803 3809 3809 3806>,
85 <3758 3787 3788 3786 3784>,
86 <3740 3779 3777 3774 3771>,
87 <3717 3774 3771 3768 3763>,
88 <3685 3767 3767 3764 3758>,
89 <3649 3757 3761 3756 3749>,
90 <3613 3734 3747 3738 3724>,
91 <3578 3689 3711 3706 3694>,
92 <3538 3615 3649 3648 3643>,
93 <3483 3543 3564 3568 3567>,
94 <3470 3533 3553 3556 3556>,
95 <3453 3522 3542 3545 3545>,
96 <3434 3509 3531 3534 3533>,
97 <3414 3492 3519 3521 3519>,
98 <3388 3467 3498 3499 3492>,
99 <3358 3428 3457 3459 3447>,
100 <3321 3374 3397 3400 3387>,
101 <3268 3300 3318 3323 3307>,
102 <3182 3188 3207 3213 3191>,
103 <3000 3000 3000 3000 3000>;
104 };
105};