From: sashiko-bot@kernel.org
To: "Bhargav Joshi" <j.bhargav.u@gmail.com>
Cc: conor+dt@kernel.org, neil.armstrong@linaro.org,
linux-phy@lists.infradead.org, dmaengine@vger.kernel.org,
devicetree@vger.kernel.org, vkoul@kernel.org, robh@kernel.org,
olteanv@gmail.com, Frank.Li@kernel.org
Subject: Re: [PATCH 1/7] dt-bindings: dma: ti,cppi41: Convert to DT schema
Date: Mon, 17 Aug 2026 21:58:29 +0000 [thread overview]
Message-ID: <20260817215829.AB4321F00A3A@smtp.kernel.org> (raw)
In-Reply-To: <20260818-ti-am33-usb-v1-1-69ac5f92df45@gmail.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] The newly added deprecated properties `#dma-channels` and `#dma-requests` lack a type reference, which will cause `dt_binding_check` to fail.
- [Medium] The `interrupts` property is strictly required by the hardware and driver but is missing from the global or variant-specific `required` lists, while `interrupt-names` is required without `interrupts`.
--
--- Patch [1]: [PATCH 1/7] dt-bindings: dma: ti,cppi41: Convert to DT schema ---
commit 9d239577372b14253a6bd9fcf116eef3c7b58ad3
Author: Bhargav Joshi <j.bhargav.u@gmail.com>
dt-bindings: dma: ti,cppi41: Convert to DT schema
Convert TI CPPI 4.1 DMA controller text bindings to DT schema. Add
ti,am3359-cppi41 and ti,da830-cppi41 into single schema since they share
the same hardware IP block and driver. Add undocumented dma-requests
and power-domains properties to match existing DTS usage.
> diff --git a/Documentation/devicetree/bindings/dma/ti/ti,cppi41.yaml b/Documentation/devicetree/bindings/dma/ti/ti,cppi41.yaml
> new file mode 100644
> index 0000000000000..110cf62c66d20
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/dma/ti/ti,cppi41.yaml
> @@ -0,0 +1,108 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/dma/ti/ti,cppi41.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
[ ... ]
> + power-domains:
> + maxItems: 1
> +
> + "#dma-channels":
> + description: Deprecated, use dma-channels instead.
> + deprecated: true
> +
> + "#dma-requests":
> + description: Deprecated, use dma-requests instead.
> + deprecated: true
[Severity: Medium]
Do these deprecated properties need an explicit type reference, such as
$ref: /schemas/types.yaml#/definitions/uint32? Without a type reference,
will dt_binding_check fail with a missing type definition error for these
custom properties?
> +
> +required:
> + - compatible
> + - reg
> + - reg-names
> + - "#dma-cells"
> + - dma-channels
[Severity: Medium]
Should interrupts be included in this top-level required list? Since the
hardware and driver unconditionally fail probing without it, omitting
interrupts here might allow incomplete device trees to silently pass schema
validation.
> +
> +allOf:
> + - $ref: /schemas/dma/dma-controller.yaml#
> + - if:
> + properties:
> + compatible:
> + contains:
> + const: ti,am3359-cppi41
> + then:
> + properties:
> + reg:
> + minItems: 4
> + reg-names:
> + items:
> + - const: glue
> + - const: controller
> + - const: scheduler
> + - const: queuemgr
> + power-domains: false
> + required:
> + - interrupt-names
> + - dma-requests
[Severity: Medium]
Does requiring interrupt-names here also imply that interrupts should be
required? It seems logically inconsistent to mandate the names but not the
interrupts property itself.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260818-ti-am33-usb-v1-0-69ac5f92df45@gmail.com?part=1
next prev parent reply other threads:[~2026-08-17 21:58 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-17 21:46 [PATCH 0/7] dt-bindings: usb: ti: Convert AM33xx/DA8xx MUSB bindings to DT schema Bhargav Joshi
2026-08-17 21:46 ` [PATCH 1/7] dt-bindings: dma: ti,cppi41: Convert " Bhargav Joshi
2026-08-17 21:58 ` sashiko-bot [this message]
2026-08-17 23:25 ` Bhargav Joshi
2026-08-17 21:46 ` [PATCH 2/7] dt-bindings: phy: ti,am335x-usb-phy: " Bhargav Joshi
2026-08-17 21:46 ` [PATCH 3/7] ARM: dts: ti: am335x: Fix redundant interrupts property in USB nodes Bhargav Joshi
2026-08-17 21:46 ` [PATCH 4/7] dt-bindings: usb: ti,musb-am33xx: Convert to DT schema Bhargav Joshi
2026-08-17 21:58 ` sashiko-bot
2026-08-17 23:24 ` Bhargav Joshi
2026-08-17 21:46 ` [PATCH 5/7] dt-bindings: usb: ti,am335x-usb-ctrl-module: " Bhargav Joshi
2026-08-17 21:46 ` [PATCH 6/7] dt-bindings: usb: ti,am33xx-usb: " Bhargav Joshi
2026-08-17 21:54 ` sashiko-bot
2026-08-17 23:23 ` Bhargav Joshi
2026-08-17 21:46 ` [PATCH 7/7] dt-bindings: usb: ti,da830-musb: " Bhargav Joshi
2026-08-17 22:01 ` 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=20260817215829.AB4321F00A3A@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=Frank.Li@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmaengine@vger.kernel.org \
--cc=j.bhargav.u@gmail.com \
--cc=linux-phy@lists.infradead.org \
--cc=neil.armstrong@linaro.org \
--cc=olteanv@gmail.com \
--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