forked from LineageOS/android_kernel_oneplus_msm8996
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'LA.UM.5.5.r1-04700-8x96.0' of https://source.codeaurora.or…
…g/quic/la/kernel/msm-3.18 into HEAD "LA.UM.5.5.r1-04700-8x96.0" Change-Id: I0776b0574961c6ecd30b7896e92b6fc80762df3b
- Loading branch information
Showing
108 changed files
with
920 additions
and
11,364 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,23 @@ | ||
/* | ||
* Copyright (c) 2017, 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/; | ||
|
||
#include "sdm450.dtsi" | ||
#include "msm8953-cdp.dtsi" | ||
|
||
/ { | ||
model = "Qualcomm Technologies, Inc. SDM450 CDP"; | ||
compatible = "qcom,sdm450-cdp", "qcom,sdm450", "qcom,cdp"; | ||
qcom,board-id= <1 0>; | ||
}; |
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,23 @@ | ||
/* | ||
* Copyright (c) 2017, 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/; | ||
|
||
#include "sdm450.dtsi" | ||
#include "msm8953-mtp.dtsi" | ||
|
||
/ { | ||
model = "Qualcomm Technologies, Inc. SDM450 MTP"; | ||
compatible = "qcom,sdm450-mtp", "qcom,sdm450", "qcom,mtp"; | ||
qcom,board-id= <8 0>; | ||
}; |
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,23 @@ | ||
/* | ||
* Copyright (c) 2017, 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/; | ||
|
||
#include "sdm450.dtsi" | ||
#include "msm8953-cdp.dtsi" | ||
|
||
/ { | ||
model = "Qualcomm Technologies, Inc. SDM450 RCM"; | ||
compatible = "qcom,sdm450-cdp", "qcom,sdm450", "qcom,cdp"; | ||
qcom,board-id= <21 0>; | ||
}; |
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,120 @@ | ||
/* | ||
* Copyright (c) 2017, 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. | ||
*/ | ||
|
||
#include "skeleton64.dtsi" | ||
#include "msm8953.dtsi" | ||
|
||
/ { | ||
model = "Qualcomm Technologies, Inc. SDM450"; | ||
compatible = "qcom,sdm450"; | ||
qcom,msm-id = <338 0x0>; | ||
interrupt-parent = <&intc>; | ||
|
||
soc: soc { }; | ||
}; | ||
|
||
&clock_gcc_gfx { | ||
compatible = "qcom,gcc-gfx-sdm450"; | ||
qcom,gfxfreq-corner = | ||
< 0 0 >, | ||
< 133330000 1 >, /* Min SVS */ | ||
< 216000000 2 >, /* Low SVS */ | ||
< 320000000 3 >, /* SVS */ | ||
< 400000000 4 >, /* SVS Plus */ | ||
< 510000000 5 >, /* NOM */ | ||
< 560000000 6 >, /* Nom Plus */ | ||
< 600000000 7 >; /* Turbo */ | ||
}; | ||
|
||
/* GPU Overrides*/ | ||
&msm_gpu { | ||
|
||
/delete-node/qcom,gpu-pwrlevels; | ||
|
||
qcom,gpu-pwrlevels { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
compatible = "qcom,gpu-pwrlevels"; | ||
|
||
/* TURBO */ | ||
qcom,gpu-pwrlevel@0 { | ||
reg = <0>; | ||
qcom,gpu-freq = <600000000>; | ||
qcom,bus-freq = <10>; | ||
qcom,bus-min = <10>; | ||
qcom,bus-max = <10>; | ||
}; | ||
|
||
/* NOM+ */ | ||
qcom,gpu-pwrlevel@1 { | ||
reg = <1>; | ||
qcom,gpu-freq = <560000000>; | ||
qcom,bus-freq = <10>; | ||
qcom,bus-min = <8>; | ||
qcom,bus-max = <10>; | ||
}; | ||
|
||
/* NOM */ | ||
qcom,gpu-pwrlevel@2 { | ||
reg = <2>; | ||
qcom,gpu-freq = <510000000>; | ||
qcom,bus-freq = <9>; | ||
qcom,bus-min = <6>; | ||
qcom,bus-max = <10>; | ||
}; | ||
|
||
/* SVS+ */ | ||
qcom,gpu-pwrlevel@3 { | ||
reg = <3>; | ||
qcom,gpu-freq = <400000000>; | ||
qcom,bus-freq = <7>; | ||
qcom,bus-min = <5>; | ||
qcom,bus-max = <8>; | ||
}; | ||
|
||
/* SVS */ | ||
qcom,gpu-pwrlevel@4 { | ||
reg = <4>; | ||
qcom,gpu-freq = <320000000>; | ||
qcom,bus-freq = <4>; | ||
qcom,bus-min = <2>; | ||
qcom,bus-max = <6>; | ||
}; | ||
|
||
/* Low SVS */ | ||
qcom,gpu-pwrlevel@5 { | ||
reg = <5>; | ||
qcom,gpu-freq = <216000000>; | ||
qcom,bus-freq = <1>; | ||
qcom,bus-min = <1>; | ||
qcom,bus-max = <4>; | ||
}; | ||
|
||
/* Min SVS */ | ||
qcom,gpu-pwrlevel@6 { | ||
reg = <6>; | ||
qcom,gpu-freq = <133300000>; | ||
qcom,bus-freq = <1>; | ||
qcom,bus-min = <1>; | ||
qcom,bus-max = <4>; | ||
}; | ||
/* XO */ | ||
qcom,gpu-pwrlevel@7 { | ||
reg = <7>; | ||
qcom,gpu-freq = <19200000>; | ||
qcom,bus-freq = <0>; | ||
qcom,bus-min = <0>; | ||
}; | ||
}; | ||
}; |
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,32 @@ | ||
/* | ||
* Copyright (c) 2017, 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. | ||
*/ | ||
|
||
#include <linux/kernel.h> | ||
#include <asm/mach/arch.h> | ||
#include "board-dt.h" | ||
|
||
static const char *sdm450_dt_match[] __initconst = { | ||
"qcom,sdm450", | ||
NULL | ||
}; | ||
|
||
static void __init sdm450_init(void) | ||
{ | ||
board_dt_populate(NULL); | ||
} | ||
|
||
DT_MACHINE_START(SDM450_DT, | ||
"Qualcomm Technologies, Inc. SDM450 (Flattened Device Tree)") | ||
.init_machine = sdm450_init, | ||
.dt_compat = sdm450_dt_match, | ||
MACHINE_END |
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
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 |
---|---|---|
|
@@ -198,6 +198,4 @@ source "drivers/firmware/Kconfig" | |
|
||
source "drivers/bif/Kconfig" | ||
|
||
source "drivers/gud/Kconfig" | ||
|
||
endmenu |
Oops, something went wrong.