-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Kernel: Xiaomi kernel changes for Redmi S2
The Patch based on QualComm release TAG:LA.UM.7.6.r1-03900-89xx.0 The kernel config file used is ysl-perf_defconfig Change-Id: Icf3201bd434bf1d6324fb39130efef24bea4fde2 Signed-off-by: hehao <hehao@xiaomi.com>
- Loading branch information
Showing
188 changed files
with
64,370 additions
and
7,134 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
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
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,48 @@ | ||
qcom,coslight-3000mah { | ||
/* #3213692_Longcheer_BN31cos_3080mAh_averaged_MasterSlave_Dec13th2017*/ | ||
qcom,max-voltage-uv = <4400000>; | ||
qcom,nom-batt-capacity-mah = <3080>; | ||
qcom,batt-id-kohm = <100>; | ||
qcom,battery-beta = <3435>; | ||
qcom,battery-type = "coslight_3000mah"; | ||
qcom,chg-rslow-comp-c1 = <4018624>; | ||
qcom,chg-rslow-comp-c2 = <7053755>; | ||
qcom,chg-rs-to-rslow = <1096864>; | ||
qcom,chg-rslow-comp-thr = <0xB7>; | ||
qcom,checksum = <0x4288>; | ||
qcom,gui-version = "PMI8950GUI - 2.0.0.16"; | ||
qcom,fg-profile-data = [ | ||
DE 83 60 7C | ||
75 80 7E 75 | ||
3C 83 F2 72 | ||
5C 7F 40 80 | ||
FF 81 6F 9B | ||
06 BF 87 D0 | ||
7B 10 03 88 | ||
92 7D 6C 81 | ||
88 77 35 83 | ||
82 79 2E 87 | ||
AE 83 24 82 | ||
A7 9B 33 C4 | ||
5F D2 70 0E | ||
FE 0B 0B 5A | ||
14 70 A5 FD | ||
24 44 23 45 | ||
36 43 00 00 | ||
41 4C 41 41 | ||
FD 16 00 00 | ||
00 00 00 00 | ||
00 00 00 00 | ||
DD 70 46 6B | ||
67 64 FA 88 | ||
43 7C 46 71 | ||
13 6D C7 78 | ||
23 75 4A 69 | ||
48 6F 41 A1 | ||
2A 46 60 BA | ||
5D A0 71 0C | ||
28 00 FF 36 | ||
F0 11 30 03 | ||
00 00 00 0C | ||
]; | ||
}; |
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,48 @@ | ||
qcom,share-3000mah { | ||
/* share shenwei 18.1.8*/ | ||
qcom,max-voltage-uv = <4400000>; | ||
qcom,nom-batt-capacity-mah = <3080>; | ||
qcom,batt-id-kohm = <666>; | ||
qcom,battery-beta = <3435>; | ||
qcom,battery-type = "unknown-battery"; | ||
qcom,chg-rslow-comp-c1 = <4018624>; | ||
qcom,chg-rslow-comp-c2 = <7053755>; | ||
qcom,chg-rs-to-rslow = <1096864>; | ||
qcom,chg-rslow-comp-thr = <0xB7>; | ||
qcom,checksum = <0x4288>; | ||
qcom,gui-version = "PMI8950GUI - 2.0.0.16"; | ||
qcom,fg-profile-data = [ | ||
DE 83 60 7C | ||
75 80 7E 75 | ||
3C 83 F2 72 | ||
5C 7F 40 80 | ||
FF 81 6F 9B | ||
06 BF 87 D0 | ||
7B 10 03 88 | ||
92 7D 6C 81 | ||
88 77 35 83 | ||
82 79 2E 87 | ||
AE 83 24 82 | ||
A7 9B 33 C4 | ||
5F D2 70 0E | ||
FE 0B 0B 5A | ||
14 70 A5 FD | ||
24 44 23 45 | ||
36 43 00 00 | ||
41 4C 41 41 | ||
FD 16 00 00 | ||
00 00 00 00 | ||
00 00 00 00 | ||
DD 70 46 6B | ||
67 64 FA 88 | ||
43 7C 46 71 | ||
13 6D C7 78 | ||
23 75 4A 69 | ||
48 6F 41 A1 | ||
2A 46 60 BA | ||
5D A0 71 0C | ||
28 00 FF 36 | ||
F0 11 30 03 | ||
00 00 00 0C | ||
]; | ||
}; |
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,47 @@ | ||
qcom,sunwoda-3000mah { | ||
qcom,max-voltage-uv = <4400000>; | ||
qcom,nom-batt-capacity-mah = <3080>; | ||
qcom,batt-id-kohm = <330>; | ||
qcom,battery-beta = <3380>; | ||
qcom,battery-type = "sunwoda_3000mah"; | ||
qcom,chg-rslow-comp-c1 = <4217666>; | ||
qcom,chg-rslow-comp-c2 = <7592018>; | ||
qcom,chg-rs-to-rslow = <1365080>; | ||
qcom,chg-rslow-comp-thr = <0xB8>; | ||
qcom,checksum = <0x14E2>; | ||
qcom,gui-version = "PMI8950GUI - 2.0.0.16"; | ||
qcom,fg-profile-data = [ | ||
13 88 CB 7E | ||
2F 82 57 7C | ||
3E 83 42 72 | ||
C8 7D B8 7A | ||
DE 81 39 A0 | ||
22 C4 81 D1 | ||
8B 10 F5 83 | ||
07 7D 20 81 | ||
2E 77 32 83 | ||
FF 79 17 8C | ||
76 88 24 82 | ||
9F 9B 2B C4 | ||
51 D2 6A 0E | ||
F3 0B F7 59 | ||
14 70 A5 FD | ||
0A 3A 8B 46 | ||
1D 3E 00 00 | ||
F0 47 54 40 | ||
FE 1A 00 00 | ||
00 00 00 00 | ||
00 00 00 00 | ||
23 73 73 70 | ||
E8 86 B5 73 | ||
D3 7D B2 73 | ||
AA 6F F5 72 | ||
15 76 53 6A | ||
61 57 D2 9A | ||
3F F8 61 15 | ||
64 A0 71 0C | ||
28 00 FF 36 | ||
F0 11 30 03 | ||
00 00 00 0C | ||
]; | ||
}; |
Oops, something went wrong.
09f6450
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
arch/arm/kconfig
the commit is :
config THERMAL_SWITCH
default n
bool "Support themral config switch"
help
Support themral config switch.
but it should be "thermal" not "themral" :
config THERMAL_SWITCH
default n
bool "Support thermal config switch"
help
Support thermal config switch.