Devicetree
 help / color / mirror / Atom feed
From: Inochi Amaoto <inochiama@gmail.com>
To: Guo Ren <guoren@kernel.org>, Inochi Amaoto <inochiama@gmail.com>
Cc: Thomas Gleixner <tglx@kernel.org>, Radu Rendec <radu@rendec.net>,
	 Paul Walmsley <pjw@kernel.org>,
	Palmer Dabbelt <palmer@dabbelt.com>,
	 Albert Ou <aou@eecs.berkeley.edu>,
	Alexandre Ghiti <alex@ghiti.fr>, Rob Herring <robh@kernel.org>,
	 Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	 Inochi Amaoto <inochiama@outlook.com>,
	Samuel Holland <samuel.holland@sifive.com>,
	 Vladimir Kondratiev <vladimir.kondratiev@mobileye.com>,
	Chen Wang <chen.wang@linux.dev>,
	linux-riscv@lists.infradead.org,  linux-kernel@vger.kernel.org,
	devicetree@vger.kernel.org, linux-csky@vger.kernel.org
Subject: Re: [PATCH 2/3] dt-bindings: interrupt-controller: Add csky,c900-aclint-sswi compatible
Date: Mon, 30 Nov 2026 12:49:02 +0800	[thread overview]
Message-ID: <awz_5OWxt6tiblE7@inochi.infowork> (raw)
In-Reply-To: <CAJF2gTQLnAkxB5nGn+69ZqqphCVgnRdofa99agonKWdkVs6nRw@mail.gmail.com>

On Mon, Nov 30, 2026 at 09:26:37AM +0800, Guo Ren wrote:
> On Sun, Nov 29, 2026 at 12:03 PM Inochi Amaoto <inochiama@gmail.com> wrote:
> >
> > On Sun, Nov 29, 2026 at 03:25:21AM +0000, GUO Ren (XuanTie) wrote:
> > > 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>
> > > ---
> > >  .../bindings/interrupt-controller/thead,c900-aclint-sswi.yaml         | 4 +++-
> > >  1 file changed, 3 insertions(+), 1 deletion(-)
> > >
> > > 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 0b34ed5b4639..edaf3af49912 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:
> > >
> > > --
> > > 2.43.0
> > >
> >
> > Hi Guo,
> >
> > Since T-HEAD C900 is marked as deprecated, is it better to also mark the
> > compatible thead,c900-aclint-sswi as deprecated.
> Yes, I would put below in the next version:
> 
> --- a/Documentation/devicetree/bindings/interrupt-controller/thead,c900-aclint-sswi.yaml
> +++ b/Documentation/devicetree/bindings/interrupt-controller/thead,c900-aclint-sswi.yaml
> @@ -18,8 +18,9 @@ description:
> 
>    Following variants of the SSWI ACLINT supported, using dedicated
>    compatible string
> -  - THEAD C900
> +  - THEAD C900 (deprecated)
>    - MIPS P8700
> +  - C-SKY C900
> 
>  properties:
>    compatible:
> @@ -27,10 +28,15 @@ properties:
>        - enum:
>            - mips,p8700-aclint-sswi
>            - spacemit,k3-aclint-sswi
> +      - items:
> +          - enum:
> +              - sophgo,sg2044-aclint-sswi
> +          - const: csky,c900-aclint-sswi
>        - items:
>            - enum:
>                - sophgo,sg2044-aclint-sswi
>            - const: thead,c900-aclint-sswi
> +        deprecated: true
>        - items:
>            - enum:
>                - anlogic,dr1v90-aclint-sswi
> @@ -82,7 +88,7 @@ examples:
>    - |
>      //Example 1
>      interrupt-controller@94000000 {
> -      compatible = "sophgo,sg2044-aclint-sswi", "thead,c900-aclint-sswi";
> +      compatible = "sophgo,sg2044-aclint-sswi", "csky,c900-aclint-sswi";
>        reg = <0x94000000 0x00004000>;
>        #interrupt-cells = <0>;
>        interrupt-controller;
> 
> -- 
> Best Regards
>  Guo Ren

That's good for me. Just a reminder: please put the devicetree change
as a separated patch.

For these two separated patch in the next version:

Reviewed-by: Inochi Amaoto <inochiama@gmail.com>

Regards,
Inochi

  reply	other threads:[~2026-11-30  4:49 UTC|newest]

Thread overview: 11+ 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  4:04   ` Inochi Amaoto
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
2026-11-29  4:03   ` Inochi Amaoto
2026-11-30  1:26     ` Guo Ren
2026-11-30  4:49       ` Inochi Amaoto [this message]
2026-11-30  6:25   ` Drew Fustini
2026-11-29  3:25 ` [PATCH 3/3] irqchip/aclint-sswi: Add csky,c900-aclint-sswi support GUO Ren (XuanTie)
2026-11-29  4:05   ` Inochi Amaoto

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=awz_5OWxt6tiblE7@inochi.infowork \
    --to=inochiama@gmail.com \
    --cc=alex@ghiti.fr \
    --cc=aou@eecs.berkeley.edu \
    --cc=chen.wang@linux.dev \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=guoren@kernel.org \
    --cc=inochiama@outlook.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-csky@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=palmer@dabbelt.com \
    --cc=pjw@kernel.org \
    --cc=radu@rendec.net \
    --cc=robh@kernel.org \
    --cc=samuel.holland@sifive.com \
    --cc=tglx@kernel.org \
    --cc=vladimir.kondratiev@mobileye.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