Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Xuyang Dong" <dongxuyang@eswincomputing.com>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v10 1/3] dt-bindings: pwm: dwc: Document optional resets property
Date: Fri, 03 Jul 2026 09:43:13 +0000	[thread overview]
Message-ID: <20260703094313.8EF191F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260703093351.540-1-dongxuyang@eswincomputing.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Missing matching updates for related bindings in the same IP family.
--

commit 05dd50c982c598b86944765d91f297a8c37b303e
Author: Xuyang Dong <dongxuyang@eswincomputing.com>

dt-bindings: pwm: dwc: Document optional resets property

This commit updates the DesignWare PWM binding to document two active-low
reset inputs: presetn and timer_N_resetn. It adds the resets property with
two items to describe the function of each reset line.

> diff --git a/Documentation/devicetree/bindings/pwm/snps,dw-apb-timers-pwm2.yaml b/Documentation/devicetree/bindings/pwm/snps,dw-apb-timers-pwm2.yaml
> --- a/Documentation/devicetree/bindings/pwm/snps,dw-apb-timers-pwm2.yaml
> +++ b/Documentation/devicetree/bindings/pwm/snps,dw-apb-timers-pwm2.yaml
> @@ -43,6 +43,11 @@ properties:
>        - const: bus
>        - const: timer
>  
> +  resets:
> +    items:
> +      - description: Interface bus (presetn) reset
> +      - description: PWM timer logic (timer_N_resetn) reset
> +

[Severity: Medium]
The subsystem guidelines note that when a binding has multiple YAML files for
different device types in the same family, related files may need matching
updates. Since the DesignWare APB timer IP is described by both this PWM
binding and the timer binding, does the timer binding also need an update?

Currently, the timer binding restricts the resets property to a single item:

Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml:properties:resets
  resets:
    maxItems: 1

Defining both hardware resets for the snps,dw-apb-timer compatible will
cause dt_binding_check to fail due to this inconsistency.

>    snps,pwm-number:
>      $ref: /schemas/types.yaml#/definitions/uint32
>      description: The number of PWM channels configured for this instance

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260703093308.482-1-dongxuyang@eswincomputing.com?part=1

  reply	other threads:[~2026-07-03  9:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-03  9:33 [PATCH v10 0/3] Update designware pwm driver dongxuyang
2026-07-03  9:33 ` [PATCH v10 1/3] dt-bindings: pwm: dwc: Document optional resets property Xuyang Dong
2026-07-03  9:43   ` sashiko-bot [this message]
2026-07-03  9:34 ` [PATCH v10 2/3] dt-bindings: pwm: dwc: Add eswin compatible Xuyang Dong
2026-07-03  9:34 ` [PATCH v10 3/3] pwm: dwc: add of/platform support dongxuyang
2026-07-03  9:47   ` sashiko-bot

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=20260703094313.8EF191F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dongxuyang@eswincomputing.com \
    --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