[PATCH 2/3] dt-bindings: interrupt-controller: Add csky,c900-aclint-sswi compatible

Guo Ren guoren at kernel.org
Sun Nov 29 17:26:37 PST 2026


On Sun, Nov 29, 2026 at 12:03 PM Inochi Amaoto <inochiama at 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 at 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 at 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



More information about the linux-riscv mailing list