Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "John Crispin" <john@phrozen.org>
Cc: devicetree@vger.kernel.org, mfd@lists.linux.dev, robh@kernel.org,
	conor+dt@kernel.org, lee@kernel.org
Subject: Re: [PATCH v2 1/3] dt-bindings: mfd: airoha: add #pwm-cells to AN7589 gpio-sysctl
Date: Fri, 04 Dec 2026 19:45:10 +0000	[thread overview]
Message-ID: <sashiko-outbox-250562@kernel.org> (raw)
In-Reply-To: <20261204193857.3801624-2-john@phrozen.org>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] dt-bindings: mfd: airoha: #pwm-cells placed after pinctrl child
  node
--

commit f1b243d911de5965e31542d858a6b32f5d703bda
Author: John Crispin <john@phrozen.org>

dt-bindings: mfd: airoha: add #pwm-cells to AN7589 gpio-sysctl

This commit adds the #pwm-cells property to the Airoha AN7589 GPIO system
controller binding and updates its description and example to reflect that
it acts as the PWM provider.

> diff --git a/Documentation/devicetree/bindings/mfd/airoha,an7589-gpio-sysctl.yaml b/Documentation/devicetree/bindings/mfd/airoha,an7589-gpio-sysctl.yaml
> index 0785b61bdda3e..476f7241bb1b7 100644
> --- a/Documentation/devicetree/bindings/mfd/airoha,an7589-gpio-sysctl.yaml
> +++ b/Documentation/devicetree/bindings/mfd/airoha,an7589-gpio-sysctl.yaml

[ ... ]

> @@ -29,6 +29,9 @@ properties:
>      description:
>        Child node definition for AN7589 Pin controller
>
> +  "#pwm-cells":
> +    const: 3
> +
>  required:
>    - compatible
>    - reg

[Severity: Low]
Should "#pwm-cells" be placed before the pinctrl child node definition in
properties, immediately after reg?

Documentation/devicetree/bindings/writing-schema.rst and
dts-coding-style.rst place standard properties before child nodes, which
also matches the order used in the example below.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261204193857.3801624-1-john@phrozen.org?part=1

  reply	other threads:[~2026-12-04 19:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04 19:38 [PATCH v2 0/3] pwm: airoha: add AN7589 support John Crispin
2026-12-04 19:38 ` [PATCH v2 1/3] dt-bindings: mfd: airoha: add #pwm-cells to AN7589 gpio-sysctl John Crispin
2026-12-04 19:45   ` sashiko-bot [this message]
2026-12-04 19:38 ` [PATCH v2 2/3] mfd: add Airoha GPIO system controller driver John Crispin
2026-12-04 19:50   ` sashiko-bot
2026-12-04 19:38 ` [PATCH v2 3/3] pwm: airoha: add support for AN7589 John Crispin

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-250562@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=john@phrozen.org \
    --cc=lee@kernel.org \
    --cc=mfd@lists.linux.dev \
    --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