Commit 0ec7bde7 authored by Manivannan Sadhasivam's avatar Manivannan Sadhasivam Committed by Bjorn Andersson

ARM: dts: qcom: sdx55: Add CPUFreq support

Add CPUFreq support to SDX55 platform using the cpufreq-dt driver.
There is no dedicated hardware block available on this platform to
carry on the CPUFreq duties. Hence, it is accomplished using the CPU
clock and regulators tied together by the operating points table.
Signed-off-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20210408170457.91409-4-manivannan.sadhasivam@linaro.orgSigned-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 8e3d9a7c
......@@ -53,6 +53,35 @@ cpu0: cpu@0 {
compatible = "arm,cortex-a7";
reg = <0x0>;
enable-method = "psci";
clocks = <&apcs>;
power-domains = <&rpmhpd SDX55_CX>;
power-domain-names = "rpmhpd";
operating-points-v2 = <&cpu_opp_table>;
};
};
cpu_opp_table: cpu-opp-table {
compatible = "operating-points-v2";
opp-shared;
opp-345600000 {
opp-hz = /bits/ 64 <345600000>;
required-opps = <&rpmhpd_opp_low_svs>;
};
opp-576000000 {
opp-hz = /bits/ 64 <576000000>;
required-opps = <&rpmhpd_opp_svs>;
};
opp-1094400000 {
opp-hz = /bits/ 64 <1094400000>;
required-opps = <&rpmhpd_opp_nom>;
};
opp-1555200000 {
opp-hz = /bits/ 64 <1555200000>;
required-opps = <&rpmhpd_opp_turbo>;
};
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment