From: sashiko-bot@kernel.org
To: Prabhakar <prabhakar.csengg@gmail.com>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org,
wsa+renesas@sang-engineering.com
Subject: Re: [PATCH v2 4/5] arm64: dts: renesas: r9a09g087: Add DU node
Date: Mon, 15 Jun 2026 12:10:03 +0000 [thread overview]
Message-ID: <20260615121004.231C01F00A3A@smtp.kernel.org> (raw)
In-Reply-To: <20260615115455.1412098-5-prabhakar.mahadev-lad.rj@bp.renesas.com>
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
- [High] Missing the required `resets` property in the `du` node, leading to a driver probe failure.
- [Medium] Missing a fallback compatible string for the `du` node.
- [Low] The device tree compilation fails due to the use of an undeclared macro `R9A09G087_LCDC_CLKD`.
--
commit 60fe4c07204f3af15bb869a850f5f3764a505646
Author: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
arm64: dts: renesas: r9a09g087: Add DU node
This commit adds the Display Unit node to the r9a09g087 device tree.
> diff --git a/arch/arm64/boot/dts/renesas/r9a09g087.dtsi b/arch/arm64/boot/dts/renesas/r9a09g087.dtsi
> index cb2eabe3242e0..21250caf31493 100644
> --- a/arch/arm64/boot/dts/renesas/r9a09g087.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r9a09g087.dtsi
> @@ -1272,6 +1272,30 @@ sdhi1_vqmmc: vqmmc-regulator {
> };
> };
>
> + du: display@920c0000 {
> + compatible = "renesas,r9a09g087-du", "renesas,r9a09g077-du";
[Severity: Medium]
Does this node need a recognized fallback compatible string?
Neither "renesas,r9a09g087-du" nor "renesas,r9a09g077-du" are present in
the display driver's match table, and no existing fallback string
is provided. Without a recognized fallback, the device will fail to match
with the driver entirely, preventing the display unit from probing.
> + reg = <0 0x920c0000 0 0x10000>;
> + interrupts = <GIC_SPI 781 IRQ_TYPE_LEVEL_HIGH>;
[Severity: High]
Does this node need a resets property?
The renesas,rzg2l-du.yaml schema strictly requires the resets property.
Furthermore, the display driver in drivers/gpu/drm/renesas/rz-du/
unconditionally attempts to acquire the reset control via:
devm_reset_control_get_shared(rcdu->dev, NULL)
Because the resets property is absent, this returns -ENOENT, which aborts
the driver probe and renders the display subsystem unusable.
> + clocks = <&cpg CPG_CORE R9A09G087_CLK_PCLKAH>,
> + <&cpg CPG_MOD 1204>,
> + <&cpg CPG_CORE R9A09G087_LCDC_CLKD>;
[Severity: Low]
Is the R9A09G087_LCDC_CLKD macro defined in the dt-bindings headers?
This macro is used as a clock specifier but does not appear to be defined
in the repository, causing the preprocessor to output the macro name as a
literal string. This results in a syntax error from dtc which expects a
phandle or integer.
> + clock-names = "aclk", "pclk", "vclk";
[ ... ]
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260615115455.1412098-1-prabhakar.mahadev-lad.rj@bp.renesas.com?part=4
next prev parent reply other threads:[~2026-06-15 12:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-15 11:54 [PATCH v2 0/5] Add DU, VSPD and FCPVD support for RZ/T2H and RZ/N2H SoCs Prabhakar
2026-06-15 11:54 ` [PATCH v2 1/5] arm64: dts: renesas: r9a09g077: Add VSPD and FCPVD nodes Prabhakar
2026-06-15 12:14 ` sashiko-bot
2026-06-15 11:54 ` [PATCH v2 2/5] arm64: dts: renesas: r9a09g077: Add DU node Prabhakar
2026-06-15 12:16 ` sashiko-bot
2026-06-15 11:54 ` [PATCH v2 3/5] arm64: dts: renesas: r9a09g087: Add VSPD and FCPVD nodes Prabhakar
2026-06-15 14:09 ` sashiko-bot
2026-06-15 11:54 ` [PATCH v2 4/5] arm64: dts: renesas: r9a09g087: Add DU node Prabhakar
2026-06-15 12:10 ` sashiko-bot [this message]
2026-06-15 11:54 ` [PATCH v2 5/5] arm64: dts: renesas: Add LCDC overlays for RZ/T2H and RZ/N2H EVKs with ADV7513 Prabhakar
2026-06-15 12:02 ` sashiko-bot
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=20260615121004.231C01F00A3A@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=prabhakar.csengg@gmail.com \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=wsa+renesas@sang-engineering.com \
/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