All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Neo Chang" <YLCHANG2@nuvoton.com>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v2 1/2] ASoC: dt-bindings: nuvoton,nau8360: Add NAU83G60
Date: Mon, 18 May 2026 02:53:22 +0000	[thread overview]
Message-ID: <20260518025322.AECFEC2BCB0@smtp.kernel.org> (raw)
In-Reply-To: <20260518024704.118613-2-YLCHANG2@nuvoton.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Property name typo: schema defines `firmware-names` but example uses standard `firmware-name`.
--

commit 79af2c3efbc97d2f61f76b26b50c0f08ac0264e4
Author: Neo Chang <YLCHANG2@nuvoton.com>

ASoC: dt-bindings: nuvoton,nau8360: Add NAU83G60

This commit adds device tree bindings documentation for the Nuvoton NAU83G60
audio amplifier.

> diff --git a/Documentation/devicetree/bindings/sound/nuvoton,nau8360.yaml b/Documentation/devicetree/bindings/sound/nuvoton,nau8360.yaml
> new file mode 100644
> index 0000000000000..756b3e9c43215
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/sound/nuvoton,nau8360.yaml
[ ... ]
> +  firmware-names:
> +    minItems: 2
> +    maxItems: 2
> +    description:
> +      Assign firmware filenames for left and right DSP cores.
[ ... ]
> +        codec@1a {
> +            #sound-dai-cells = <0>;
> +            compatible = "nuvoton,nau8360";
> +            reg = <0x1a>;
> +            nuvoton,dsp-bypass;
> +            nuvoton,pbtl-enable;
> +            nuvoton,dac-cur-enable;
> +            firmware-name = "NAU83G60.kcs.bin.l" , "NAU83G60.kcs.bin.r";

Will this pass the dt_binding_check validation?

The schema defines firmware-names in the properties block, but the example
uses firmware-name.

Since unevaluatedProperties is set to false, this mismatch will cause a
validation error when checking the example, or silently pass validation on
actual device trees without enforcing the minItems and maxItems constraints.

> +        };
> +    };

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260518024704.118613-1-YLCHANG2@nuvoton.com?part=1

  reply	other threads:[~2026-05-18  2:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-18  2:47 [PATCH v2 0/2] ASoC: codecs: Add Nuvoton NAU83G60 audio codec driver Neo Chang
2026-05-18  2:47 ` [PATCH v2 1/2] ASoC: dt-bindings: nuvoton,nau8360: Add NAU83G60 Neo Chang
2026-05-18  2:53   ` sashiko-bot [this message]
2026-05-18  4:36   ` Rob Herring (Arm)
2026-05-18 12:02   ` Krzysztof Kozlowski
2026-05-20  3:22     ` YLCHANG2
2026-05-18  2:47 ` [PATCH v2 2/2] ASoC: codecs: nau8360: Add support for NAU83G60 amplifier Neo Chang
2026-05-18  3:23   ` sashiko-bot
2026-05-18 11:35   ` Mark Brown
2026-05-20  3:22     ` YLCHANG2
     [not found]     ` <ddacfe50-072d-66fd-c760-c898bdab52f4@gmail.com>
2026-05-21 15:35       ` Mark Brown
2026-05-22  2:18         ` YLCHANG2

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=20260518025322.AECFEC2BCB0@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=YLCHANG2@nuvoton.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.