blob: e44e943910b7b2e06915f2cf89b03db5bcb6ae3e [file] [log] [blame]
Xu Kai5f478812013-08-09 12:49:33 +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-1800mah-data {
14 qcom,fcc-mah = <1800>;
15 qcom,default-rbatt-mohm = <146>;
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 = <47>;
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 = <904 234 100 85 80>,
32 <905 234 100 85 80>,
33 <934 244 102 86 81>,
34 <928 254 105 87 82>,
35 <933 268 109 89 84>,
36 <924 280 114 91 85>,
37 <913 283 123 96 88>,
38 <916 267 135 103 91>,
39 <930 252 137 110 95>,
40 <954 247 117 106 95>,
41 <990 247 103 88 85>,
42 <1036 253 104 86 84>,
43 <1101 264 108 89 85>,
44 <1211 286 112 93 88>,
45 <1366 340 120 95 87>,
46 <1601 394 128 95 87>,
47 <2178 402 128 97 89>,
48 <5419 423 126 97 89>,
49 <10789 528 128 97 91>,
50 <13463 589 132 100 91>,
51 <17695 678 137 102 92>,
52 <23046 814 145 104 93>,
53 <30725 1019 153 106 93>,
54 <41382 1359 156 106 93>,
55 <56311 1959 165 108 95>,
56 <77209 3523 189 117 99>,
57 <104609 6039 235 127 105>,
58 <138858 9711 352 141 112>,
59 <165825 15373 1069 246 226>;
60 };
61
62 qcom,fcc-temp-lut {
63 qcom,lut-col-legend = <(-20) 0 25 40 60>;
64 qcom,lut-data = <1859 1868 1873 1861 1859>;
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 = <4178 4176 4174 4169 4163>,
76 <4090 4100 4105 4101 4099>,
77 <4029 4049 4053 4050 4048>,
78 <3973 3998 4006 4004 4002>,
79 <3932 3959 3965 3962 3960>,
80 <3891 3920 3928 3925 3922>,
81 <3855 3882 3894 3891 3889>,
82 <3825 3844 3862 3862 3859>,
83 <3803 3813 3829 3834 3831>,
84 <3788 3792 3797 3802 3800>,
85 <3777 3780 3778 3776 3773>,
86 <3764 3775 3771 3767 3763>,
87 <3749 3769 3766 3763 3757>,
88 <3725 3756 3758 3755 3750>,
89 <3687 3727 3736 3735 3729>,
90 <3631 3675 3698 3698 3691>,
91 <3571 3607 3637 3642 3637>,
92 <3514 3548 3568 3572 3570>,
93 <3458 3506 3519 3522 3522>,
94 <3444 3498 3511 3516 3515>,
95 <3430 3489 3503 3509 3508>,
96 <3413 3477 3493 3500 3500>,
97 <3395 3461 3478 3488 3486>,
98 <3373 3433 3446 3463 3456>,
99 <3346 3394 3397 3418 3410>,
100 <3307 3341 3334 3361 3352>,
101 <3251 3270 3254 3287 3277>,
102 <3160 3167 3152 3183 3172>,
103 <3000 3000 3000 3000 3000>;
104 };
105};