-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Synchronize codes for OnePlus 7T Pro 5G Oxygen OS 10.0.16
Add dts files. Change-Id: I0615a8de0f56d5df1008c890c073a9dcf26c04ea
- Loading branch information
1 parent
f8fb5fb
commit 6b74918
Showing
13 changed files
with
1,572 additions
and
1 deletion.
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,39 @@ | ||
/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. | ||
* | ||
* 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/; | ||
/plugin/; | ||
|
||
#include <dt-bindings/clock/qcom,gcc-sm8150.h> | ||
#include <dt-bindings/clock/qcom,camcc-sm8150.h> | ||
#include <dt-bindings/clock/qcom,rpmh.h> | ||
#include <dt-bindings/interrupt-controller/arm-gic.h> | ||
|
||
#include "sm8150-mtp.dtsi" | ||
#include "sm8150-mtp-audio-overlay.dtsi" | ||
#include "sm8150-oem-camera-hotdog-t0.dtsi" | ||
|
||
#include "sm8150-oem.dtsi" | ||
#include "hotdog.dtsi" | ||
#include "hotdog_sm8150.dtsi" | ||
#include "hotdog_dvt.dtsi" | ||
|
||
/ { | ||
model = "MTP 19081 DVT 13"; | ||
compatible = "qcom,sm8150-mtp", "qcom,sm8150", "qcom,mtp"; | ||
qcom,board-id = <8 0 >; | ||
/*we can add project id to this array,uefi can auto read it,if new project,we add to this array */ | ||
oem,project-id = <19801>; | ||
/*we can add hw id to this array,uefi can auto read it,if new hw,we add to this array */ | ||
oem,hw-id = <13>; | ||
}; | ||
|
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,39 @@ | ||
/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. | ||
* | ||
* 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/; | ||
/plugin/; | ||
|
||
#include <dt-bindings/clock/qcom,gcc-sm8150.h> | ||
#include <dt-bindings/clock/qcom,camcc-sm8150.h> | ||
#include <dt-bindings/clock/qcom,rpmh.h> | ||
#include <dt-bindings/interrupt-controller/arm-gic.h> | ||
|
||
#include "sm8150-mtp.dtsi" | ||
#include "sm8150-mtp-audio-overlay.dtsi" | ||
#include "sm8150-oem-camera-hotdog-t0.dtsi" | ||
|
||
#include "sm8150-oem.dtsi" | ||
#include "hotdog.dtsi" | ||
#include "hotdog_sm8150.dtsi" | ||
#include "hotdog_evt1.dtsi" | ||
#include "hotdog_evt2.dtsi" | ||
/ { | ||
model = "MTP 19801 EVT 12"; | ||
compatible = "qcom,sm8150-mtp", "qcom,sm8150", "qcom,mtp"; | ||
qcom,board-id = <8 0>; | ||
/*we can add project id to this array,uefi can auto read it,if new project,we add to this array */ | ||
oem,project-id = <19801>; | ||
/*we can add hw id to this array,uefi can auto read it,if new hw,we add to this array */ | ||
oem,hw-id = <12>; | ||
}; | ||
|
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,39 @@ | ||
/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. | ||
* | ||
* 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/; | ||
/plugin/; | ||
|
||
#include <dt-bindings/clock/qcom,gcc-sm8150.h> | ||
#include <dt-bindings/clock/qcom,camcc-sm8150.h> | ||
#include <dt-bindings/clock/qcom,rpmh.h> | ||
#include <dt-bindings/interrupt-controller/arm-gic.h> | ||
|
||
#include "sm8150-mtp.dtsi" | ||
#include "sm8150-mtp-audio-overlay.dtsi" | ||
#include "sm8150-oem-camera-hotdog-t0.dtsi" | ||
|
||
#include "sm8150-oem.dtsi" | ||
#include "hotdog.dtsi" | ||
#include "hotdog_sm8150.dtsi" | ||
#include "hotdog_pvt.dtsi" | ||
|
||
/ { | ||
model = "MTP 19801 MP 14 15"; | ||
compatible = "qcom,sm8150-mtp", "qcom,sm8150", "qcom,mtp"; | ||
qcom,board-id = <8 0>; | ||
/*we can add project id to this array,uefi can auto read it,if new project,we add to this array */ | ||
oem,project-id = <19801>; | ||
/*we can add hw id to this array,uefi can auto read it,if new hw,we add to this array */ | ||
oem,hw-id = <14 15>; | ||
}; | ||
|
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,39 @@ | ||
/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. | ||
* | ||
* 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/; | ||
/plugin/; | ||
|
||
#include <dt-bindings/clock/qcom,gcc-sm8150.h> | ||
#include <dt-bindings/clock/qcom,camcc-sm8150.h> | ||
#include <dt-bindings/clock/qcom,rpmh.h> | ||
#include <dt-bindings/interrupt-controller/arm-gic.h> | ||
|
||
#include "sm8150-mtp.dtsi" | ||
#include "sm8150-mtp-audio-overlay.dtsi" | ||
#include "sm8150-oem-camera-hotdog-t0.dtsi" | ||
|
||
#include "sm8150-oem.dtsi" | ||
#include "hotdog.dtsi" | ||
#include "hotdog_sm8150.dtsi" | ||
#include "hotdog_t0.dtsi" | ||
|
||
/ { | ||
model = "MTP 19801 T0 11"; | ||
compatible = "qcom,sm8150-mtp", "qcom,sm8150", "qcom,mtp"; | ||
qcom,board-id = <8 0>; | ||
/*we can add project id to this array,uefi can auto read it,if new project,we add to this array */ | ||
oem,project-id = <19801>; | ||
/*we can add hw id to this array,uefi can auto read it,if new hw,we add to this array */ | ||
oem,hw-id = <11>; | ||
}; | ||
|
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,7 @@ | ||
/*this is for sm8150_Q version */ | ||
&ois_rear_0 { | ||
ois_gyro,id = <1>;//19801/19861 | ||
}; | ||
&ois_rear_1 { | ||
ois_gyro,id = <1>;//19801/19861 | ||
}; |
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,43 @@ | ||
/* Copyright (c) 2018, The Linux Foundation. All rights reserved. | ||
* | ||
* 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/; | ||
/plugin/; | ||
|
||
#include <dt-bindings/clock/qcom,gcc-sm8150.h> | ||
#include <dt-bindings/clock/qcom,camcc-sm8150.h> | ||
#include <dt-bindings/clock/qcom,rpmh.h> | ||
#include <dt-bindings/interrupt-controller/arm-gic.h> | ||
|
||
#include "sm8150-mtp.dtsi" | ||
|
||
#include "sdx5xm-external-soc.dtsi" | ||
#include "sm8150-sdxprairie.dtsi" | ||
#include "sm8150-mtp-audio-overlay.dtsi" | ||
#include "sm8150-oem-camera-hotdog-t0.dtsi" | ||
#include "hotdogg-sdx55m-ois.dtsi" | ||
|
||
|
||
#include "sm8150-oem.dtsi" | ||
#include "hotdog.dtsi" | ||
#include "hotdogg-sdx55m.dtsi" | ||
#include "hotdog_dvt.dtsi" | ||
|
||
/ { | ||
model = "SDX55M MTP 19861 51 52"; | ||
compatible = "qcom,sm8150-mtp", "qcom,sm8150", "qcom,mtp"; | ||
qcom,board-id = <8 2>; | ||
/*we can add project id to this array,uefi can auto read it,if new project,we add to this array */ | ||
oem,project-id = <19861>; | ||
/*we can add hw id to this array,uefi can auto read it,if new hw,we add to this array */ | ||
oem,hw-id = <51 52>; | ||
}; |
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,42 @@ | ||
/* Copyright (c) 2018, The Linux Foundation. All rights reserved. | ||
* | ||
* 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/; | ||
/plugin/; | ||
|
||
#include <dt-bindings/clock/qcom,gcc-sm8150.h> | ||
#include <dt-bindings/clock/qcom,camcc-sm8150.h> | ||
#include <dt-bindings/clock/qcom,rpmh.h> | ||
#include <dt-bindings/interrupt-controller/arm-gic.h> | ||
|
||
#include "sm8150-mtp.dtsi" | ||
|
||
#include "sdx5xm-external-soc.dtsi" | ||
#include "sm8150-sdxprairie.dtsi" | ||
#include "sm8150-mtp-audio-overlay.dtsi" | ||
#include "sm8150-oem-camera-hotdog-t0.dtsi" | ||
#include "hotdogg-sdx55m-ois.dtsi" | ||
|
||
#include "sm8150-oem.dtsi" | ||
#include "hotdog.dtsi" | ||
#include "hotdogg-sdx55m.dtsi" | ||
#include "hotdog_evt1.dtsi" | ||
|
||
/ { | ||
model = "SDX55M MTP 18961 43"; | ||
compatible = "qcom,sm8150-mtp", "qcom,sm8150", "qcom,mtp"; | ||
qcom,board-id = <8 2>; | ||
/*we can add project id to this array,uefi can auto read it,if new project,we add to this array */ | ||
oem,project-id = <19861>; | ||
/*we can add hw id to this array,uefi can auto read it,if new hw,we add to this array */ | ||
oem,hw-id = <43>; | ||
}; |
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,43 @@ | ||
/* Copyright (c) 2018, The Linux Foundation. All rights reserved. | ||
* | ||
* 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/; | ||
/plugin/; | ||
|
||
#include <dt-bindings/clock/qcom,gcc-sm8150.h> | ||
#include <dt-bindings/clock/qcom,camcc-sm8150.h> | ||
#include <dt-bindings/clock/qcom,rpmh.h> | ||
#include <dt-bindings/interrupt-controller/arm-gic.h> | ||
|
||
#include "sm8150-mtp.dtsi" | ||
|
||
#include "sdx5xm-external-soc.dtsi" | ||
#include "sm8150-sdxprairie.dtsi" | ||
#include "sm8150-mtp-audio-overlay.dtsi" | ||
#include "sm8150-oem-camera-hotdog-t0.dtsi" | ||
#include "hotdogg-sdx55m-ois.dtsi" | ||
|
||
|
||
#include "sm8150-oem.dtsi" | ||
#include "hotdog.dtsi" | ||
#include "hotdogg-sdx55m.dtsi" | ||
#include "hotdog_evt2.dtsi" | ||
|
||
/ { | ||
model = "SDX55M MTP 19861 44 45"; | ||
compatible = "qcom,sm8150-mtp", "qcom,sm8150", "qcom,mtp"; | ||
qcom,board-id = <8 2>; | ||
/*we can add project id to this array,uefi can auto read it,if new project,we add to this array */ | ||
oem,project-id = <19861>; | ||
/*we can add hw id to this array,uefi can auto read it,if new hw,we add to this array */ | ||
oem,hw-id = <44 45>; | ||
}; |
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,42 @@ | ||
/* Copyright (c) 2018, The Linux Foundation. All rights reserved. | ||
* | ||
* 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/; | ||
/plugin/; | ||
|
||
#include <dt-bindings/clock/qcom,gcc-sm8150.h> | ||
#include <dt-bindings/clock/qcom,camcc-sm8150.h> | ||
#include <dt-bindings/clock/qcom,rpmh.h> | ||
#include <dt-bindings/interrupt-controller/arm-gic.h> | ||
|
||
#include "sm8150-mtp.dtsi" | ||
|
||
#include "sdx5xm-external-soc.dtsi" | ||
#include "sm8150-sdxprairie.dtsi" | ||
#include "sm8150-mtp-audio-overlay.dtsi" | ||
#include "sm8150-oem-camera-hotdog-t0.dtsi" | ||
#include "hotdogg-sdx55m-ois.dtsi" | ||
|
||
#include "sm8150-oem.dtsi" | ||
#include "hotdog.dtsi" | ||
#include "hotdogg-sdx55m.dtsi" | ||
#include "hotdog_pvt.dtsi" | ||
|
||
/ { | ||
model = "SDX55M MTP 19861 53 54"; | ||
compatible = "qcom,sm8150-mtp", "qcom,sm8150", "qcom,mtp"; | ||
qcom,board-id = <8 2>; | ||
/*we can add project id to this array,uefi can auto read it,if new project,we add to this array */ | ||
oem,project-id = <19861>; | ||
/*we can add hw id to this array,uefi can auto read it,if new hw,we add to this array */ | ||
oem,hw-id = <53 54>; | ||
}; |
Oops, something went wrong.
6b74918
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.
I'm all for the unified 5G support, but it would be much appreciated if you could push an update of substance particularly pertaining to the current T-variant kernels, as of 10.0.7 oneplus_brain service is running absolutely buck wild with 100% CPU utilization on all of our existing custom kernels for OP7T devices and yet is behaving as expected on the stock kernel. Clearly some changes that we're not privy to have been made here and it would be great to see a larger focus on keeping this repo up to date for the sake of community support for these devices, especially if there's going to be ongoing changes with such a radical impact on core functionality. We want to be involved in this community, help us help you.
6b74918
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.
I second this. I've been developing solely for the 5G variant over the last few months, we need an update.