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=1796172600; b=5H6DrrWGgncAmLLovZbRv6/ENO6tMdzKwlX2q0xhitguM02PYdaaQXNyf9wtjxsMkwDA 2F0UTrQzeCW04r/tr3a56eWR14uMm/71gyOLW0cjlifnGxo2gpa7lOROtYd9kymnJwicL 2pI3AvoRNjy2nN/UKqpLIB9eWgFbQRPRgrAAiAfLTuoarrzKBEvgPF5CZxxl30c3Tkpdl JzbTP4vhkdVJcKQlJUe7zFx3F9haUsxA+AUlO/IlvGysURxU9OX9N8AtaNlaU051mYQ/f UioX5NBu52pt2imtSRxlIkmYU1pX3ENbfsg27hr5CgRI7/UrHjH90q5D3PMTeDGoHYQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796172600; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=lGqwA+Wd7G36JtNSgB67rgFPJ6gGn3f1nCkh+2Cd9qo=; b=jY1qLZG600UG5sswvqf7UeD0jZBLtFMBBPUm/z/fQykqgojHuFwYjbn6Qvo3GW/Oj1Fp TgXxWQrtsvSLH8pzQSUinmlRgDWOiLIk5PX0Guc7ukOG7DFw/fPUpgJPqC8tv7tWX0579 obCZsHT88cT/EQk8NfgSwisxayBbjq+kJGba/wr3snHqbqhJCdKRpVwLpQ9HOn0Tx1rp9 IfbAQZsS+zQHBqNEuac47hJnYNA9cw7q1L54ygtF6zwZE0KoUVTyraRIZRByzHHUNMA0g RhrXQGpZjlNW9x6cZiTt381qrGcBbmN+oM+DsU7hf9A9+WYcPP7uv/F+45bgTOK5qxw== 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=Dj0n72X6; 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 1C96C606A322; Wed, 2 Dec 2026 00:49:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Dj0n72X6 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7A5771F00893; Wed, 2 Dec 2026 00:49:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796172599; bh=lGqwA+Wd7G36JtNSgB67rgFPJ6gGn3f1nCkh+2Cd9qo=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=Dj0n72X6KKDusbSOF50GYD2LA8u/p2h7HJYST2Z/a8gF+xEd+eDzKWVxxsY6rF12d jSq6h5/dwimkEz4kLYM9cHtuJPw7xhNx4BXLhYBprQMnhpA/RxL8q+0MTKxnc7f1P+ 6O9oxZYFMLb9dlOMXcO65V27IF6z8fC4HqlW8PzMY6YzSOo4ujXj5Su1PwV0nqyvfL hovhbPBmg/NhaTycUDM/04Gpm4OCQZM7T/fm9HWrhYw8Z6hRt7Q2DXMlvaGThwIgZJ YToNDwf4WyjtGhOHItxIGw5t2ikbYxha23CGFLxzt4HybmHB8rrQog/XpcHvfz29eh J70M/oro40Ejw== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v2 1/3] dt-bindings: gpio: Add support for ATCGPIO100 GPIO controller Reply-To: sashiko-reviews@lists.linux.dev To: "CL Wang" Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261202004636.1969718-2-cl634@andestech.com> References: <20261202004636.1969718-1-cl634@andestech.com> <20261202004636.1969718-2-cl634@andestech.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Wed, 02 Dec 2026 00:49:59 +0000 X-Mailing-List: linux-gpio@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: - [Low] dt-bindings: gpio: interrupts listed before clocks in property ordering -- commit 18ac0c9b8d20ee097340021c3d5bd8564a7641fc Author: CL Wang dt-bindings: gpio: Add support for ATCGPIO100 GPIO controller This commit adds the Device Tree binding schema for the Andes ATCGPIO100 GPIO controller used on platforms such as AE350. > diff --git a/Documentation/devicetree/bindings/gpio/andestech,ae350-gpio.= yaml b/Documentation/devicetree/bindings/gpio/andestech,ae350-gpio.yaml > new file mode 100644 > index 0000000000000..f604c7765d1eb > --- /dev/null > +++ b/Documentation/devicetree/bindings/gpio/andestech,ae350-gpio.yaml > @@ -0,0 +1,80 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/gpio/andestech,ae350-gpio.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Andes ATCGPIO100 GPIO controller on AE350 platform > + > +maintainers: > + - CL Wang > + > +properties: > + compatible: > + const: andestech,ae350-gpio > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + interrupt-controller: true > + > + "#interrupt-cells": > + const: 2 > + > + gpio-controller: true > + > + "#gpio-cells": > + const: 2 > + > + gpio-line-names: > + minItems: 1 > + maxItems: 32 > + > + clocks: > + items: > + - description: APB bus clock > + - description: External clock for debounce > + > + clock-names: > + items: > + - const: pclk > + - const: extclk > + > +patternProperties: > + "^.+-hog(-[0-9]+)?$": > + type: object > + required: > + - gpio-hog > + > +required: > + - compatible > + - reg > + - interrupts > + - interrupt-controller > + - "#interrupt-cells" > + - gpio-controller > + - "#gpio-cells" > + - clocks > + - clock-names > + > +additionalProperties: false > + > +examples: > + - | > + #include > + > + gpio@f0700000 { > + compatible =3D "andestech,ae350-gpio"; > + reg =3D <0xf0700000 0x100>; > + interrupts =3D <7 IRQ_TYPE_LEVEL_HIGH>; > + interrupt-parent =3D <&plic>; > + interrupt-controller; > + #interrupt-cells =3D <2>; > + gpio-controller; > + #gpio-cells =3D <2>; > + clocks =3D <&pclk>, <&extclk>; > + clock-names =3D "pclk", "extclk"; > + }; [Severity: Low] In properties, required, and the gpio@f0700000 example node, clocks and clock-names are placed after interrupts. Following the canonical DT binding property ordering, clocks and clock-names should come immediately after reg and before interrupts. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261202004636.1969= 718-1-cl634@andestech.com?part=3D1