cip-dev.lists.cip-project.org archive mirror
 help / color / mirror / Atom feed
From: prabhakar.mahadev-lad.rj@bp.renesas.com (Lad Prabhakar)
To: cip-dev@lists.cip-project.org
Subject: [cip-dev] [PATCH 4.19.y-cip 06/14] arm64: dts: renesas: r8a774b1: Add OPPs table for cpu devices
Date: Sat,  1 Feb 2020 12:26:54 +0000	[thread overview]
Message-ID: <1580560022-26873-7-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> (raw)
In-Reply-To: <1580560022-26873-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com>

From: Biju Das <biju.das@bp.renesas.com>

commit ce21f29032ae49a0bb2a260ab5ebf4c516c9f6e9 upstream.

This patch adds OPPs table for CA57{0,1} cpu devices.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Link: https://lore.kernel.org/r/1569250648-33857-2-git-send-email-biju.das at bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/r8a774b1.dtsi | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
index f4d60d5..c69df89 100644
--- a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
@@ -45,6 +45,28 @@
 		clock-frequency = <0>;
 	};
 
+	cluster0_opp: opp_table0 {
+		compatible = "operating-points-v2";
+		opp-shared;
+
+		opp-500000000 {
+			opp-hz = /bits/ 64 <500000000>;
+			opp-microvolt = <830000>;
+			clock-latency-ns = <300000>;
+		};
+		opp-1000000000 {
+			opp-hz = /bits/ 64 <1000000000>;
+			opp-microvolt = <830000>;
+			clock-latency-ns = <300000>;
+		};
+		opp-1500000000 {
+			opp-hz = /bits/ 64 <1500000000>;
+			opp-microvolt = <830000>;
+			clock-latency-ns = <300000>;
+			opp-suspend;
+		};
+	};
+
 	cpus {
 		#address-cells = <1>;
 		#size-cells = <0>;
@@ -59,6 +81,7 @@
 			#cooling-cells = <2>;
 			dynamic-power-coefficient = <854>;
 			clocks = <&cpg CPG_CORE R8A774B1_CLK_Z>;
+			operating-points-v2 = <&cluster0_opp>;
 		};
 
 		a57_1: cpu at 1 {
@@ -69,6 +92,7 @@
 			next-level-cache = <&L2_CA57>;
 			enable-method = "psci";
 			clocks = <&cpg CPG_CORE R8A774B1_CLK_Z>;
+			operating-points-v2 = <&cluster0_opp>;
 		};
 
 		L2_CA57: cache-controller-0 {
-- 
2.7.4

  parent reply	other threads:[~2020-02-01 12:26 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-01 12:26 [cip-dev] [PATCH 4.19.y-cip 00/14] Renesas RZ/G2 extend peripheral support Lad Prabhakar
2020-02-01 12:26 ` [cip-dev] [PATCH 4.19.y-cip 01/14] dt-bindings: i2c: rcar: Rename bindings documentation file Lad Prabhakar
2020-02-01 12:26 ` [cip-dev] [PATCH 4.19.y-cip 02/14] dt-bindings: i2c: rcar: Add r8a774b1 support Lad Prabhakar
2020-02-01 12:26 ` [cip-dev] [PATCH 4.19.y-cip 03/14] dt-bindings: i2c: sh_mobile: Rename bindings documentation file Lad Prabhakar
2020-02-01 12:26 ` [cip-dev] [PATCH 4.19.y-cip 04/14] dt-bindings: i2c: sh_mobile: Add r8a774b1 support Lad Prabhakar
2020-02-01 12:26 ` [cip-dev] [PATCH 4.19.y-cip 05/14] arm64: dts: renesas: r8a774b1: Add I2C and IIC-DVFS support Lad Prabhakar
2020-02-01 12:26 ` Lad Prabhakar [this message]
2020-02-01 12:26 ` [cip-dev] [PATCH 4.19.y-cip 07/14] dt-bindings: thermal: rcar-gen3-thermal: Add r8a774b1 support Lad Prabhakar
2020-02-01 12:26 ` [cip-dev] [PATCH 4.19.y-cip 08/14] thermal: rcar_gen3_thermal: " Lad Prabhakar
2020-02-01 12:26 ` [cip-dev] [PATCH 4.19.y-cip 09/14] arm64: dts: renesas: r8a774b1: Add RZ/G2N thermal support Lad Prabhakar
2020-02-01 12:26 ` [cip-dev] [PATCH 4.19.y-cip 10/14] dt-bindings: timer: renesas, cmt: Document r8a774b1 CMT support Lad Prabhakar
2020-02-01 12:26 ` [cip-dev] [PATCH 4.19.y-cip 11/14] arm64: dts: renesas: r8a774b1: Add CMT device nodes Lad Prabhakar
2020-02-01 12:27 ` [cip-dev] [PATCH 4.19.y-cip 12/14] dt-bindings: timer: renesas: tmu: Document r8a774b1 bindings Lad Prabhakar
2020-02-01 12:27 ` [cip-dev] [PATCH 4.19.y-cip 13/14] clk: renesas: r8a774b1: Add TMU clock Lad Prabhakar
2020-02-01 12:27 ` [cip-dev] [PATCH 4.19.y-cip 14/14] arm64: dts: renesas: r8a774b1: Add TMU device nodes Lad Prabhakar
2020-02-02 18:43 ` [cip-dev] [PATCH 4.19.y-cip 00/14] Renesas RZ/G2 extend peripheral support Pavel Machek
2020-02-04 23:19   ` nobuhiro1.iwamatsu at toshiba.co.jp
2020-02-05 22:39     ` Pavel Machek
2020-02-06  7:06       ` Prabhakar Mahadev Lad

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1580560022-26873-7-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com \
    --to=prabhakar.mahadev-lad.rj@bp.renesas.com \
    --cc=cip-dev@lists.cip-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).