Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Zi-Yu Chen" <zychennvt@gmail.com>
Cc: robh@kernel.org, devicetree@vger.kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v5 3/3] arm64: dts: nuvoton: Add I2C nodes for MA35D1 SoC
Date: Tue, 30 Jun 2026 01:26:45 +0000	[thread overview]
Message-ID: <20260630012645.E27121F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260630012106.3616821-4-zychennvt@gmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The devicetree node for the NAU8822 audio codec uses a model-specific name rather than a generic functional name.
--

commit 4b9e8074772f80384175f231ae4886c8f9599142
Author: Zi-Yu Chen <zychennvt@gmail.com>

arm64: dts: nuvoton: Add I2C nodes for MA35D1 SoC

Add I2C controller nodes to the MA35D1 SoC dtsi file. Also, enable the I2C2
interface on the MA35D1 SOM board and configure its pinctrl to allow
communication with the onboard NAU8822 audio codec.

> diff --git a/arch/arm64/boot/dts/nuvoton/ma35d1-som-256m.dts b/arch/arm64/boot/dts/nuvoton/ma35d1-som-256m.dts
> index f6f20a17e5018..4b9ff6d006314 100644
> --- a/arch/arm64/boot/dts/nuvoton/ma35d1-som-256m.dts
> +++ b/arch/arm64/boot/dts/nuvoton/ma35d1-som-256m.dts
> @@ -55,6 +55,18 @@ &clk {
>  			   "integer";
>  };
>  
> +&i2c2 {
> +	status = "okay";
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&pinctrl_i2c2>;
> +
> +	nau8822: nau8822@1a {

[Severity: Low]
This isn't a bug, but should this devicetree node use a generic functional name
like audio-codec@1a instead of the model-specific nau8822@1a?

The Devicetree Specification (Section 2.2.2 Generic Names Recommendation)
requires node names to describe the general class of device, and using specific
names can lead to dt-schema validation warnings.

> +		compatible = "nuvoton,nau8822";
> +		reg = <0x1a> ;
> +		nuvoton,spk-btl;
> +	};
> +};
> +

[ ... ]

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260630012106.3616821-1-zychennvt@gmail.com?part=3

      reply	other threads:[~2026-06-30  1:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-30  1:21 [PATCH v5 0/3] i2c: ma35d1: Add support for MA35D1 I2C controller Zi-Yu Chen
2026-06-30  1:21 ` [PATCH v5 1/3] dt-bindings: i2c: nuvoton,ma35d1-i2c: Add " Zi-Yu Chen
2026-06-30  1:21 ` [PATCH v5 2/3] i2c: ma35d1: Add Nuvoton MA35D1 I2C driver support Zi-Yu Chen
2026-06-30  1:35   ` sashiko-bot
2026-06-30  1:21 ` [PATCH v5 3/3] arm64: dts: nuvoton: Add I2C nodes for MA35D1 SoC Zi-Yu Chen
2026-06-30  1:26   ` 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=20260630012645.E27121F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=zychennvt@gmail.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