All of lore.kernel.org
 help / color / mirror / Atom feed
From: Biju Das <biju.das.jz@bp.renesas.com>
To: Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: Biju Das <biju.das.jz@bp.renesas.com>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Magnus Damm <magnus.damm@gmail.com>,
	linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org,
	Fabrizio Castro <fabrizio.castro.jz@renesas.com>
Subject: [PATCH 2/2] arm64: dts: renesas: r9a07g054: Add gpu cooling device
Date: Tue, 25 Apr 2023 16:52:37 +0100	[thread overview]
Message-ID: <20230425155237.357592-3-biju.das.jz@bp.renesas.com> (raw)
In-Reply-To: <20230425155237.357592-1-biju.das.jz@bp.renesas.com>

Add gpu cooling device for passive control.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/r9a07g054.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r9a07g054.dtsi b/arch/arm64/boot/dts/renesas/r9a07g054.dtsi
index 2eba3a8a100d..30f0bd807e35 100644
--- a/arch/arm64/boot/dts/renesas/r9a07g054.dtsi
+++ b/arch/arm64/boot/dts/renesas/r9a07g054.dtsi
@@ -977,6 +977,7 @@ gpu: gpu@11840000 {
 				 <&cpg R9A07G054_GPU_ACE_RESETN>;
 			reset-names = "rst", "axi_rst", "ace_rst";
 			operating-points-v2 = <&gpu_opp_table>;
+			#cooling-cells = <2>;
 		};
 
 		gic: interrupt-controller@11900000 {
@@ -1252,6 +1253,11 @@ map0 {
 					cooling-device = <&cpu0 0 2>;
 					contribution = <1024>;
 				};
+
+				map1 {
+					trip = <&target>;
+					cooling-device = <&gpu 0 2>;
+				};
 			};
 
 			trips {
-- 
2.25.1


  parent reply	other threads:[~2023-04-25 15:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-25 15:52 [PATCH 0/2] Add GPU cooling device support Biju Das
2023-04-25 15:52 ` [PATCH 1/2] arm64: dts: renesas: r9a07g044: Add gpu cooling device Biju Das
2023-05-03 10:28   ` Geert Uytterhoeven
2023-05-04  7:06     ` Biju Das
2023-04-25 15:52 ` Biju Das [this message]
2023-11-01 18:37 ` [PATCH 0/2] Add GPU cooling device support Biju Das

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=20230425155237.357592-3-biju.das.jz@bp.renesas.com \
    --to=biju.das.jz@bp.renesas.com \
    --cc=devicetree@vger.kernel.org \
    --cc=fabrizio.castro.jz@renesas.com \
    --cc=geert+renesas@glider.be \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=robh+dt@kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.