[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z/Yl2cvTEhM7y9Dz@dev-linux>
Date: Wed, 9 Apr 2025 00:46:33 -0700
From: Sukrut Bellary <sbellary@...libre.com>
To: Krzysztof Kozlowski <krzk@...nel.org>
Cc: Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Tero Kristo <kristo@...nel.org>,
Kevin Hilman <khilman@...libre.com>,
Andreas Kemnade <andreas@...nade.info>, linux-clk@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/4] dt-bindings: clock: ti: Convert to yaml
On Fri, Apr 04, 2025 at 12:44:39PM +0200, Krzysztof Kozlowski wrote:
> On Thu, Apr 03, 2025 at 06:44:57PM GMT, Sukrut Bellary wrote:
> > +properties:
> > + reg:
> > + maxItems: 1
>
> How reg is part of this? Every clock has reg, doesn't it? Otherwise how
> do you control it? Drop.
Thanks for the review.
I will drop.
> > +
> > + ti,autoidle-shift:
> > + $ref: /schemas/types.yaml#/definitions/uint32
> > + description:
> > + bit shift of the autoidle enable bit for the clock
> > + maximum: 31
> > + default: 0
> > +
> > + ti,invert-autoidle-bit:
> > + type: boolean
> > + description:
> > + autoidle is enabled by setting the bit to 0
>
> required:
> - ti,autoidle-shift
> - ti,invert-autoidle-bit - although this makes no sense, so probably
> old binding was not correct here
Yes, all clocks don't support autoidle. So, required is not applicable
here.
> > +
> > +additionalProperties: true
> > +
> > +examples:
> > + - |
> > + bus {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > +
> > + clock@1b4 {
> > + reg = <0x01b4>;
> > + ti,autoidle-shift = <8>;
> > + ti,invert-autoidle-bit;
> > + };
>
> Drop example, pointless here - noop due to lack of compatible. Instead
> provide complete examples in schemas referencing this.
Ok, will remove from here.
> > + };
> > --
> > 2.34.1
> >
Powered by blists - more mailing lists