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=1796490652; b=wa47PDXvibLdilope9vEdwuiFxq7FtfWUK0yjaunvonSlXsiUF0uoOzkBoAQKwhqayc1 MFdU0bQgJnU9FFOXiK+SFG1w0ryMYMwr16Pp5N1mNf5NbaNHdPb+a2e2JTPyWCBUe5z0R huYoj1fEfZS3BlgeqXGiYosezIuqwT2BHXYFPlfe6znex4AgtHn+NPZBLITztyIGOSc6b 62jsXVSMcGUM7ggVHvOWeMIzZNCN33LKiT0B7K1krMreoJGmZ0dCkvJSryLqT8DebhwV5 C2lOkgFSBb+c9u9/JQBD+41vPe4QYjN+Vp0wtJJUz21iMclGshZnMHstZJLszunKT8A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796490652; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=xZvSL5F/fts9zL4etwWE5TNv2LgeGlvr5KRfPcnI0Go=; b=SSV5LdzD+wSRmbedBrp5Cd+2ValEJBJfFv21xJ2jxZm67k/swhmNEDFODQBsVINk0MTe GxZl2XhxnOajqVxcMDZnG1NfbmoV23jfeuncyXU0hbtG1ZFR1is8sPLNH55inM5VJGboU WkKeAKt28wDfHjk0TLGEI4eoOfmmAwcPIB+DzRXrMYtH9+omYepBuA4ob/8t3hJ9w0u4L C9Gbj3oOsE+r8bl8tnux8h5doeQwHjDWRSCfKCbXHwXpUSf/2oFi05AwHKNSdOQ8DMXxD dQ+aKY2v6shl23IKdAkEg2+CGWfeRbwLerqk7dIRAlENtzI9J67m/kEsD1+bV+K88tA== 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=UGFFWPHl; 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 BFCB7606A31F; Sat, 5 Dec 2026 17:10:52 +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=UGFFWPHl Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2F1B21F00936; Sat, 5 Dec 2026 17:10:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796490652; bh=xZvSL5F/fts9zL4etwWE5TNv2LgeGlvr5KRfPcnI0Go=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=UGFFWPHlpzCSIt4aj5Zs4+aCJR+0Izbi2Axdvc+U1fD2Vj1EzWlEw86u7jzdtuHbM o715lWEPksMVrQlrUQhak2u0wrTVQVAZEfoSP4oJM1K4OmvguE8ev7xUPRFaIJTcku 0r0PP3tXED+hJ5xg8hLSTFUmoCGD0XhpGW5j0eLvsy/Q0ceic0K7enA+STpgA8l+05 nGLtK5N/4lNeGioFdJnoR5BbCtBSatnr43AazCtS1SV+1IvjOSbRiPbkDj1mbmNUB9 l3gbIYWEbr1VHv5x6mI321g6pSBxKqLtzPePapQvtvIFN0jIAwX0wNgnkdMmogH4no 7K+p/sKvympJQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH 1/2] dt-bindings: serial: renesas,rsci: Document RZ/T2N support Reply-To: sashiko-reviews@lists.linux.dev To: "Biju Das" Cc: linux-serial@vger.kernel.org, devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org, wsa+renesas@sang-engineering.com In-Reply-To: <20261205-t2n_serial_bindings-v1-1-7d98125dce02@bp.renesas.com> References: <20261205-t2n_serial_bindings-v1-0-7d98125dce02@bp.renesas.com> <20261205-t2n_serial_bindings-v1-1-7d98125dce02@bp.renesas.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sat, 05 Dec 2026 17:10:51 +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 1 potential issue to consider: - [Medium] dt-bindings: serial: RZ/T2N compatible rationale contradicts RZ/T2H schema -- commit 6726688cff01b759b63a07dc6671eeb693fb433f Author: Biju Das dt-bindings: serial: renesas,rsci: Document RZ/T2N support This commit adds the renesas,r9a07g076-rsci compatible string for the Renesas RZ/T2N SoC to the RSCI serial binding and applies the existing RZ/T2H property constraints to it. > diff --git a/Documentation/devicetree/bindings/serial/renesas,rsci.yaml b= /Documentation/devicetree/bindings/serial/renesas,rsci.yaml > index 85ebb3056066f..4fc9a7b0a9e89 100644 > --- a/Documentation/devicetree/bindings/serial/renesas,rsci.yaml > +++ b/Documentation/devicetree/bindings/serial/renesas,rsci.yaml > @@ -14,6 +14,7 @@ properties: > compatible: > oneOf: > - enum: > + - renesas,r9a07g076-rsci # RZ/T2N > - renesas,r9a08g046-rsci # RZ/G3L > - renesas,r9a09g047-rsci # RZ/G3E > - renesas,r9a09g077-rsci # RZ/T2H > @@ -102,7 +103,9 @@ allOf: > properties: > compatible: > contains: > - const: renesas,r9a09g077-rsci > + enum: > + - renesas,r9a07g076-rsci > + - renesas,r9a09g077-rsci > then: > properties: > interrupts: [Severity: Medium] Should renesas,r9a07g076-rsci declare renesas,r9a09g077-rsci as a fallback compatible like renesas,r9a09g087-rsci (RZ/N2H), or are RZ/T2N's clock differences missing from the schema? The commit message justifies a standalone compatible by claiming SCK on RZ/T2N is fed by a CPG mux rather than a fixed bus clock as on RZ/T2H. In fact, RZ/T2H already defines operation, bus, and optional external sck, with r9a09g077-cpg.c driving sci0fck from CLK_SCI0ASYNC and bus from PCLKM. Meanwhile, this allOf block applies the exact same interrupts, clocks, clock-names, and resets constraints to RZ/T2N as to RZ/T2H. The follow-up commit "serial: sh-sci: Add support for RZ/T2N RSCI" also binds renesas,r9a07g076-rsci directly to of_rsci_rzt2h_data with no clock changes. Because Devicetree bindings define a permanent ABI, omitting a fallback breaks compatibility with existing RZ/T2H drivers if only the upstream CPG mux differs. If RZ/T2N instead has distinct RSCI clock inputs or IP differences, the schema should constrain them and the changelog explain why. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261205-t2n_serial= _bindings-v1-0-7d98125dce02@bp.renesas.com?part=3D1