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=1796397812; b=vHHOcDEL79bYz4/eRjMWtIERtzfRE7srmQpd439i5vQZf1PWcJ87hKVWZFFzuxAh0AO+ M9TxiXs6Gyi1CCA5qOxtMYla/xGoNs4/ZK9CzmwJYSqtErAR9ajIM9HjvetHRgkH2oRQl EzaLEUCQzeQasVs3LTqh4ljqprZAZZp58E/5cpBuO+mHLPIz6DLKf1K0q+gapLmr5AN69 JX6ZyGeiwfDUDsPLTNMEqX81/dHgbjaKuJSD3tVh6N3t6ReEn1iiPBnuhAJnFCm7ryitA SzHCnPZ4Pe1CMb3wimRmEF42sHwQ2G2gRId+Fkeq/ZOz3ME818P1pwfVRuDCaKTFljg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796397812; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=AWCwhmnXwbBRMbF079HHegeDkqu2rLFlBoyHr2Tm/As=; b=1t8G1eU4DvEuZUwq+TJ7FnPoHPLoXdtEsrhY8ng8fIGdaxPvNt+ZrICgjxIDDEhHVPQr tx1wnMmB1UyFryomVag8NNev676oxQDQoxiN528hVEddMiq7WCcZh4t/ApPZnnx52sdd/ sVSPe7a7RtWTkCNfd7w+ZRJ/xg+k3ajfpCPh/Pdw4QZPlaZLn03CkHefYBmvShj412Q5f PKNh7Q2inwucq8d2ic0nwCADcqjiQJNPr2ND3tQsKXQ0RuBzz65nLCnUQtaTEGsiasl/O OOvHE6uWiKC2G2kmreAhdRg8kiTwBignwCtVzZXQ10uNfDP7LnpX/dCqUnzABnrjdyQ== 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=UTSbVZKq; 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 4094D606A32C; Fri, 4 Dec 2026 15:23:31 +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=UTSbVZKq Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4CE5C1F000C2; Fri, 4 Dec 2026 15:23:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796397811; bh=AWCwhmnXwbBRMbF079HHegeDkqu2rLFlBoyHr2Tm/As=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=UTSbVZKqweHMSybRViZWTWamF6jJCikne9XQ19/OF4fy98sMhoJaN/kPeC3yCR88p ZiPyNP3yHRggUsir6j1FO9QnywQlqNSfky9JA7cGAb8kXwxZfs5P+xALN+BV4AcQwb LNgNrvhehOlBhLXJGiu3mqMMVJYxzvPgzexI/lZF9gqLEzodiNybu57U3q5iCBLOoT gALukdVne8V2okDHZWBmX2ZtKakUBOkWccFJ3Jt8yTAsxl+xa0jkr1k+vK6HoEEHjE aCNRY4QH3DGbyOymkKQpCbNB+mD31xJeLwW0ryaI6aL9g+qZnfbFDanVocQaytkru4 RWIuhQGqd2u3Q== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [RFC PATCH 3/6] dt-bindings: mfd: brcm,twd: Add BCM47622 Reply-To: sashiko-reviews@lists.linux.dev To: "Wadim Mueller" Cc: devicetree@vger.kernel.org, mfd@lists.linux.dev, robh@kernel.org, conor+dt@kernel.org, lee@kernel.org In-Reply-To: <20261204151052.393800-4-wafgo01@gmail.com> References: <20261204151052.393800-1-wafgo01@gmail.com> <20261204151052.393800-4-wafgo01@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 15:23:30 +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: - [Low] dt-bindings: mfd: brcm,twd: commit message contradicts standalone compatible - [Low] dt-bindings: mfd: brcm,twd: brcm,bcm47622-twd inserted unsorted in enum -- commit c6a8d54ad1a00a2d6a174f151db3e7c5dc167252 Author: Wadim Mueller dt-bindings: mfd: brcm,twd: Add BCM47622 This commit adds the brcm,bcm47622-twd compatible string to the Broadcom Timer-Watchdog (TWD) devicetree binding. > BCM47622 has the same timer/watchdog block as BCM4908. [Severity: Low] Should brcm,bcm47622-twd use brcm,bcm4908-twd as a fallback compatible, or does the commit message need to explain why they are not compatible? Per Documentation/devicetree/bindings/writing-bindings.rst, identical hardware blocks should list the earlier SoC as a fallback compatible (which syscon-common.yaml allows with up to 5 items), while incompatible blocks should explain the differences in the commit message. In commit "ARM: dts: broadcom: bcm47622: Add TWD, reboot, MDIO and SYSTEMPORT0", BCM47622 defines a 0x100-byte TWD block with watchdog at 0x80 and reboot at 0x8c, whereas arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi uses a 0x4c-byte block with watchdog at 0x28 and reboot at 0x34. If the register layouts differ, updating the commit message to note those differences would justify the standalone compatible; otherwise, adding a oneOf entry with brcm,bcm4908-twd as a fallback would match the binding guidelines. > diff --git a/Documentation/devicetree/bindings/mfd/brcm,twd.yaml b/Docume= ntation/devicetree/bindings/mfd/brcm,twd.yaml > index e5136a37b0a38..217f621fabaae 100644 > --- a/Documentation/devicetree/bindings/mfd/brcm,twd.yaml > +++ b/Documentation/devicetree/bindings/mfd/brcm,twd.yaml > @@ -20,6 +20,7 @@ properties: > items: > - enum: > - brcm,bcm4908-twd > + - brcm,bcm47622-twd > - brcm,bcm7038-twd > - const: simple-mfd > - const: syscon [Severity: Low] Can brcm,bcm47622-twd be placed in sorted order? Right now it sits between brcm,bcm4908-twd and brcm,bcm7038-twd, which is neither alphabetical nor numerical; if kept in this enum, placing it before brcm,bcm4908-twd would keep the list alphabetically sorted. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204151052.3938= 00-1-wafgo01@gmail.com?part=3D3