From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795923410; b=zBjQlyiBAZhLw9wSCnGX8dTa4f4GHIN+1VBlKBxN+N1incrURS0a2h4yC3Dzn1mpaa9G LM782vInlI8oMczABjbQHbLA5Lu9g5q/F6RkDxsjUfi4sxs+M+5KCUELIh+OINTn/ZAtW ul4ufXx/FOGMxjb7SbhCyseyRk1xvX9dhC2d1fWxoAeos/gE8GqLikYNASjWwT82Tebnm OnCjVYrCvhbI0AvGMqwRHfEBJN14uCjkK5R+A+HfyGitwWQR/FuvmXoROffwop0Gor4tW kw1mF2vt2Wl8j8M+y6KEnlQY9xWwp751ElZ6QATq+See4g7n38uwYj4oMc0Av7Q5r7A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795923410; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=6+HQ1YwZcy3GpVNsMdZ9NB521ZTN6x/IaCPrBJkKjq0=; b=OmA8myLhyOPISFr6q6rl28NsdpKe8k5XoQMHHyLOj7CqblFlJRR1EVsGqxGLunQ/cLah W/hHGGT1ID4kAsjmW4Gwht7CZAFOz+V7KP/rn/W0LE51xTUsJmxoIlkQJY3murnTjfegy k/4l9BXcS89aBH7H73K6M5OSqId00MY4pdEa/HaSAp9D0+PTTTb6Z4Kry2U75aL5gcIBw kp5C0mCsdGHJsS/ev9SO47YoAoRUhoM70t6MkNJwCC+fCg/voH7gZG9T8i3ZJxx/eCIEy eOGcrjcszoNYRzlgaB82+68fXevplA831dUV/BI95hi/bjdngAeEzLJyXFpKv24mVRg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="e8WEH9t/"; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 875A6606A31C for ; Sun, 29 Nov 2026 03:36:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=e8WEH9t/ Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0D7EF1F000C1; Sun, 29 Nov 2026 03:36:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795923410; bh=6+HQ1YwZcy3GpVNsMdZ9NB521ZTN6x/IaCPrBJkKjq0=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=e8WEH9t/uS7RbNYRZRHPUYv7hZbTfyna29DOEyqEpow/WL9hfSGIT/FUqmPsyo42e dr3Vg8OA6VJ4HoMOOo57aeDLLcpfh6CuFgAy+3uq2HyAMDv7Jp3c9Smya5bxwqnb0f qNas1lGqcUfQfxhkFvdwDksS0XWo3fBNDKuI8/jA5ZSSV8ftc4qaFraCSQ8o9zXzqx MEr03x8eIzUBt+RxOHDu7e4nPxhcmenDZajV0JPoyN5ygzd5agJ5hdn3bO+vkEtNgM VISBUS7zIsWzWLmXqulhCiUG8R5uucWh2Q3Pu/rDlZTcj5/o3d+dWuoKAU5Yo8m0YQ w3MxxfVEOW43Q== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH 2/3] dt-bindings: interrupt-controller: Add csky,c900-aclint-sswi compatible Reply-To: sashiko-reviews@lists.linux.dev To: =?utf-8?b?R1VPIFJlbiAoWHVhblRpZSk=?= Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261129-sswi-v1-2-003d9b8b9588@kernel.org> References: <20261129-sswi-v1-0-003d9b8b9588@kernel.org> <20261129-sswi-v1-2-003d9b8b9588@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sun, 29 Nov 2026 03:36:49 +0000 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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) > 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) [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-contro= ller/thead,c900-aclint-sswi.yaml > index 0b34ed5b4639d..edaf3af499120 100644 > --- a/Documentation/devicetree/bindings/interrupt-controller/thead,c900-a= clint-sswi.yaml > +++ b/Documentation/devicetree/bindings/interrupt-controller/thead,c900-a= clint-sswi.yaml > @@ -18,13 +18,15 @@ description: > =20 > Following variants of the SSWI ACLINT supported, using dedicated > compatible string > - - THEAD C900 > + - THEAD C900 (deprecated) > - MIPS P8700 > + - C-SKY C900 > =20 > 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-ss= wi.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. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261129-sswi-v1-0-= 003d9b8b9588@kernel.org?part=3D2