From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: "Liang, Kan" <kan.liang@linux.intel.com>,
Adrian Hunter <adrian.hunter@intel.com>,
Alexander Shishkin <alexander.shishkin@linux.intel.com>,
Arnaldo Carvalho de Melo <acme@kernel.org>,
Catalin Marinas <catalin.marinas@arm.com>,
Conor Dooley <conor+dt@kernel.org>,
Douglas Anderson <dianders@chromium.org>,
Ian Rogers <irogers@google.com>, Ingo Molnar <mingo@redhat.com>,
James Clark <james.clark@linaro.org>,
Jiri Olsa <jolsa@kernel.org>,
John Garry <john.g.garry@oracle.com>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Leo Yan <leo.yan@linux.dev>,
Lorenzo Pieralisi <lpieralisi@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Mike Leach <mike.leach@linaro.org>,
Namhyung Kim <namhyung@kernel.org>,
Oliver Upton <oliver.upton@linux.dev>,
Peter Zijlstra <peterz@infradead.org>,
Rob Herring <robh@kernel.org>,
Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>,
Will Deacon <will@kernel.org>,
devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-perf-users@vger.kernel.org,
linux-renesas-soc@vger.kernel.org, Marc Zyngier <maz@kernel.org>
Subject: Re: [PATCH v4 4/5] arm64: dts: renesas: Add R8A78000 X5H DTs
Date: Wed, 17 Sep 2025 17:13:55 +0200 [thread overview]
Message-ID: <CAMuHMdUaoBP1ZtJqc7rfqLXGETXpVYNcFfJf5xFBFSHG9mSB8Q@mail.gmail.com> (raw)
In-Reply-To: <877bxxabmr.wl-kuninori.morimoto.gx@renesas.com>
Hi Morimoto-san,
On Wed, 17 Sept 2025 at 07:31, Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com> wrote:
> From: Hai Pham <hai.pham.ud@renesas.com>
>
> Add initial DT support for R8A78000 (R-Car X5H) SoC.
>
> [Kuninori: tidyup for upstreaming]
>
> Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
> Signed-off-by: Vinh Nguyen <vinh.nguyen.xz@renesas.com>
> Signed-off-by: Minh Le <minh.le.aj@renesas.com>
> Signed-off-by: Huy Bui <huy.bui.wm@renesas.com>
> Signed-off-by: Khanh Le <khanh.le.xr@renesas.com>
> Signed-off-by: Phong Hoang <phong.hoang.wz@renesas.com>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thanks for the update!
> index 0000000000000..6445f05de0563
> --- /dev/null
> +++ b/arch/arm64/boot/dts/renesas/r8a78000.dtsi
> @@ -0,0 +1,755 @@
> +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +/*
> + * Device Tree Source for the R-Car X5H (R8A78000) SoC
> + *
> + * Copyright (C) 2025 Renesas Electronics Corp.
> + */
> +
> +#include <dt-bindings/interrupt-controller/arm-gic.h>
> +
> +/ {
> + compatible = "renesas,r8a78000";
> + #address-cells = <2>;
> + #size-cells = <2>;
> +
> + cpus {
> + a720_0: cpu@0 {
> + compatible = "arm,cortex-a720ae";
> + reg = <0x0 0x0>;
> + device_type = "cpu";
> + next-level-cache = <&L2_CA720_0>;
> +
> + L2_CA720_0: cache-controller {
As reported before, the cache nodes should be outside the CPU nodes.
"make dtbs_check" would have reminded you:
arch/arm64/boot/dts/renesas/r8a78000-ironhide.dtb: cpu@0
(arm,cortex-a720ae): Unevaluated properties are not allowed
('cache-controller' was unexpected)
from schema $id: http://devicetree.org/schemas/arm/cpus.yaml#
> + compatible = "cache";
> + cache-level = <2>;
Missing "cache-unified".
"make dtbs_check":
arm64/boot/dts/renesas/r8a78000-ironhide.dtb: cache-controller
(cache): 'cache-unified' is a required property
from schema $id: http://devicetree.org/schemas/cache.yaml#
> + next-level-cache = <&L3_CA720_0>;
> + };
> + };
> + soc: soc {
> + compatible = "simple-bus";
> + interrupt-parent = <&gic>;
Marc asked to move interrupt-parent to the top, i.e. one level up...
> + #address-cells = <2>;
> + #size-cells = <2>;
> + ranges;
> +
> + timer {
... and please keep the timer node outside the soc node.
"make dtbs_check":
arch/arm64/boot/dts/renesas/r8a78000-ironhide.dtb: soc
(simple-bus): timer: 'ranges' is a required property
from schema $id: http://devicetree.org/schemas/simple-bus.yaml#
> + compatible = "arm,armv8-timer";
> + interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
> + <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
> + <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
> + <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>,
> + <GIC_PPI 12 IRQ_TYPE_LEVEL_LOW>;
> + interrupt-names = "sec-phys", "phys", "virt", "hyp-phys", "hyp-virt";
> + };
> + scif0: serial@c0700000 {
> + compatible = "renesas,scif-r8a78000", "renesas,scif";
Missing "renesas,rcar-gen5-scif".
"make dtbs_check":
arch/arm64/boot/dts/renesas/r8a78000-ironhide.dtb: serial@c0700000
(renesas,scif-r8a78000): compatible: 'oneOf' conditional failed, one
must be fixed:
...
['renesas,scif-r8a78000', 'renesas,scif'] is too short
...
'renesas,rcar-gen5-scif' was expected
...
from schema $id:
http://devicetree.org/schemas/serial/renesas,scif.yaml#
> + reg = <0 0xc0700000 0 0x40>;
> + interrupts = <GIC_SPI 4074 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&dummy_clk_sgasyncd16>, <&dummy_clk_sgasyncd16>, <&scif_clk>;
> + clock-names = "fck", "brg_int", "scif_clk";
> + status = "disabled";
> + };
> + hscif0: serial@c0710000 {
> + compatible = "renesas,hscif-r8a78000", "renesas,hscif";
Missing "renesas,rcar-gen5-hscif".
"make dtbs_check":
arch/arm64/boot/dts/renesas/r8a78000-ironhide.dtb: serial@c0710000
(renesas,hscif-r8a78000): compatible: 'oneOf' conditional failed, one
must be fixed:
['renesas,hscif-r8a78000', 'renesas,hscif'] is too short
...
'renesas,rcar-gen5-hscif' was expected
from schema $id:
http://devicetree.org/schemas/serial/renesas,hscif.yaml#
> + reg = <0 0xc0710000 0 0x60>;
> + interrupts = <GIC_SPI 4078 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&dummy_clk_sgasyncd4>, <&dummy_clk_sgasyncd4>, <&scif_clk>;
> + clock-names = "fck", "brg_int", "scif_clk";
> + status = "disabled";
> + };
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
next prev parent reply other threads:[~2025-09-17 15:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-17 5:29 [PATCH v4 0/5] arm64: add R8A78000 support Kuninori Morimoto
2025-09-17 5:30 ` [PATCH v4 1/5] arm64: cputype: Add Cortex-A725AE definitions Kuninori Morimoto
2025-09-17 5:30 ` Kuninori Morimoto
2025-09-17 11:59 ` Will Deacon
2025-09-18 4:54 ` Kuninori Morimoto
2025-09-17 5:30 ` [PATCH v4 2/5] arm64: errata: Expand speculative SSBS workaround for Cortex-A725AE Kuninori Morimoto
2025-09-17 5:31 ` [PATCH v4 3/5] tools: arm64: Add Cortex-A725AE definitions Kuninori Morimoto
2025-09-17 5:31 ` [PATCH v4 4/5] arm64: dts: renesas: Add R8A78000 X5H DTs Kuninori Morimoto
2025-09-17 15:13 ` Geert Uytterhoeven [this message]
2025-09-17 5:31 ` [PATCH v4 5/5] arm64: dts: renesas: R8A78000: Add initial Ironhide support Kuninori Morimoto
2025-09-17 14:58 ` Geert Uytterhoeven
2025-09-18 0:39 ` [PATCH v4 0/5] arm64: add R8A78000 support Rob Herring (Arm)
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=CAMuHMdUaoBP1ZtJqc7rfqLXGETXpVYNcFfJf5xFBFSHG9mSB8Q@mail.gmail.com \
--to=geert@linux-m68k.org \
--cc=acme@kernel.org \
--cc=adrian.hunter@intel.com \
--cc=alexander.shishkin@linux.intel.com \
--cc=catalin.marinas@arm.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dianders@chromium.org \
--cc=irogers@google.com \
--cc=james.clark@linaro.org \
--cc=john.g.garry@oracle.com \
--cc=jolsa@kernel.org \
--cc=kan.liang@linux.intel.com \
--cc=krzk+dt@kernel.org \
--cc=kuninori.morimoto.gx@renesas.com \
--cc=leo.yan@linux.dev \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=lpieralisi@kernel.org \
--cc=mark.rutland@arm.com \
--cc=maz@kernel.org \
--cc=mike.leach@linaro.org \
--cc=mingo@redhat.com \
--cc=namhyung@kernel.org \
--cc=oliver.upton@linux.dev \
--cc=peterz@infradead.org \
--cc=robh@kernel.org \
--cc=shameerali.kolothum.thodi@huawei.com \
--cc=will@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;
as well as URLs for NNTP newsgroup(s).