devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "CL Wang" <cl634@andestech.com>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org,
	Frank.Li@kernel.org, dmaengine@vger.kernel.org, robh@kernel.org,
	vkoul@kernel.org
Subject: Re: [PATCH v3 1/3] dt-bindings: dmaengine: Add support for ATCDMAC300 DMA engine
Date: Wed, 27 May 2026 13:49:20 +0000	[thread overview]
Message-ID: <20260527134920.8E9421F00A3D@smtp.kernel.org> (raw)
In-Reply-To: <20260527132815.1211195-2-cl634@andestech.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Incorrect use of 'additionalProperties: false' when referencing a common schema.
--

commit f1fe6e40b9cc08af2c1dbda4fec526d830ad7eb3
Author: CL Wang <cl634@andestech.com>

dt-bindings: dmaengine: Add support for ATCDMAC300 DMA engine

This commit documents the devicetree bindings for the Andes ATCDMAC300 DMA
engine, which is embedded in platforms like AE350 and Qilai.

> diff --git a/Documentation/devicetree/bindings/dma/andestech,ae350-dma.yaml b/Documentation/devicetree/bindings/dma/andestech,ae350-dma.yaml
> new file mode 100644
> index 0000000000000..0f5ffdf1d1609
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/dma/andestech,ae350-dma.yaml

[ ... ]

> +allOf:
> +  - $ref: dma-controller.yaml#
> +

[ ... ]

> +required:
> +  - compatible
> +  - reg
> +  - interrupts
> +  - "#dma-cells"
> +
> +additionalProperties: false

[Severity: Low]
Should this be unevaluatedProperties: false instead?

Since this binding references the common dma-controller.yaml schema via an
allOf block, using additionalProperties: false will cause dt_binding_check
to reject standard DMA properties (like dma-channels or dma-requests)
because they aren't explicitly defined in this file. 

Using unevaluatedProperties: false allows properties defined in referenced
schemas to be properly evaluated and permitted.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260527132815.1211195-1-cl634@andestech.com?part=1

  reply	other threads:[~2026-05-27 13:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-27 13:28 [PATCH v3 0/3] dmaengine: atcdmac300: Add Andes ATCDMAC300 DMA driver CL Wang
2026-05-27 13:28 ` [PATCH v3 1/3] dt-bindings: dmaengine: Add support for ATCDMAC300 DMA engine CL Wang
2026-05-27 13:49   ` sashiko-bot [this message]
2026-05-27 14:58   ` Conor Dooley
2026-05-27 13:28 ` [PATCH v3 2/3] dmaengine: atcdmac300: Add driver for Andes ATCDMAC300 DMA controller CL Wang
2026-05-27 14:30   ` sashiko-bot
2026-05-27 13:28 ` [PATCH v3 3/3] MAINTAINERS: Add entry for Andes ATCDMAC300 CL Wang

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=20260527134920.8E9421F00A3D@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=Frank.Li@kernel.org \
    --cc=cl634@andestech.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmaengine@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=vkoul@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).