1 From 18c3b42575a154343831aec0637aab00e19440e1 Mon Sep 17 00:00:00 2001
2 From: Matthew McClintock <mmcclint@codeaurora.org>
3 Date: Thu, 17 Mar 2016 15:01:09 -0500
4 Subject: [PATCH 17/69] qcom: ipq4019: add cpu operating points for cpufreq
7 This adds some operating points for cpu frequeny scaling
9 Signed-off-by: Matthew McClintock <mmcclint@codeaurora.org>
11 arch/arm/boot/dts/qcom-ipq4019.dtsi | 34 ++++++++++++++++++++++++++--------
12 1 file changed, 26 insertions(+), 8 deletions(-)
14 --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
15 +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
18 clocks = <&gcc GCC_APPS_CLK_SRC>;
19 clock-frequency = <0>;
20 - operating-points = <
21 - /* kHz uV (fixed) */
27 - clock-latency = <256000>;
28 + operating-points-v2 = <&cpu0_opp_table>;
34 clocks = <&gcc GCC_APPS_CLK_SRC>;
35 clock-frequency = <0>;
36 + operating-points-v2 = <&cpu0_opp_table>;
42 clocks = <&gcc GCC_APPS_CLK_SRC>;
43 clock-frequency = <0>;
44 + operating-points-v2 = <&cpu0_opp_table>;
50 clocks = <&gcc GCC_APPS_CLK_SRC>;
51 clock-frequency = <0>;
52 + operating-points-v2 = <&cpu0_opp_table>;
56 + cpu0_opp_table: opp_table0 {
57 + compatible = "operating-points-v2";
61 + opp-hz = /bits/ 64 <48000000>;
62 + clock-latency-ns = <256000>;
65 + opp-hz = /bits/ 64 <200000000>;
66 + clock-latency-ns = <256000>;
69 + opp-hz = /bits/ 64 <500000000>;
70 + clock-latency-ns = <256000>;
73 + opp-hz = /bits/ 64 <666000000>;
74 + clock-latency-ns = <256000>;