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=1796420490; b=d8B5q9/4RBIgJM+bHEhSklfjLZJ6chlKdCbKd/qMKv2zQ/VBHHn0cj6Mx+JwtU2Unb13 gxDglelWW9m9c6j66TcaiXwUS9BaGCw/dyEie/bY8d5SiIqqh0k/GrhItAx7ffGRHcdF8 ThJs/wOxFqv9khmBSC1s/RsHUuR8WrIYu3wa5S95ZgSjK5RlufBySnaBKi5ZuEWNOGJlj NWfWWl2GkGmE21WVBBNbgK8D+FCPn/8lllZ5MCREGqKbWKj7onDYD5kyoC93j0U8MhY0i 4niQetCNNYDTh2tFNrUzHmhkXXsXuHJdfTa2P7llpSXCGXURy8WGxLLUJOBSR3Jib2Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796420490; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=V56N5fPyKqb1DPqf/uAl4hppKz8QbKgxx0wQXZNhHSE=; b=psGreRMr3ol8Ae//bkELXez4HnQc494Jwxym8jyqzfMNjDmtCh1sDxxd0V5zPGp7uJJT DzmfnZq1pRu+WvJd5dKBqPKWThcmpTezptZ0vaAJt/rDJ2P0Bo1E06U1MhQr0tXO/MvtP AbNxVUwrrmzpsxZjOBAFnmj37QCNbG2yFkQ9KJhLgWY1xJH2JW4bfD8sKNDNDypPmmAOh WBLg2a6zmS7mFp5u0N7PyONycR3Qa2uZQQE+QBuoGsJHWWbSFAeFqrpFcXmELaUPaG9Dw G39Kk6ouR5FsL8MlLt754KZ8amapLAKo5tKTRdJkQZQtFfibwo/UWzl8cY4rpaLACoA== 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=IkTcOYyN; 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 E19FD606A32C; Fri, 4 Dec 2026 21:41:29 +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=IkTcOYyN Received: by smtp.kernel.org (Postfix) with ESMTPSA id 860CD1F00936; Fri, 4 Dec 2026 21:41:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796420489; bh=V56N5fPyKqb1DPqf/uAl4hppKz8QbKgxx0wQXZNhHSE=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=IkTcOYyNmtoXxFWxVJHiGm6Od/hSlTfjdE86Ha+JOjqU/5+krC9rjAcOmarHdjvJO K6vAc8PSlB+ZskZSZsy/hEnfozJFFIXId1Ca+9v/bNBWDjRyneznNaNoPgfpjAo4O4 lS1DWTdJR06bYM7IzlLmQzQuhvNcV9oBSoSEI22rjw/4sKfpzkRBKFeXbXbh6Iw/PC he4UYWiEG9n6WnLaxyxbEaxTttNApkukUYcs5/B4jcxdt/NwcmZQ4vxSN/U8nwI1OS MfnRihlRwE3XtYSC6889r40Kf4gH1gqs5UXyNFwdv9mU9VRyyOGWIc+UlhjwnXh0ZO wD0uuS6HPaYwQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH] dt-bindings: mfd: atmel,at91sam9260-smc: Convert to DT schema Reply-To: sashiko-reviews@lists.linux.dev To: "Shaunak Datar" Cc: devicetree@vger.kernel.org, mfd@lists.linux.dev, robh@kernel.org, conor+dt@kernel.org, lee@kernel.org In-Reply-To: <20261204213115.366227-1-shaunakkdatar@gmail.com> References: <20261204213115.366227-1-shaunakkdatar@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 21:41:29 +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: list clocks before interrupts in at91sam9260-smc schema - [Low] dt-bindings: mfd: require HSMC properties for sama5d2/sama5d3 SMC variants -- commit d92963d3fbeffd353c3324e4b88214ffe84f51da Author: Shaunak Datar dt-bindings: mfd: atmel,at91sam9260-smc: Convert to DT schema This patch converts the legacy Atmel SMC text binding to DT schema YAML and documents the HSMC properties and child node used on SAMA5 SoCs. > diff --git a/Documentation/devicetree/bindings/mfd/atmel,at91sam9260-smc.= yaml b/Documentation/devicetree/bindings/mfd/atmel,at91sam9260-smc.yaml > new file mode 100644 > index 0000000000000..1c439b7081e03 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mfd/atmel,at91sam9260-smc.yaml > @@ -0,0 +1,105 @@ [ ... ] > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + clocks: > + maxItems: 1 [Severity: Low] Should clocks be listed before interrupts here, in the allOf block, and in the smc@ffffc000 example? DT binding schemas and DTS examples follow the canonical order of compatible, reg, clocks, interrupts. [ ... ] > +allOf: > + - if: > + properties: > + compatible: > + contains: > + const: atmel,at91sam9260-smc > + then: > + properties: > + interrupts: false > + clocks: false > + "#address-cells": false > + "#size-cells": false > + ranges: false > + patternProperties: > + "^ecc-engine@[0-9a-f]+$": false [Severity: Low] Should this allOf conditional include an else branch requiring clocks, interrupts, #address-cells, #size-cells, and ranges for the SAMA5 variants? Without it, atmel,sama5d2-smc and atmel,sama5d3-smc nodes missing these properties still pass dtbs_check, even though they require simple-mfd and atmel_hsmc_nand_controller_init() fails probe with -ENXIO if the interrupt is absent. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204213115.3662= 27-1-shaunakkdatar@gmail.com?part=3D1