[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <690dabc8.7b0a0220.35db7d.1d97@mx.google.com>
Date: Fri, 7 Nov 2025 09:20:22 +0100
From: Christian Marangi <ansuelsmth@...il.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>,
Philipp Zabel <p.zabel@...gutronix.de>,
Felix Fietkau <nbd@....name>, linux-clk@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 4/5] dt-bindings: clock: airoha: Document support for
AN7583 clock
On Fri, Nov 07, 2025 at 09:12:48AM +0100, Krzysztof Kozlowski wrote:
> On 07/11/2025 08:45, Christian Marangi wrote:
> > On Fri, Nov 07, 2025 at 08:42:15AM +0100, Krzysztof Kozlowski wrote:
> >> On Thu, Nov 06, 2025 at 08:59:31PM +0100, Christian Marangi wrote:
> >>> Document support for Airoha AN7583 clock based on the EN7523
> >>> clock schema.
> >>>
> >>> Add additional binding for additional clock and reset lines.
> >>>
> >>> Signed-off-by: Christian Marangi <ansuelsmth@...il.com>
> >>> ---
> >>> .../bindings/clock/airoha,en7523-scu.yaml | 5 +-
> >>> include/dt-bindings/clock/en7523-clk.h | 3 +
> >>> .../dt-bindings/reset/airoha,an7583-reset.h | 62 +++++++++++++++++++
> >>> 3 files changed, 69 insertions(+), 1 deletion(-)
> >>> create mode 100644 include/dt-bindings/reset/airoha,an7583-reset.h
> >>>
> >>> diff --git a/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml b/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml
> >>> index fe2c5c1baf43..2d53b96356c5 100644
> >>> --- a/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml
> >>> +++ b/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml
> >>> @@ -30,6 +30,7 @@ properties:
> >>> compatible:
> >>> items:
> >>> - enum:
> >>> + - airoha,an7583-scu
> >>
> >> That's random order. Keep it sorted.
> >>
> >> Best regards,
> >> Krzysztof
> >>
> >
> > Hi Krzysztof,
> >
> > I was also not cetrain on the correct order.
>
> Why? The rule was expressed on mailing list many, many times and only
> Sunxi or maybe one more SoC does it differently.
>
> >
> > We have En7523 and en7581 and then An7583.
> >
> > So should I put it at last following the number order or the
> > alphabetical order?
> All such lists or enumerations are ordered alphanumerically.
>
Ok so I think the proposed order follows alphanumerically order.
- airoha,An7583-scu
- airoha,En7523-scu
- airoha,En7581-scu
Maybe the A vs E was confusing?
The confusion was if I should have ordered for the number
so
- en7523
- en7581
- an7583
or the normaly way
- an7583
- en7523
- en7581
But since it's alphanumerically, it should be correct.
--
Ansuel
Powered by blists - more mailing lists