-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DTS: qcom: Import new vince overlayed dtsi
* based from vince leaked source on daisy-p-oss Signed-off-by: Rama Bondan Prakoso <[email protected]>
- Loading branch information
1 parent
7f885cd
commit 5c7c16c
Showing
22 changed files
with
6,818 additions
and
27 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,78 @@ | ||
/* | ||
* Copyright (c) 2015-2017, The Linux Foundation. All rights reserved. | ||
* Copyright (C) 2018 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. | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
#include "msm8953.dtsi" | ||
#include "msm-pmi8950.dtsi" | ||
|
||
/ { | ||
model = "Qualcomm Technologies, Inc. E7 QRD SKU3"; | ||
compatible = "qcom,msm8953-qrd-sku3", | ||
"qcom,msm8953-qrd", "qcom,msm8953", "qcom,qrd"; | ||
qcom,board-id= <0x1000b 0x08>; | ||
}; | ||
|
||
&soc { | ||
led_flash0: qcom,camera-flash { | ||
cell-index = <0>; | ||
compatible = "qcom,camera-flash"; | ||
qcom,flash-type = <1>; | ||
qcom,flash-source = <&pmi8950_flash0 &pmi8950_flash1>; | ||
qcom,torch-source = <&pmi8950_torch0 &pmi8950_torch1>; | ||
qcom,switch-source = <&pmi8950_switch>; | ||
}; | ||
}; | ||
|
||
#include "msm8953-qrd-sku3.dtsi" | ||
|
||
&usb3 { | ||
vbus_dwc3-supply = <&smbcharger_charger_otg>; | ||
}; | ||
|
||
&mdss_dsi1 { | ||
lab-supply = <&lab_regulator>; | ||
ibb-supply = <&ibb_regulator>; | ||
}; | ||
|
||
&wled { | ||
qcom,fs-curr-ua = <20000>; | ||
qcom,led-strings-list = [00 01]; | ||
qcom,ovp-mv = <29500>; | ||
}; | ||
|
||
&dsi_panel_pwr_supply { | ||
qcom,panel-supply-entry@2 { | ||
reg = <2>; | ||
qcom,supply-name = "lab"; | ||
qcom,supply-min-voltage = <4600000>; | ||
qcom,supply-max-voltage = <6000000>; | ||
qcom,supply-enable-load = <100000>; | ||
qcom,supply-disable-load = <100>; | ||
qcom,supply-post-on-sleep = <10>; | ||
qcom,supply-post-off-sleep = <2>; | ||
}; | ||
|
||
qcom,panel-supply-entry@3 { | ||
reg = <3>; | ||
qcom,supply-name = "ibb"; | ||
qcom,supply-min-voltage = <4600000>; | ||
qcom,supply-max-voltage = <6000000>; | ||
qcom,supply-enable-load = <100000>; | ||
qcom,supply-disable-load = <100>; | ||
/*qcom,supply-post-on-sleep = <10>;*/ | ||
}; | ||
}; | ||
|
||
#include "vince/overlay.dtsi" |
49 changes: 49 additions & 0 deletions
49
arch/arm/boot/dts/qcom/vince/battery/Vince-coslight-50Kohm-4000mah.dtsi
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,49 @@ | ||
|
||
qcom,3005023_huaqin_e7cos_4000mah_averaged_masterslave_jul10th2017 { | ||
/* #3005023_Huaqin_E7cos_4000mAh_averaged_MasterSlave_Jul10th2017*/ | ||
qcom,max-voltage-uv = <4380000>; | ||
qcom,nom-batt-capacity-mah = <4000>; | ||
qcom,batt-id-kohm = <50>; | ||
qcom,battery-beta = <3435>; | ||
qcom,battery-type = "Vince_coslight_50Kohm_4000mah"; | ||
qcom,chg-rslow-comp-c1 = <2912209>; | ||
qcom,chg-rslow-comp-c2 = <3933866>; | ||
qcom,chg-rs-to-rslow = <758663>; | ||
qcom,chg-rslow-comp-thr = <0xA0>; | ||
qcom,checksum = <0xBFCD>; | ||
qcom,gui-version = "PMI8950GUI - 2.0.0.16"; | ||
qcom,fg-profile-data = [ | ||
ED 83 4A 7D | ||
73 81 EF 77 | ||
57 83 7C 44 | ||
E0 80 0E 8C | ||
21 82 F5 99 | ||
D6 BC 4F C9 | ||
5A 0F FA 83 | ||
58 7D 65 81 | ||
AF 77 57 83 | ||
88 61 4C 81 | ||
D6 8D 76 82 | ||
15 98 FD B5 | ||
EA C1 52 13 | ||
AC 0F 4A 59 | ||
14 70 EE FC | ||
BF 44 F4 3C | ||
56 3A 00 00 | ||
D9 44 8F 39 | ||
55 3E 00 00 | ||
00 00 00 00 | ||
00 00 00 00 | ||
A7 6A B9 69 | ||
B4 6B 37 83 | ||
C7 6E AB 62 | ||
1D 70 67 81 | ||
F6 6C 71 60 | ||
16 7D 3E 92 | ||
1B 51 60 6E | ||
5D A0 71 0C | ||
28 00 FF 36 | ||
F0 11 30 03 | ||
00 00 00 0C | ||
]; | ||
}; |
49 changes: 49 additions & 0 deletions
49
arch/arm/boot/dts/qcom/vince/battery/Vince-desay-24Kohm-4000mAh.dtsi
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,49 @@ | ||
|
||
qcom,3199087_huaqin_e7desay_4000mah_averaged_masterslave_dec4th2017 { | ||
/* #3199087_Huaqin_E7desay_4000mAh_averaged_MasterSlave_Dec4th2017*/ | ||
qcom,max-voltage-uv = <4380000>; | ||
qcom,nom-batt-capacity-mah = <4000>; | ||
qcom,batt-id-kohm = <24>; | ||
qcom,battery-beta = <3380>; | ||
qcom,battery-type = "Vince_desay_24Kohm_4000mah"; | ||
qcom,chg-rslow-comp-c1 = <4132413>; | ||
qcom,chg-rslow-comp-c2 = <7193808>; | ||
qcom,chg-rs-to-rslow = <1059831>; | ||
qcom,chg-rslow-comp-thr = <0xB7>; | ||
qcom,checksum = <0x4B4D>; | ||
qcom,gui-version = "PMI8950GUI - 2.0.0.16"; | ||
qcom,fg-profile-data = [ | ||
A5 83 51 74 | ||
6F 79 3B 6C | ||
37 83 D1 73 | ||
70 84 1A 81 | ||
EA 81 49 A0 | ||
75 C4 52 D2 | ||
6C 0F D0 83 | ||
B9 76 4E 7B | ||
10 74 2F 83 | ||
61 7A 78 8C | ||
EC 88 20 82 | ||
47 A0 3F C5 | ||
75 D8 63 0C | ||
DC 0F C6 59 | ||
14 70 EE FC | ||
0E 20 34 45 | ||
77 39 00 00 | ||
46 47 EA 3B | ||
FD 2E 00 00 | ||
00 00 00 00 | ||
00 00 00 00 | ||
60 71 DC 6A | ||
29 7C 0B 83 | ||
51 7D DF 72 | ||
3B 67 A7 78 | ||
D6 75 DE 6A | ||
04 74 5A A3 | ||
2D 6E 60 A6 | ||
5D A0 71 0C | ||
28 00 FF 36 | ||
F0 11 30 03 | ||
00 00 00 0C | ||
]; | ||
}; |
49 changes: 49 additions & 0 deletions
49
arch/arm/boot/dts/qcom/vince/battery/Vince-sunwoda-40Kohm-4000mah.dtsi
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,49 @@ | ||
|
||
qcom,3005040_huaqin_e7sun_4000mah_averaged_masterslave_jul17th2017 { | ||
/* #3005040_Huaqin_E7sun_4000mAh_averaged_MasterSlave_Jul17th2017*/ | ||
qcom,max-voltage-uv = <4380000>; | ||
qcom,nom-batt-capacity-mah = <4000>; | ||
qcom,batt-id-kohm = <40>; | ||
qcom,battery-beta = <3380>; | ||
qcom,battery-type = "Vince_sunwoda_40Kohm_4000mah"; | ||
qcom,chg-rslow-comp-c1 = <3028448>; | ||
qcom,chg-rslow-comp-c2 = <3651765>; | ||
qcom,chg-rs-to-rslow = <853285>; | ||
qcom,chg-rslow-comp-thr = <0x99>; | ||
qcom,checksum = <0x94A0>; | ||
qcom,gui-version = "PMI8950GUI - 2.0.0.16"; | ||
qcom,fg-profile-data = [ | ||
D9 83 86 7C | ||
E6 80 F9 76 | ||
5F 83 33 6E | ||
B4 88 E5 8F | ||
2A 82 1C 9A | ||
4F BD 48 CA | ||
56 0E 37 83 | ||
31 68 76 70 | ||
9C 54 3F 83 | ||
7A 78 BC 84 | ||
48 80 7F 82 | ||
53 93 E8 B4 | ||
47 C0 77 10 | ||
7A 0F DD 59 | ||
14 70 EE FC | ||
AC 3D 3B 45 | ||
1E 42 00 00 | ||
D2 4C 92 3A | ||
FE 42 00 00 | ||
00 00 00 00 | ||
00 00 00 00 | ||
71 6B B5 69 | ||
72 63 21 8A | ||
2F 76 34 6B | ||
5C 6C B4 79 | ||
40 6F 01 63 | ||
BA 60 05 A2 | ||
23 F7 62 09 | ||
65 A0 71 0C | ||
28 00 FF 36 | ||
F0 11 30 03 | ||
00 00 00 0C | ||
]; | ||
}; |
Oops, something went wrong.