All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: sashiko-reviews@lists.linux.dev
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH] dt-bindings: arm: coresight: Allow funnel clocks
Date: Wed, 23 Sep 2026 13:15:33 -0500	[thread overview]
Message-ID: <20260923181533.GM27237-robh@kernel.org> (raw)
In-Reply-To: <20260923160520.GI27237-robh@kernel.org>

On Wed, Sep 23, 2026 at 11:05:20AM -0500, Rob Herring wrote:
> On Mon, Sep 21, 2026 at 11:37:43PM +0000, sashiko-bot@kernel.org wrote:
> > Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
> > - [Low] dt-bindings: clock-names schema forbids valid single 'atclk' config
> > --
> > 
> > commit 50eea7a4ef1f09b2ff4cd2b8b69396c108a1c74e
> > Author: Rob Herring (Arm) <robh@kernel.org>
> > 
> > dt-bindings: arm: coresight: Allow funnel clocks
> > 
> > This commit modifies the arm,coresight-static-funnel schema to allow
> > one or two clocks, adding support for the apb_pclk and atclk properties.
> > 
> > > diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-static-funnel.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-static-funnel.yaml
> > > --- a/Documentation/devicetree/bindings/arm/arm,coresight-static-funnel.yaml
> > > +++ b/Documentation/devicetree/bindings/arm/arm,coresight-static-funnel.yaml
> > > @@ -30,6 +30,16 @@ properties:
> > >    power-domains:
> > >      maxItems: 1
> > >  
> > > +  clocks:
> > > +    minItems: 1
> > > +    maxItems: 2
> > > +
> > > +  clock-names:
> > > +    minItems: 1
> > > +    items:
> > > +      - const: apb_pclk
> > > +      - const: atclk
> > 
> > [Severity: Low]
> > Does this positional item list unintentionally forbid valid single-clock
> > configurations where only atclk is present?
> > 
> > By specifying items as a rigid positional list, the dt-schema validation
> > strictly enforces that if only one clock is provided, its name must exactly
> > match apb_pclk.
> 
> Or name should be omitted... 'minItems: 1' on clock-names can be dropped 
> when applying.

Actually, this matches all the other coresight bindings. So it should be 
kept as-is.

Rob

  reply	other threads:[~2026-09-23 18:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-21 23:28 [PATCH] dt-bindings: arm: coresight: Allow funnel clocks Rob Herring (Arm)
2026-09-21 23:37 ` sashiko-bot
2026-09-23 16:05   ` Rob Herring
2026-09-23 18:15     ` Rob Herring [this message]
2026-09-30 20:41 ` Rob Herring (Arm)
2026-10-01 10:04 ` Leo Yan
2026-10-01 12:04   ` Rob Herring
2026-10-01 13:41     ` Leo Yan

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=20260923181533.GM27237-robh@kernel.org \
    --to=robh@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.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.