Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "John Madieu" <john.madieu.xa@bp.renesas.com>
Cc: wsa+renesas@sang-engineering.com, conor+dt@kernel.org,
	devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH v4 8/8] arm64: dts: renesas: r9a09g047e57-smarc: add DA7212 audio codec support
Date: Mon, 25 May 2026 12:49:18 +0000	[thread overview]
Message-ID: <20260525124919.42DD21F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260525110603.4018170-9-john.madieu.xa@bp.renesas.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Unnecessary and schema-violating `#address-cells` and `#size-cells` properties in the `da7212: codec@1a` node.
--

commit 81d96eea4cdb9cf3abc2275fa638509b017cf64e
Author: John Madieu <john.madieu.xa@bp.renesas.com>

arm64: dts: renesas: r9a09g047e57-smarc: add DA7212 audio codec support

This commit enables audio support on the RZ/G3E SMARC2 EVK boards by
adding device tree nodes for the DA7212 audio codec. The codec is
connected via I2C1 and uses SSI3/SSI4 for sound input and output.

> diff --git a/arch/arm64/boot/dts/renesas/r9a09g047e57-smarc.dts b/arch/arm64/boot/dts/renesas/r9a09g047e57-smarc.dts
> index 6372f582a7c41..7defd342294ad 100644
> --- a/arch/arm64/boot/dts/renesas/r9a09g047e57-smarc.dts
> +++ b/arch/arm64/boot/dts/renesas/r9a09g047e57-smarc.dts

[ ... ]

> @@ -99,6 +146,37 @@ &i2c0 {
>  	pinctrl-names = "default";
>  };
>  
> +&i2c1 {
> +	da7212: codec@1a {
> +		compatible = "dlg,da7212";
> +		#sound-dai-cells = <0>;
> +		#address-cells = <1>;
> +		#size-cells = <0>;

[Severity: Low]
Are these cell size properties necessary here? Since the child port node
does not have a unit address or a reg property, this triggers an
avoid_unnecessary_addr_size dtc warning.

Additionally, does this cause a dtbs_check validation failure? The binding
schema for this device does not define #address-cells or #size-cells and
sets unevaluatedProperties: false.

> +		reg = <0x1a>;
> +
> +		clocks = <&versa3 1>;

[ ... ]

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260525110603.4018170-1-john.madieu.xa@bp.renesas.com?part=8

      reply	other threads:[~2026-05-25 12:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-25 11:05 [PATCH v4 0/8] arm64: dts: renesas: Add RZ/G3E audio enablement John Madieu
2026-05-25 11:05 ` [PATCH v4 1/8] dt-bindings: clock: renesas: Add audio clock inputs for RZ/V2H family John Madieu
2026-05-25 11:19   ` sashiko-bot
2026-05-25 16:56     ` Conor Dooley
2026-05-25 11:05 ` [PATCH v4 2/8] clk: renesas: r9a09g047: Add audio clock and reset support John Madieu
2026-05-25 11:05 ` [PATCH v4 3/8] arm64: dts: renesas: rzv2h: Add audio clock inputs John Madieu
2026-05-25 11:41   ` sashiko-bot
2026-05-25 11:05 ` [PATCH v4 4/8] arm64: dts: renesas: r9a09g047: Add RZ/G3E Sound support John Madieu
2026-05-25 11:06 ` [PATCH v4 5/8] arm64: dts: renesas: rzg3e-smarc-som: Add Versa3 clock generator John Madieu
2026-05-25 11:06 ` [PATCH v4 6/8] arm64: dts: renesas: rzg3e-smarc-som: Add I2C1 support John Madieu
2026-05-25 11:06 ` [PATCH v4 7/8] arm64: dts: renesas: rzg3e-smarc-som: add audio pinmux definitions John Madieu
2026-05-25 12:28   ` sashiko-bot
2026-05-25 11:06 ` [PATCH v4 8/8] arm64: dts: renesas: r9a09g047e57-smarc: add DA7212 audio codec support John Madieu
2026-05-25 12:49   ` sashiko-bot [this message]

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=20260525124919.42DD21F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=john.madieu.xa@bp.renesas.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