1 // SPDX-License-Identifier: BSD-3-Clause 1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 2 /* 3 * Copyright (c) 2021, Konrad Dybcio <konrad.dy 3 * Copyright (c) 2021, Konrad Dybcio <konrad.dybcio@somainline.org> 4 */ 4 */ 5 5 6 #include "msm8996.dtsi" 6 #include "msm8996.dtsi" 7 7 8 / { 8 / { 9 qcom,msm-id = <246 0x30000>; 9 qcom,msm-id = <246 0x30000>; 10 }; 10 }; 11 11 12 /* 12 /* 13 * This revision seems to have differ GPU CPR 13 * This revision seems to have differ GPU CPR 14 * parameters, GPU frequencies and some diffe 14 * parameters, GPU frequencies and some differences 15 * when it comes to voltage delivery to.. onc 15 * when it comes to voltage delivery to.. once again 16 * the GPU. Funnily enough, it's simpler to m 16 * the GPU. Funnily enough, it's simpler to make it an 17 * overlay on top of 3.1 (the final one) than 17 * overlay on top of 3.1 (the final one) than vice versa. 18 * The differences will show here as more and 18 * The differences will show here as more and more 19 * features get enabled upstream. 19 * features get enabled upstream. 20 */ 20 */ 21 21 22 gpu_opp_table_3_0: opp-table-gpu30 { !! 22 gpu_opp_table_3_0: gpu-opp-table-30 { 23 compatible = "operating-points-v2"; 23 compatible = "operating-points-v2"; 24 24 25 opp-624000000 { 25 opp-624000000 { 26 opp-hz = /bits/ 64 <624000000> 26 opp-hz = /bits/ 64 <624000000>; 27 opp-level = <7>; 27 opp-level = <7>; 28 }; 28 }; 29 29 30 opp-560000000 { 30 opp-560000000 { 31 opp-hz = /bits/ 64 <560000000> 31 opp-hz = /bits/ 64 <560000000>; 32 opp-level = <6>; 32 opp-level = <6>; 33 }; 33 }; 34 34 35 opp-510000000 { 35 opp-510000000 { 36 opp-hz = /bits/ 64 <510000000> 36 opp-hz = /bits/ 64 <510000000>; 37 opp-level = <5>; 37 opp-level = <5>; 38 }; 38 }; 39 39 40 opp-401800000 { 40 opp-401800000 { 41 opp-hz = /bits/ 64 <401800000> 41 opp-hz = /bits/ 64 <401800000>; 42 opp-level = <4>; 42 opp-level = <4>; 43 }; 43 }; 44 44 45 opp-315000000 { 45 opp-315000000 { 46 opp-hz = /bits/ 64 <315000000> 46 opp-hz = /bits/ 64 <315000000>; 47 opp-level = <3>; 47 opp-level = <3>; 48 }; 48 }; 49 49 50 opp-214000000 { 50 opp-214000000 { 51 opp-hz = /bits/ 64 <214000000> 51 opp-hz = /bits/ 64 <214000000>; 52 opp-level = <3>; 52 opp-level = <3>; 53 }; 53 }; 54 54 55 opp-133000000 { 55 opp-133000000 { 56 opp-hz = /bits/ 64 <133000000> 56 opp-hz = /bits/ 64 <133000000>; 57 opp-level = <3>; 57 opp-level = <3>; 58 }; 58 }; 59 }; 59 }; 60 60 61 &gpu { 61 &gpu { 62 operating-points-v2 = <&gpu_opp_table_ 62 operating-points-v2 = <&gpu_opp_table_3_0>; 63 }; 63 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.