From: sashiko-bot@kernel.org
To: "CL Wang" <cl634@andestech.com>
Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org,
robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v2 1/3] dt-bindings: gpio: Add support for ATCGPIO100 GPIO controller
Date: Wed, 02 Dec 2026 00:49:59 +0000 [thread overview]
Message-ID: <sashiko-outbox-244539@kernel.org> (raw)
In-Reply-To: <20261202004636.1969718-2-cl634@andestech.com>
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 <cl634@andestech.com>
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 <cl634@andestech.com>
> +
> +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 <dt-bindings/interrupt-controller/irq.h>
> +
> + gpio@f0700000 {
> + compatible = "andestech,ae350-gpio";
> + reg = <0xf0700000 0x100>;
> + interrupts = <7 IRQ_TYPE_LEVEL_HIGH>;
> + interrupt-parent = <&plic>;
> + interrupt-controller;
> + #interrupt-cells = <2>;
> + gpio-controller;
> + #gpio-cells = <2>;
> + clocks = <&pclk>, <&extclk>;
> + clock-names = "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.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261202004636.1969718-1-cl634@andestech.com?part=1
next prev parent reply other threads:[~2026-12-02 0:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 0:46 [PATCH v2 0/3] gpio: Add support for Andes ATCGPIO100 GPIO controller CL Wang
2026-12-02 0:46 ` [PATCH v2 1/3] dt-bindings: gpio: Add support for " CL Wang
2026-12-02 0:49 ` sashiko-bot [this message]
2026-12-02 0:46 ` [PATCH v2 2/3] gpio: atcgpio100: Add ATCGPIO100 GPIO driver CL Wang
2026-12-02 0:46 ` [PATCH v2 3/3] MAINTAINERS: Add entry for Andes ATCGPIO100 GPIO CL Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-244539@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=cl634@andestech.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox