Linux clock framework development
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Ayman Chaudhry <ayman.chaudhry.kc@renesas.com>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Magnus Damm <magnus.damm@gmail.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Stephen Boyd <sboyd@kernel.org>,
	Brian Masney <bmasney+clk@redhat.com>,
	Jerome Brunet <jbrunet+clk@baylibre.com>,
	Ulf Hansson <ulfh@kernel.org>
Cc: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org,
	linux-pm@vger.kernel.org,
	Chris Paterson <Chris.Paterson2@renesas.com>,
	Biju Das <biju.das.jz@bp.renesas.com>,
	Fabrizio Castro <fabrizio.castro.jz@renesas.com>,
	Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Subject: Re: [PATCH 08/10] arm64: dts: renesas: Add initial SoC DTSI for RZ/G2M v3.0
Date: Sat, 22 Aug 2026 09:38:51 +0200	[thread overview]
Message-ID: <bb0972e8-852f-48b5-82c3-325962e0f743@kernel.org> (raw)
In-Reply-To: <20260821150408.73829-9-ayman.chaudhry.kc@renesas.com>

On 21/08/2026 17:03, Ayman Chaudhry wrote:
> Add initial Device Tree Source Include (DTSI) file for the Renesas
> RZ/G2M v3.0 (a.k.a. R8A774A3) SoC with basic support.
> 
> Signed-off-by: Ayman Chaudhry <ayman.chaudhry.kc@renesas.com>
> ---
>  arch/arm64/boot/dts/renesas/r8a774a3.dtsi | 302 ++++++++++++++++++++++
>  1 file changed, 302 insertions(+)
>  create mode 100644 arch/arm64/boot/dts/renesas/r8a774a3.dtsi
> 
> diff --git a/arch/arm64/boot/dts/renesas/r8a774a3.dtsi b/arch/arm64/boot/dts/renesas/r8a774a3.dtsi
> new file mode 100644
> index 000000000000..f60a31612b39
> --- /dev/null
> +++ b/arch/arm64/boot/dts/renesas/r8a774a3.dtsi
> @@ -0,0 +1,302 @@
> +// SPDX-License-Identifier: GPL-2.0
> +/*
> + * Device Tree Source for the r8a774a3 SoC
> + *
> + * Copyright (C) 2026 Renesas Electronics Corp.
> + */
> +
> +#include <dt-bindings/interrupt-controller/irq.h>
> +#include <dt-bindings/interrupt-controller/arm-gic.h>
> +#include <dt-bindings/clock/r8a774a3-cpg-mssr.h>
> +#include <dt-bindings/power/r8a774a3-sysc.h>
> +
> +/ {
> +	compatible = "renesas,r8a774a3";
> +	#address-cells = <2>;
> +	#size-cells = <2>;
> +	interrupt-parent = <&gic>;
> +
> +	cluster0_opp: opp-table-0 {
> +		compatible = "operating-points-v2";
> +		opp-shared;
> +
> +		opp-500000000 {
> +			opp-hz = /bits/ 64 <500000000>;
> +			opp-microvolt = <820000>;
> +			clock-latency-ns = <300000>;
> +		};
> +		opp-1000000000 {
> +			opp-hz = /bits/ 64 <1000000000>;
> +			opp-microvolt = <820000>;
> +			clock-latency-ns = <300000>;
> +		};
> +		opp-1500000000 {
> +			opp-hz = /bits/ 64 <1500000000>;
> +			opp-microvolt = <820000>;
> +			clock-latency-ns = <300000>;
> +			opp-suspend;
> +		};
> +	};
> +
> +	cluster1_opp: opp-table-1 {
> +		compatible = "operating-points-v2";
> +		opp-shared;
> +
> +		opp-800000000 {
> +			opp-hz = /bits/ 64 <800000000>;
> +			opp-microvolt = <820000>;
> +			clock-latency-ns = <300000>;
> +		};
> +		opp-1000000000 {
> +			opp-hz = /bits/ 64 <1000000000>;
> +			opp-microvolt = <820000>;
> +			clock-latency-ns = <300000>;
> +		};
> +		opp-1200000000 {
> +			opp-hz = /bits/ 64 <1200000000>;
> +			opp-microvolt = <820000>;
> +			clock-latency-ns = <300000>;
> +		};
> +	};
> +
> +	cpus {
> +		#address-cells = <1>;
> +		#size-cells = <0>;
> +
> +		cpu-map {
> +			cluster0 {
> +				core0 {
> +					cpu = <&a57_0>;
> +				};
> +				core1 {
> +					cpu = <&a57_1>;
> +				};
> +			};
> +
> +			cluster1 {
> +				core0 {
> +					cpu = <&a53_0>;
> +				};
> +				core1 {
> +					cpu = <&a53_1>;
> +				};
> +				core2 {
> +					cpu = <&a53_2>;
> +				};
> +				core3 {
> +					cpu = <&a53_3>;
> +				};
> +			};
> +		};
> +
> +		a57_0: cpu@0 {
> +			compatible = "arm,cortex-a57";
> +			reg = <0x0>;
> +			device_type = "cpu";
> +			power-domains = <&sysc R8A774A3_PD_CA57_CPU0>;
> +			next-level-cache = <&L2_CA57>;
> +			enable-method = "psci";
> +			dynamic-power-coefficient = <854>;
> +			clocks = <&cpg CPG_CORE R8A774A3_CLK_Z>;
> +			operating-points-v2 = <&cluster0_opp>;
> +			capacity-dmips-mhz = <1024>;
> +		};
> +
> +		a57_1: cpu@1 {
> +			compatible = "arm,cortex-a57";
> +			reg = <0x1>;
> +			device_type = "cpu";
> +			power-domains = <&sysc R8A774A3_PD_CA57_CPU1>;
> +			next-level-cache = <&L2_CA57>;
> +			enable-method = "psci";
> +			clocks = <&cpg CPG_CORE R8A774A3_CLK_Z>;
> +			operating-points-v2 = <&cluster0_opp>;
> +			capacity-dmips-mhz = <1024>;
> +		};
> +
> +		a53_0: cpu@100 {
> +			compatible = "arm,cortex-a53";
> +			reg = <0x100>;
> +			device_type = "cpu";
> +			power-domains = <&sysc R8A774A3_PD_CA53_CPU0>;
> +			next-level-cache = <&L2_CA53>;
> +			enable-method = "psci";
> +			dynamic-power-coefficient = <277>;
> +			clocks = <&cpg CPG_CORE R8A774A3_CLK_Z2>;
> +			operating-points-v2 = <&cluster1_opp>;
> +			capacity-dmips-mhz = <560>;
> +		};
> +
> +		a53_1: cpu@101 {
> +			compatible = "arm,cortex-a53";
> +			reg = <0x101>;
> +			device_type = "cpu";
> +			power-domains = <&sysc R8A774A3_PD_CA53_CPU1>;
> +			next-level-cache = <&L2_CA53>;
> +			enable-method = "psci";
> +			clocks = <&cpg CPG_CORE R8A774A3_CLK_Z2>;
> +			operating-points-v2 = <&cluster1_opp>;
> +			capacity-dmips-mhz = <560>;
> +		};
> +
> +		a53_2: cpu@102 {
> +			compatible = "arm,cortex-a53";
> +			reg = <0x102>;
> +			device_type = "cpu";
> +			power-domains = <&sysc R8A774A3_PD_CA53_CPU2>;
> +			next-level-cache = <&L2_CA53>;
> +			enable-method = "psci";
> +			clocks = <&cpg CPG_CORE R8A774A3_CLK_Z2>;
> +			operating-points-v2 = <&cluster1_opp>;
> +			capacity-dmips-mhz = <560>;
> +		};
> +
> +		a53_3: cpu@103 {
> +			compatible = "arm,cortex-a53";
> +			reg = <0x103>;
> +			device_type = "cpu";
> +			power-domains = <&sysc R8A774A3_PD_CA53_CPU3>;
> +			next-level-cache = <&L2_CA53>;
> +			enable-method = "psci";
> +			clocks = <&cpg CPG_CORE R8A774A3_CLK_Z2>;
> +			operating-points-v2 = <&cluster1_opp>;
> +			capacity-dmips-mhz = <560>;
> +		};
> +
> +		L2_CA57: cache-controller-0 {
> +			compatible = "cache";
> +			power-domains = <&sysc R8A774A3_PD_CA57_SCU>;
> +			cache-unified;
> +			cache-level = <2>;
> +		};
> +
> +		L2_CA53: cache-controller-1 {
> +			compatible = "cache";
> +			power-domains = <&sysc R8A774A3_PD_CA53_SCU>;
> +			cache-unified;
> +			cache-level = <2>;
> +		};
> +	};
> +
> +	extal_clk: extal {
> +		compatible = "fixed-clock";
> +		#clock-cells = <0>;
> +		/* This value must be overridden by the board */
> +		clock-frequency = <0>;
> +		bootph-all;
> +	};
> +
> +	extalr_clk: extalr {
> +		compatible = "fixed-clock";
> +		#clock-cells = <0>;
> +		/* This value must be overridden by the board */
> +		clock-frequency = <0>;
> +		bootph-all;
> +	};
> +
> +	pmu_a53 {

Please, do not send us downstream code. It looks awfully like one. It's
long time fixed in all upstream platforms. Also, this causes now warnings.

Best regards,
Krzysztof

  reply	other threads:[~2026-08-22  7:39 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-21 15:03 [PATCH 00/10] Add support for Renesas RZ/G2M v3.0 (a.k.a R8A774A3) SoC Ayman Chaudhry
2026-08-21 15:03 ` [PATCH 01/10] soc: renesas: Identify RZ/G2M v3.0 SoC Ayman Chaudhry
2026-08-21 15:03 ` [PATCH 02/10] dt-bindings: power: Add r8a774a3 SYSC power domain definitions Ayman Chaudhry
2026-08-22  7:29   ` Krzysztof Kozlowski
2026-08-21 15:03 ` [PATCH 03/10] pmdomain: renesas: rcar-sys: Add r8a774a3 support Ayman Chaudhry
2026-08-21 15:03 ` [PATCH 04/10] soc: renesas: Enable SYSC driver for r8a774a3 Ayman Chaudhry
2026-08-21 15:03 ` [PATCH 05/10] soc: renesas: rcar-rst: Add support for RZ/G2M v3.0 Ayman Chaudhry
2026-08-21 15:03 ` [PATCH 06/10] dt-bindings: clock: Add r8a774a3 CPG Core Clock definitions Ayman Chaudhry
2026-08-22  7:31   ` Krzysztof Kozlowski
2026-08-21 15:03 ` [PATCH 07/10] clk: renesas: Add support for RZ/G2M v3.0 Ayman Chaudhry
2026-08-21 15:03 ` [PATCH 08/10] arm64: dts: renesas: Add initial SoC DTSI " Ayman Chaudhry
2026-08-22  7:38   ` Krzysztof Kozlowski [this message]
2026-08-21 15:03 ` [PATCH 09/10] arm64: dts: renesas: Add HiHope RZ/G2M v3.0 SoC main board support Ayman Chaudhry
2026-08-22  7:34   ` Krzysztof Kozlowski
2026-08-21 15:03 ` [PATCH 10/10] arm64: dts: renesas: Add HiHope RZ/G2M v3.0 SoC sub " Ayman Chaudhry

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=bb0972e8-852f-48b5-82c3-325962e0f743@kernel.org \
    --to=krzk@kernel.org \
    --cc=Chris.Paterson2@renesas.com \
    --cc=ayman.chaudhry.kc@renesas.com \
    --cc=biju.das.jz@bp.renesas.com \
    --cc=bmasney+clk@redhat.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=fabrizio.castro.jz@renesas.com \
    --cc=geert+renesas@glider.be \
    --cc=jbrunet+clk@baylibre.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=prabhakar.mahadev-lad.rj@bp.renesas.com \
    --cc=robh@kernel.org \
    --cc=sboyd@kernel.org \
    --cc=ulfh@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox