From: sashiko-bot@kernel.org
To: "GUO Ren (XuanTie)" <guoren@kernel.org>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 2/3] dt-bindings: interrupt-controller: Add csky,c900-aclint-sswi compatible
Date: Sun, 29 Nov 2026 03:36:49 +0000 [thread overview]
Message-ID: <sashiko-outbox-239300@kernel.org> (raw)
In-Reply-To: <20261129-sswi-v1-2-003d9b8b9588@kernel.org>
Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Medium] dt-bindings: interrupt-controller: csky,c900-aclint-sswi
lacks SoC compatible
- [Low] dt-bindings: interrupt-controller: missing rationale for csky
prefix change
--
commit a2dfb82469c639b2df7e139b363104634c20abd7
Author: GUO Ren (XuanTie) <guoren@kernel.org>
> dt-bindings: interrupt-controller: Add csky,c900-aclint-sswi compatible
>
> Add the "csky,c900-aclint-sswi" compatible for the XuanTie C9XX SSWI
> device. The "thead,c900-aclint-sswi" compatible is deprecated.
>
> Signed-off-by: GUO Ren (XuanTie) <guoren@kernel.org>
[Severity: Low]
Could the commit message explain why thead,c900-aclint-sswi is being
deprecated in favor of the csky vendor prefix? All other XuanTie C900 and
C9XX RISC-V bindings in the tree (such as thead,c900-aclint-mswi,
thead,c900-aclint-mtimer, thead,c900-clint, and thead,c900-plic) use the
thead prefix, while csky has historically been used for 32-bit C-SKY
architecture IP blocks.
> diff --git a/Documentation/devicetree/bindings/interrupt-controller/thead,c900-aclint-sswi.yaml b/Documentation/devicetree/bindings/interrupt-controller/thead,c900-aclint-sswi.yaml
> index 0b34ed5b4639d..edaf3af499120 100644
> --- a/Documentation/devicetree/bindings/interrupt-controller/thead,c900-aclint-sswi.yaml
> +++ b/Documentation/devicetree/bindings/interrupt-controller/thead,c900-aclint-sswi.yaml
> @@ -18,13 +18,15 @@ description:
>
> Following variants of the SSWI ACLINT supported, using dedicated
> compatible string
> - - THEAD C900
> + - THEAD C900 (deprecated)
> - MIPS P8700
> + - C-SKY C900
>
> properties:
> compatible:
> oneOf:
> - enum:
> + - csky,c900-aclint-sswi
> - mips,p8700-aclint-sswi
> - spacemit,k3-aclint-sswi
> - items:
[Severity: Medium]
Should csky,c900-aclint-sswi be a fallback constant behind a SoC-specific
compatible rather than a standalone entry in enum?
XuanTie C900/C9XX is a licensable CPU IP family integrated into vendor
SoCs, and both this binding (for sophgo,sg2044-aclint-sswi with
thead,c900-aclint-sswi) and the sibling thead,c900-aclint-mswi and
thead,c900-aclint-mtimer bindings require a SoC-specific compatible ahead
of the generic C900 fallback:
Documentation/devicetree/bindings/interrupt-controller/thead,c900-aclint-sswi.yaml:
- items:
- enum:
- sophgo,sg2044-aclint-sswi
- const: thead,c900-aclint-sswi
Putting csky,c900-aclint-sswi in the single-item enum allows bare generic
compatible strings without a SoC-specific identifier and rejects nodes that
pair a SoC compatible such as sophgo,sg2044-aclint-sswi with
csky,c900-aclint-sswi.
In addition, thead,c900-aclint-sswi is only marked deprecated in the
description text; its schema entry lacks deprecated: true and the first
example still uses thead,c900-aclint-sswi.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261129-sswi-v1-0-003d9b8b9588@kernel.org?part=2
next prev parent reply other threads:[~2026-11-29 3:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-29 3:25 [PATCH 0/3] irqchip/aclint-sswi: XuanTie C9XX generic probe and csky compatible GUO Ren (XuanTie)
2026-11-29 3:25 ` [PATCH 1/3] irqchip/aclint-sswi: Use generic probe for the XuanTie C9XX variant GUO Ren (XuanTie)
2026-11-29 3:25 ` [PATCH 2/3] dt-bindings: interrupt-controller: Add csky,c900-aclint-sswi compatible GUO Ren (XuanTie)
2026-11-29 3:36 ` sashiko-bot [this message]
2026-11-29 3:25 ` [PATCH 3/3] irqchip/aclint-sswi: Add csky,c900-aclint-sswi support GUO Ren (XuanTie)
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=sashiko-outbox-239300@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=guoren@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox