diff mbox series

[12/13] arm64: dts: qcom: qcs404: Add cpufreq support

Message ID 1545039990-19984-13-git-send-email-jorge.ramirez-ortiz@linaro.org
State New
Headers show
Series Support CPU frequency scaling on QCS404 | expand

Commit Message

Jorge Ramirez-Ortiz Dec. 17, 2018, 9:46 a.m. UTC
Support CPU frequency scaling on qcs404.

Co-developed-by: Niklas Cassel <niklas.cassel@linaro.org>
Signed-off-by: Niklas Cassel <niklas.cassel@linaro.org>

Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>

---
 arch/arm64/boot/dts/qcom/qcs404.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

-- 
2.7.4

Comments

Bjorn Andersson Jan. 17, 2019, 6:36 a.m. UTC | #1
On Mon 17 Dec 01:46 PST 2018, Jorge Ramirez-Ortiz wrote:

> Support CPU frequency scaling on qcs404.

> 


Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>


> Co-developed-by: Niklas Cassel <niklas.cassel@linaro.org>

> Signed-off-by: Niklas Cassel <niklas.cassel@linaro.org>

> Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>

> ---

>  arch/arm64/boot/dts/qcom/qcs404.dtsi | 8 ++++++++

>  1 file changed, 8 insertions(+)

> 

> diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi

> index 2d9e70e..5a14887 100644

> --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi

> +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi

> @@ -30,6 +30,8 @@

>  			reg = <0x100>;

>  			enable-method = "psci";

>  			next-level-cache = <&L2_0>;

> +			clocks = <&apcs_glb>;

> +			operating-points-v2 = <&cpu_opp_table>;

>  		};

>  

>  		CPU1: cpu@101 {

> @@ -38,6 +40,8 @@

>  			reg = <0x101>;

>  			enable-method = "psci";

>  			next-level-cache = <&L2_0>;

> +			clocks = <&apcs_glb>;

> +			operating-points-v2 = <&cpu_opp_table>;

>  		};

>  

>  		CPU2: cpu@102 {

> @@ -46,6 +50,8 @@

>  			reg = <0x102>;

>  			enable-method = "psci";

>  			next-level-cache = <&L2_0>;

> +			clocks = <&apcs_glb>;

> +			operating-points-v2 = <&cpu_opp_table>;

>  		};

>  

>  		CPU3: cpu@103 {

> @@ -54,6 +60,8 @@

>  			reg = <0x103>;

>  			enable-method = "psci";

>  			next-level-cache = <&L2_0>;

> +			clocks = <&apcs_glb>;

> +			operating-points-v2 = <&cpu_opp_table>;

>  		};

>  

>  		L2_0: l2-cache {

> -- 

> 2.7.4

>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi
index 2d9e70e..5a14887 100644
--- a/arch/arm64/boot/dts/qcom/qcs404.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi
@@ -30,6 +30,8 @@ 
 			reg = <0x100>;
 			enable-method = "psci";
 			next-level-cache = <&L2_0>;
+			clocks = <&apcs_glb>;
+			operating-points-v2 = <&cpu_opp_table>;
 		};
 
 		CPU1: cpu@101 {
@@ -38,6 +40,8 @@ 
 			reg = <0x101>;
 			enable-method = "psci";
 			next-level-cache = <&L2_0>;
+			clocks = <&apcs_glb>;
+			operating-points-v2 = <&cpu_opp_table>;
 		};
 
 		CPU2: cpu@102 {
@@ -46,6 +50,8 @@ 
 			reg = <0x102>;
 			enable-method = "psci";
 			next-level-cache = <&L2_0>;
+			clocks = <&apcs_glb>;
+			operating-points-v2 = <&cpu_opp_table>;
 		};
 
 		CPU3: cpu@103 {
@@ -54,6 +60,8 @@ 
 			reg = <0x103>;
 			enable-method = "psci";
 			next-level-cache = <&L2_0>;
+			clocks = <&apcs_glb>;
+			operating-points-v2 = <&cpu_opp_table>;
 		};
 
 		L2_0: l2-cache {