diff mbox series

[v3,10/14] arm64: dts: qcom: qcs404: Add OPP table

Message ID 20190625164733.11091-11-jorge.ramirez-ortiz@linaro.org
State New
Headers show
Series [v3,01/14] clk: qcom: gcc: limit GPLL0_AO_OUT operating frequency | expand

Commit Message

Jorge Ramirez-Ortiz June 25, 2019, 4:47 p.m. UTC
Add a CPU OPP table to 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 | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

-- 
2.21.0

Comments

Bjorn Andersson July 11, 2019, 3:25 p.m. UTC | #1
On Tue 25 Jun 09:47 PDT 2019, Jorge Ramirez-Ortiz wrote:

> Add a CPU OPP table to 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>


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


> ---

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

>  1 file changed, 18 insertions(+)

> 

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

> index 3f17e1b09c13..d876dae5b0a5 100644

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

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

> @@ -83,6 +83,24 @@

>  		};

>  	};

>  

> +	cpu_opp_table: cpu-opp-table {

> +		compatible = "operating-points-v2";

> +		opp-shared;

> +

> +		opp-1094400000 {

> +			opp-hz = /bits/ 64 <1094400000>;

> +			opp-microvolt = <1224000 1224000 1224000>;

> +		};

> +		opp-1248000000 {

> +			opp-hz = /bits/ 64 <1248000000>;

> +			opp-microvolt = <1288000 1288000 1288000>;

> +		};

> +		opp-1401600000 {

> +			opp-hz = /bits/ 64 <1401600000>;

> +			opp-microvolt = <1384000 1384000 1384000>;

> +		};

> +	};

> +

>  	firmware {

>  		scm: scm {

>  			compatible = "qcom,scm-qcs404", "qcom,scm";

> -- 

> 2.21.0

>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi
index 3f17e1b09c13..d876dae5b0a5 100644
--- a/arch/arm64/boot/dts/qcom/qcs404.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi
@@ -83,6 +83,24 @@ 
 		};
 	};
 
+	cpu_opp_table: cpu-opp-table {
+		compatible = "operating-points-v2";
+		opp-shared;
+
+		opp-1094400000 {
+			opp-hz = /bits/ 64 <1094400000>;
+			opp-microvolt = <1224000 1224000 1224000>;
+		};
+		opp-1248000000 {
+			opp-hz = /bits/ 64 <1248000000>;
+			opp-microvolt = <1288000 1288000 1288000>;
+		};
+		opp-1401600000 {
+			opp-hz = /bits/ 64 <1401600000>;
+			opp-microvolt = <1384000 1384000 1384000>;
+		};
+	};
+
 	firmware {
 		scm: scm {
 			compatible = "qcom,scm-qcs404", "qcom,scm";