forked from MiCode/Xiaomi_Kernel_OpenSource
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The Patch based on qcom release TAG LNX.LA.3.2-09720-8x26.0 Kernel configs for HM 1S are armani_debug_defconfig and armani_user_defconfig Change-Id: I52ba6445eeb92b7f5f61e5867a17040f333f4462 Signed-off-by: hehao <[email protected]>
- Loading branch information
Showing
125 changed files
with
38,778 additions
and
4,694 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
/* Copyright (C) 2014 XiaoMi, Inc. | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 and | ||
* only version 2 as published by the Free Software Foundation. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
*/ | ||
|
||
qcom,h2a-4v35-GUANGYU { | ||
qcom,fcc-mah = <2050>; | ||
qcom,default-rbatt-mohm = <204>; | ||
qcom,rbatt-capacitive-mohm = <0>; | ||
qcom,flat-ocv-threshold-uv = <3800000>; | ||
qcom,max-voltage-uv = <4350000>; | ||
qcom,v-cutoff-uv = <3400000>; | ||
qcom,chg-term-ua = <100000>; | ||
qcom,batt-id-kohm = <28>; | ||
|
||
qcom,rbatt-sf-lut { | ||
qcom,lut-col-legend = <(-20) (-10) 0 5 10 15 20 25 30 40 60>; | ||
qcom,lut-row-legend = <100 95 90 85 80>, | ||
<75 70 65 60 55>, | ||
<50 45 40 35 30>, | ||
<25 20 16 13 11>, | ||
<10 9 8 7 6>, | ||
<5 4 3 2 1>; | ||
qcom,lut-data = <1505 764 367 264 192 147 118 100 87 74 65>, | ||
<1399 755 368 265 195 148 119 100 88 75 66>, | ||
<1402 756 369 265 195 148 119 100 88 75 66>, | ||
<1355 739 364 265 197 150 121 102 90 76 67>, | ||
<1265 749 370 266 197 151 124 105 92 78 68>, | ||
<1228 696 366 272 205 160 131 111 98 82 69>, | ||
<1208 684 339 249 188 151 127 111 99 86 72>, | ||
<1198 686 345 253 189 150 125 108 96 84 73>, | ||
<1231 684 342 249 184 143 117 100 89 76 68>, | ||
<1289 684 339 247 182 141 114 98 86 75 66>, | ||
<1376 697 339 247 182 141 115 99 87 75 66>, | ||
<1471 725 338 247 184 143 117 100 89 76 68>, | ||
<1587 758 345 248 184 144 119 102 91 78 70>, | ||
<1728 793 359 254 186 145 118 102 92 80 71>, | ||
<1905 830 380 264 191 147 119 101 89 76 68>, | ||
<2128 875 408 278 199 151 121 102 89 75 66>, | ||
<2439 926 446 300 206 156 125 104 90 76 66>, | ||
<2772 969 484 329 219 159 125 105 92 76 67>, | ||
<3107 1016 514 356 237 166 128 105 92 77 67>, | ||
<3375 1049 529 370 249 174 131 107 93 78 69>, | ||
<3526 1056 525 368 251 177 135 109 94 79 70>, | ||
<3579 993 495 349 241 175 136 111 96 80 71>, | ||
<3630 952 477 328 231 174 136 113 98 81 72>, | ||
<3969 1036 491 334 234 175 138 114 99 81 71>, | ||
<4383 1125 506 341 234 172 135 112 96 77 68>, | ||
<4900 1253 531 351 238 173 135 109 95 78 69>, | ||
<5583 1431 556 371 247 177 136 111 96 80 71>, | ||
<6533 1649 586 393 261 184 141 116 100 83 73>, | ||
<8200 1931 636 427 283 199 152 124 106 90 78>, | ||
<14506 2708 1444 702 617 402 272 222 187 156 94>; | ||
}; | ||
|
||
qcom,fcc-temp-lut { | ||
qcom,lut-col-legend = <(-20) (-10) 0 5 10 15 20 25 30 40 60>; | ||
qcom,lut-data = <2014 2018 2020 2019 2020 2020 2019 2019 2019 2018 2015>; | ||
}; | ||
|
||
qcom,pc-temp-ocv-lut { | ||
qcom,lut-col-legend = <(-20) (-10) 0 5 10 15 20 25 30 40 60>; | ||
qcom,lut-row-legend = <100 95 90 85 80>, | ||
<75 70 65 60 55>, | ||
<50 45 40 35 30>, | ||
<25 20 16 13 11>, | ||
<10 9 8 7 6>, | ||
<5 4 3 2 1>, | ||
<0>; | ||
qcom,lut-data = <4322 4323 4323 4322 4322 4321 4320 4319 4317 4313 4305>, | ||
<4207 4232 4243 4246 4248 4250 4250 4250 4250 4249 4245>, | ||
<4134 4171 4186 4190 4192 4194 4194 4195 4194 4194 4190>, | ||
<4092 4112 4132 4137 4140 4141 4142 4142 4141 4141 4137>, | ||
<4005 4072 4085 4088 4090 4091 4091 4091 4090 4089 4087>, | ||
<3945 3989 4028 4036 4042 4045 4047 4048 4048 4046 4039>, | ||
<3898 3936 3955 3962 3968 3974 3978 3983 3986 3994 3995>, | ||
<3857 3896 3919 3926 3931 3936 3939 3943 3945 3948 3949>, | ||
<3830 3859 3885 3890 3895 3896 3898 3899 3900 3900 3900>, | ||
<3810 3826 3851 3857 3861 3863 3864 3865 3865 3866 3865>, | ||
<3792 3804 3822 3829 3833 3835 3837 3838 3839 3839 3839>, | ||
<3775 3788 3796 3804 3809 3812 3815 3816 3817 3817 3816>, | ||
<3758 3774 3779 3784 3788 3792 3795 3796 3797 3798 3797>, | ||
<3740 3760 3764 3768 3772 3774 3776 3777 3779 3780 3779>, | ||
<3721 3746 3750 3754 3758 3760 3760 3759 3759 3757 3750>, | ||
<3699 3730 3737 3738 3742 3744 3744 3744 3742 3737 3726>, | ||
<3671 3711 3722 3721 3722 3726 3726 3725 3724 3719 3706>, | ||
<3642 3691 3708 3709 3708 3707 3707 3706 3705 3700 3687>, | ||
<3615 3672 3695 3699 3699 3697 3694 3693 3691 3686 3674>, | ||
<3593 3656 3684 3690 3692 3691 3689 3687 3685 3680 3669>, | ||
<3580 3646 3677 3684 3688 3688 3686 3685 3683 3678 3667>, | ||
<3568 3635 3668 3678 3682 3684 3684 3682 3681 3676 3665>, | ||
<3552 3621 3657 3668 3674 3678 3679 3679 3677 3673 3660>, | ||
<3533 3604 3643 3654 3662 3666 3668 3669 3668 3663 3648>, | ||
<3510 3585 3621 3634 3641 3644 3646 3646 3645 3637 3620>, | ||
<3482 3558 3594 3606 3611 3613 3613 3611 3608 3600 3582>, | ||
<3446 3524 3558 3568 3570 3570 3568 3565 3562 3553 3534>, | ||
<3398 3478 3507 3515 3515 3513 3510 3506 3503 3493 3475>, | ||
<3329 3411 3434 3440 3437 3434 3431 3427 3423 3415 3396>, | ||
<3216 3298 3311 3318 3313 3311 3310 3306 3303 3294 3275>, | ||
<3000 3000 3000 3000 3000 3000 3000 3000 3000 3000 3000>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
/* Copyright (C) 2014 XiaoMi, Inc. | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 and | ||
* only version 2 as published by the Free Software Foundation. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
*/ | ||
|
||
qcom,h2a-4v35-LG { | ||
qcom,fcc-mah = <2050>; | ||
qcom,default-rbatt-mohm = <195>; | ||
qcom,rbatt-capacitive-mohm = <0>; | ||
qcom,flat-ocv-threshold-uv = <3800000>; | ||
qcom,max-voltage-uv = <4350000>; | ||
qcom,v-cutoff-uv = <3400000>; | ||
qcom,chg-term-ua = <100000>; | ||
qcom,batt-id-kohm = <12>; | ||
|
||
qcom,rbatt-sf-lut { | ||
qcom,lut-col-legend = <(-20) (-10) 0 5 10 15 20 25 30 40 60>; | ||
qcom,lut-row-legend = <100 95 90 85 80>, | ||
<75 70 65 60 55>, | ||
<50 45 40 35 30>, | ||
<25 20 16 13 11>, | ||
<10 9 8 7 6>, | ||
<5 4 3 2 1>; | ||
qcom,lut-data = <1464 720 350 252 185 141 114 100 85 71 63>, | ||
<1353 713 350 252 186 141 115 100 86 72 64>, | ||
<1358 713 349 251 186 141 115 100 86 72 64>, | ||
<1313 694 344 251 188 143 117 102 87 74 65>, | ||
<1218 706 347 251 187 145 120 105 90 75 66>, | ||
<1178 661 346 258 197 155 128 111 96 81 68>, | ||
<1158 644 316 233 178 145 124 109 97 83 70>, | ||
<1147 644 321 235 180 144 121 104 93 82 71>, | ||
<1157 645 318 232 173 135 112 96 85 74 66>, | ||
<1178 641 314 228 171 133 109 94 83 72 64>, | ||
<1205 652 314 228 171 134 109 94 83 72 65>, | ||
<1243 676 313 228 172 135 111 96 85 73 66>, | ||
<1330 707 320 229 172 136 113 97 87 76 68>, | ||
<1453 743 333 235 174 135 112 98 89 78 69>, | ||
<1608 782 352 246 180 138 112 96 85 73 66>, | ||
<1812 828 376 259 187 142 114 96 84 72 64>, | ||
<2097 884 412 276 195 149 118 98 86 73 64>, | ||
<2405 934 452 301 205 151 120 100 88 74 65>, | ||
<2715 972 486 328 219 156 122 101 88 74 65>, | ||
<2969 994 504 346 232 163 125 102 88 75 67>, | ||
<3101 999 506 351 239 168 127 105 90 76 68>, | ||
<3193 963 475 330 230 166 128 106 91 77 69>, | ||
<3082 933 452 313 222 165 129 107 93 78 70>, | ||
<3395 963 465 317 222 166 131 108 93 78 69>, | ||
<3768 1020 480 323 223 166 130 105 91 76 67>, | ||
<4269 1115 500 333 227 165 129 105 91 76 67>, | ||
<4927 1263 528 350 236 169 130 108 92 77 69>, | ||
<5927 1468 562 375 248 177 136 113 97 81 71>, | ||
<7943 1814 610 409 269 191 147 125 106 88 77>, | ||
<19173 4741 889 511 330 230 181 184 136 107 98>; | ||
}; | ||
|
||
qcom,fcc-temp-lut { | ||
qcom,lut-col-legend = <(-20) (-10) 0 5 10 15 20 25 30 40 60>; | ||
qcom,lut-data = <2007 2015 2016 2017 2017 2017 2017 2016 2018 2018 2015>; | ||
}; | ||
|
||
qcom,pc-temp-ocv-lut { | ||
qcom,lut-col-legend = <(-20) (-10) 0 5 10 15 20 25 30 40 60>; | ||
qcom,lut-row-legend = <100 95 90 85 80>, | ||
<75 70 65 60 55>, | ||
<50 45 40 35 30>, | ||
<25 20 16 13 11>, | ||
<10 9 8 7 6>, | ||
<5 4 3 2 1>, | ||
<0>; | ||
qcom,lut-data = <4317 4326 4321 4322 4319 4323 4317 4312 4314 4317 4311>, | ||
<4208 4238 4247 4251 4252 4255 4254 4252 4254 4255 4250>, | ||
<4134 4176 4190 4194 4196 4199 4199 4197 4199 4199 4195>, | ||
<4091 4116 4136 4141 4144 4146 4146 4144 4146 4146 4142>, | ||
<4002 4076 4087 4091 4093 4094 4094 4092 4094 4094 4091>, | ||
<3942 3997 4033 4042 4047 4052 4052 4049 4052 4051 4043>, | ||
<3894 3939 3958 3966 3971 3978 3982 3982 3988 3996 3998>, | ||
<3854 3900 3920 3927 3932 3939 3941 3940 3946 3951 3951>, | ||
<3828 3863 3887 3892 3896 3898 3900 3899 3901 3903 3903>, | ||
<3808 3828 3853 3859 3862 3864 3865 3866 3867 3868 3867>, | ||
<3791 3806 3824 3830 3834 3837 3838 3839 3840 3841 3840>, | ||
<3774 3789 3799 3806 3810 3814 3815 3816 3818 3818 3817>, | ||
<3758 3775 3781 3786 3790 3794 3796 3797 3798 3799 3798>, | ||
<3741 3761 3766 3771 3773 3776 3777 3778 3780 3781 3779>, | ||
<3722 3748 3751 3757 3759 3761 3761 3760 3760 3758 3750>, | ||
<3699 3732 3736 3740 3744 3746 3745 3743 3742 3738 3725>, | ||
<3673 3714 3721 3722 3724 3728 3727 3725 3724 3719 3705>, | ||
<3645 3695 3709 3709 3708 3709 3708 3706 3705 3700 3687>, | ||
<3618 3676 3697 3700 3698 3696 3695 3693 3691 3686 3674>, | ||
<3597 3660 3687 3692 3692 3691 3689 3686 3684 3680 3668>, | ||
<3584 3650 3680 3687 3689 3688 3686 3684 3683 3678 3667>, | ||
<3570 3640 3672 3680 3684 3685 3684 3682 3681 3676 3664>, | ||
<3554 3626 3661 3671 3677 3680 3680 3678 3677 3672 3659>, | ||
<3534 3609 3645 3657 3664 3669 3670 3667 3667 3662 3646>, | ||
<3510 3586 3624 3636 3642 3648 3648 3642 3644 3639 3619>, | ||
<3479 3558 3595 3607 3612 3615 3614 3605 3607 3602 3581>, | ||
<3439 3521 3557 3567 3571 3572 3570 3558 3561 3555 3535>, | ||
<3386 3471 3506 3514 3516 3516 3512 3497 3502 3497 3476>, | ||
<3304 3398 3433 3439 3440 3439 3435 3418 3425 3421 3397>, | ||
<3174 3282 3316 3322 3322 3323 3319 3302 3310 3304 3273>, | ||
<3000 3000 3000 3000 3000 3000 3000 3000 3000 3000 3000>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
/* Copyright (C) 2014 XiaoMi, Inc. | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 and | ||
* only version 2 as published by the Free Software Foundation. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
*/ | ||
|
||
qcom,h2a-4v35-SAMSUNG { | ||
qcom,fcc-mah = <2050>; | ||
qcom,default-rbatt-mohm = <181>; | ||
qcom,rbatt-capacitive-mohm = <0>; | ||
qcom,flat-ocv-threshold-uv = <3800000>; | ||
qcom,max-voltage-uv = <4350000>; | ||
qcom,v-cutoff-uv = <3400000>; | ||
qcom,chg-term-ua = <100000>; | ||
qcom,batt-id-kohm = <17>; | ||
|
||
qcom,rbatt-sf-lut { | ||
qcom,lut-col-legend = <(-20) (-10) 0 5 10 15 20 25 30 40 60>; | ||
qcom,lut-row-legend = <100 95 90 85 80>, | ||
<75 70 65 60 55>, | ||
<50 45 40 35 30>, | ||
<25 20 16 13 11>, | ||
<10 9 8 7 6>, | ||
<5 4 3 2 1>; | ||
qcom,lut-data = <967 366 198 156 132 117 106 100 95 86 76>, | ||
<966 366 198 156 132 117 106 100 95 86 76>, | ||
<919 370 207 164 137 120 108 102 96 88 77>, | ||
<860 362 215 171 143 124 112 104 98 90 78>, | ||
<866 348 220 179 149 130 117 108 102 92 79>, | ||
<791 372 225 190 160 139 123 114 106 95 81>, | ||
<753 325 196 179 159 141 126 116 108 96 83>, | ||
<760 325 188 162 155 145 134 124 116 102 86>, | ||
<756 334 191 156 137 127 121 118 113 103 88>, | ||
<757 334 187 151 129 116 107 101 97 90 78>, | ||
<778 335 188 151 129 116 106 100 96 89 78>, | ||
<822 335 190 154 131 117 107 102 97 91 80>, | ||
<877 337 193 156 134 120 111 104 100 93 83>, | ||
<934 348 196 159 137 123 114 107 103 96 85>, | ||
<994 366 203 164 139 125 117 109 103 93 82>, | ||
<1059 398 211 170 145 127 116 107 101 91 80>, | ||
<1125 446 212 170 144 125 112 104 98 90 79>, | ||
<1170 496 209 162 135 119 108 101 96 88 77>, | ||
<1153 517 212 158 130 114 104 98 93 86 77>, | ||
<1065 481 209 156 129 114 104 99 95 88 79>, | ||
<1098 493 215 159 131 116 106 101 97 90 80>, | ||
<1129 509 222 165 135 119 110 103 98 92 82>, | ||
<1211 528 232 171 139 123 113 107 101 93 85>, | ||
<1302 547 241 179 146 128 117 109 104 97 89>, | ||
<1413 566 252 187 151 133 120 113 107 100 86>, | ||
<1533 585 256 190 153 131 118 108 102 93 81>, | ||
<1670 609 253 180 143 122 111 104 98 91 81>, | ||
<1901 642 260 184 146 125 113 107 101 95 85>, | ||
<2234 698 286 200 156 134 120 113 107 100 90>, | ||
<4035 1010 436 381 392 390 409 503 699 530 119>; | ||
}; | ||
|
||
qcom,fcc-temp-lut { | ||
qcom,lut-col-legend = <(-20) (-10) 0 5 10 15 20 25 30 40 60>; | ||
qcom,lut-data = <2097 2098 2097 2097 2096 2096 2095 2095 2094 2093 2086>; | ||
}; | ||
|
||
qcom,pc-temp-ocv-lut { | ||
qcom,lut-col-legend = <(-20) (-10) 0 5 10 15 20 25 30 40 60>; | ||
qcom,lut-row-legend = <100 95 90 85 80>, | ||
<75 70 65 60 55>, | ||
<50 45 40 35 30>, | ||
<25 20 16 13 11>, | ||
<10 9 8 7 6>, | ||
<5 4 3 2 1>, | ||
<0>; | ||
qcom,lut-data = <4328 4329 4328 4328 4327 4327 4326 4325 4324 4320 4314>, | ||
<4232 4254 4260 4261 4262 4263 4262 4262 4262 4260 4255>, | ||
<4163 4196 4206 4207 4208 4208 4208 4208 4207 4205 4201>, | ||
<4093 4139 4155 4156 4157 4156 4156 4155 4155 4153 4149>, | ||
<4060 4081 4105 4107 4107 4107 4106 4105 4104 4102 4098>, | ||
<3980 4039 4061 4067 4067 4066 4065 4063 4060 4055 4050>, | ||
<3917 3954 3971 3987 3994 3997 4000 4001 4002 4005 4006>, | ||
<3886 3914 3925 3934 3949 3956 3961 3965 3967 3968 3966>, | ||
<3851 3888 3899 3902 3907 3911 3916 3920 3922 3923 3921>, | ||
<3817 3859 3868 3869 3870 3871 3872 3873 3873 3874 3873>, | ||
<3793 3831 3840 3842 3843 3843 3844 3844 3844 3845 3844>, | ||
<3779 3807 3817 3819 3820 3821 3821 3821 3821 3822 3821>, | ||
<3767 3785 3798 3800 3802 3802 3803 3803 3803 3803 3802>, | ||
<3755 3769 3782 3785 3786 3787 3788 3787 3787 3786 3784>, | ||
<3744 3753 3771 3774 3774 3775 3775 3774 3773 3769 3763>, | ||
<3733 3738 3758 3762 3764 3763 3762 3760 3757 3751 3738>, | ||
<3720 3726 3737 3741 3744 3743 3741 3739 3735 3728 3714>, | ||
<3707 3717 3715 3716 3716 3715 3713 3710 3707 3701 3686>, | ||
<3693 3711 3704 3702 3699 3697 3694 3692 3689 3683 3671>, | ||
<3682 3704 3700 3698 3696 3694 3692 3689 3687 3681 3669>, | ||
<3675 3700 3698 3696 3695 3693 3691 3689 3686 3681 3668>, | ||
<3666 3695 3696 3695 3693 3692 3690 3688 3685 3680 3667>, | ||
<3657 3690 3694 3693 3692 3691 3689 3687 3684 3678 3666>, | ||
<3644 3684 3691 3691 3690 3689 3687 3685 3682 3676 3663>, | ||
<3631 3674 3685 3686 3686 3685 3682 3680 3676 3669 3650>, | ||
<3612 3657 3671 3672 3671 3668 3665 3661 3656 3645 3616>, | ||
<3584 3627 3636 3634 3631 3626 3622 3617 3611 3598 3565>, | ||
<3544 3578 3579 3575 3571 3566 3561 3555 3550 3535 3500>, | ||
<3478 3502 3497 3493 3488 3483 3478 3472 3466 3449 3407>, | ||
<3356 3376 3367 3361 3355 3347 3341 3334 3327 3308 3248>, | ||
<3000 3000 3000 3000 3000 3000 3000 3000 3000 3000 3000>; | ||
}; | ||
}; |
Oops, something went wrong.