All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Charan Pedumuru" <charan.pedumuru@gmail.com>
Cc: conor+dt@kernel.org, robh@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v3] dt-bindings: pwm: st,pwm: convert to DT schema
Date: Thu, 25 Jun 2026 10:57:08 +0000	[thread overview]
Message-ID: <20260625105708.F2C181F00A3D@smtp.kernel.org> (raw)
In-Reply-To: <20260625-st-pwm-v3-1-ace9bff88529@gmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The example device tree node uses an outdated compatible string ('st,pwm') that violates the schema's own constraints ('st,sti-pwm'), causing dt_binding_check to fail.
--

commit d33b98ff54df0af652aa50944ad631d378f78938
Author: Charan Pedumuru <charan.pedumuru@gmail.com>

dt-bindings: pwm: st,pwm: convert to DT schema

This commit converts the STMicroelectronics STiH41x PWM/Capture controller
binding to DT schema. It changes the compatible string to "st,sti-pwm"
to match the hardware variant naming convention and removes pinctrl-names
from the required properties list.

> diff --git a/Documentation/devicetree/bindings/pwm/st,sti-pwm.yaml b/Documentation/devicetree/bindings/pwm/st,sti-pwm.yaml
> new file mode 100644
> index 0000000000000..c69073e79ce97
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/pwm/st,sti-pwm.yaml

[ ... ]

> +examples:
> +  - |
> +    #include <dt-bindings/interrupt-controller/arm-gic.h>
> +    pwm@fe510000 {
> +        compatible = "st,pwm";

[Severity: Low]
Does this compatible string match the new schema?

The schema constraints above define the compatible property as "st,sti-pwm",
but the example node here still uses "st,pwm". Will this regression cause
the dt_binding_check validation to fail?

> +        reg = <0xfe510000 0x68>;
> +        interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>;
> +        #pwm-cells = <2>;

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260625-st-pwm-v3-1-ace9bff88529@gmail.com?part=1

      reply	other threads:[~2026-06-25 10:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-25 10:46 [PATCH v3] dt-bindings: pwm: st,pwm: convert to DT schema Charan Pedumuru
2026-06-25 10:57 ` sashiko-bot [this message]

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=20260625105708.F2C181F00A3D@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=charan.pedumuru@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.