Skip to content
This repository has been archived by the owner on Jul 7, 2021. It is now read-only.

Commit

Permalink
arm64: dts: sm8150: Add full CPU frequency tables
Browse files Browse the repository at this point in the history
These contain all possible hardware frequencies for sm8150-v1,
sm8150-v2, and sm8150p, so no behavior is changed.

Signed-off-by: Danny Lin <danny@kdrag0n.dev>
Signed-off-by: Adam W. Willis <return.of.octobot@gmail.com>
  • Loading branch information
kdrag0n authored and 0ctobot committed Aug 31, 2020
1 parent 0ef4061 commit 30e36cf
Show file tree
Hide file tree
Showing 2 changed files with 114 additions and 0 deletions.
64 changes: 64 additions & 0 deletions arch/arm64/boot/dts/qcom/sm8150-v2.dtsi
Expand Up @@ -29,6 +29,70 @@
/delete-node/ suspendable-ddr-bw-opp-table;
};

&clock_cpucc {
qcom,cpufreq-table-0 =
< 300000>,
< 403200>,
< 499200>,
< 576000>,
< 672000>,
< 768000>,
< 844800>,
< 940800>,
<1036800>,
<1113600>,
<1209600>,
<1305600>,
<1382400>,
<1478400>,
<1555200>,
<1632000>,
<1708800>,
<1785600>;

qcom,cpufreq-table-4 =
< 710400>,
< 825600>,
< 940800>,
<1056000>,
<1171200>,
<1286400>,
<1401600>,
<1497600>,
<1612800>,
<1708800>,
<1804800>,
<1920000>,
<2016000>,
<2131200>,
<2227200>,
<2323200>,
<2419200>;

qcom,cpufreq-table-7 =
< 825600>,
< 940800>,
<1056000>,
<1171200>,
<1286400>,
<1401600>,
<1497600>,
<1612800>,
<1708800>,
<1804800>,
<1920000>,
<2016000>,
<2131200>,
<2227200>,
<2323200>,
<2419200>,
<2534400>,
<2649600>,
<2745600>,
<2841600>,
<2956800>;
};

&mdss_mdp {
qcom,fullsize-va-map;
qcom,sde-min-core-ib-kbps = <0>;
Expand Down
50 changes: 50 additions & 0 deletions arch/arm64/boot/dts/qcom/sm8150.dtsi
Expand Up @@ -1579,6 +1579,56 @@
&cpu7_cpu_l3_lat>;

#clock-cells = <1>;
qcom,cpufreq-table-0 =
< 300000>,
< 403200>,
< 480000>,
< 576000>,
< 672000>,
< 768000>,
< 864000>,
< 979200>,
<1075200>,
<1171200>,
<1267200>;

qcom,cpufreq-table-4 =
< 576000>,
< 672000>,
< 768000>,
< 864000>,
< 960000>,
<1056000>,
<1152000>,
<1248000>,
<1344000>,
<1420800>,
<1497600>,
<1593600>,
<1689600>,
<1785600>,
<1862400>,
<1939200>,
<2016000>;

qcom,cpufreq-table-7 =
< 691200>,
< 768000>,
< 864000>,
< 940800>,
<1017600>,
<1113600>,
<1190400>,
<1286400>,
<1363200>,
<1459200>,
<1536000>,
<1632000>,
<1728000>,
<1824000>,
<1900800>,
<1977600>,
<2054400>;
};

clock_debugcc: qcom,cc-debug {
Expand Down

0 comments on commit 30e36cf

Please sign in to comment.