Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: BSD-3-Clause
0002 /*
0003  * Copyright (c) 2021, Konrad Dybcio <konrad.dybcio@somainline.org>
0004  */
0005 
0006 #include "msm8996.dtsi"
0007 
0008 / {
0009         qcom,msm-id = <246 0x30000>;
0010 };
0011 
0012  /*
0013   * This revision seems to have differ GPU CPR
0014   * parameters, GPU frequencies and some differences
0015   * when it comes to voltage delivery to.. once again
0016   * the GPU. Funnily enough, it's simpler to make it an
0017   * overlay on top of 3.1 (the final one) than vice versa.
0018   * The differences will show here as more and more
0019   * features get enabled upstream.
0020   */
0021 
0022 gpu_opp_table_3_0: gpu-opp-table-30 {
0023         compatible = "operating-points-v2";
0024 
0025         opp-624000000 {
0026                 opp-hz = /bits/ 64 <624000000>;
0027                 opp-level = <7>;
0028         };
0029 
0030         opp-560000000 {
0031                 opp-hz = /bits/ 64 <560000000>;
0032                 opp-level = <6>;
0033         };
0034 
0035         opp-510000000 {
0036                 opp-hz = /bits/ 64 <510000000>;
0037                 opp-level = <5>;
0038         };
0039 
0040         opp-401800000 {
0041                 opp-hz = /bits/ 64 <401800000>;
0042                 opp-level = <4>;
0043         };
0044 
0045         opp-315000000 {
0046                 opp-hz = /bits/ 64 <315000000>;
0047                 opp-level = <3>;
0048         };
0049 
0050         opp-214000000 {
0051                 opp-hz = /bits/ 64 <214000000>;
0052                 opp-level = <3>;
0053         };
0054 
0055         opp-133000000 {
0056                 opp-hz = /bits/ 64 <133000000>;
0057                 opp-level = <3>;
0058         };
0059 };
0060 
0061 &gpu {
0062         operating-points-v2 = <&gpu_opp_table_3_0>;
0063 };