[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+HBbNH4q8o-4Jb=hu7JgE4emxFxktFSLHdfY4J6gCDbYTpWUA@mail.gmail.com>
Date: Tue, 13 Jan 2026 14:57:24 +0100
From: Robert Marko <robert.marko@...tura.hr>
To: claudiu beznea <claudiu.beznea@...on.dev>
Cc: robh@...nel.org, krzk+dt@...nel.org, conor+dt@...nel.org,
nicolas.ferre@...rochip.com, alexandre.belloni@...tlin.com,
herbert@...dor.apana.org.au, davem@...emloft.net, vkoul@...nel.org,
andi.shyti@...nel.org, lee@...nel.org, andrew+netdev@...n.ch,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com, linusw@...nel.org,
Steen.Hegelund@...rochip.com, daniel.machon@...rochip.com,
UNGLinuxDriver@...rochip.com, olivia@...enic.com, radu_nicolae.pirea@....ro,
richard.genoud@...tlin.com, gregkh@...uxfoundation.org, jirislaby@...nel.org,
broonie@...nel.org, lars.povlsen@...rochip.com, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-crypto@...r.kernel.org, dmaengine@...r.kernel.org,
linux-i2c@...r.kernel.org, netdev@...r.kernel.org, linux-gpio@...r.kernel.org,
linux-spi@...r.kernel.org, linux-serial@...r.kernel.org,
linux-usb@...r.kernel.org, luka.perkov@...tura.hr
Subject: Re: [PATCH v4 12/15] arm64: dts: microchip: add LAN969x clock header file
On Sun, Jan 11, 2026 at 3:42 PM claudiu beznea <claudiu.beznea@...on.dev> wrote:
>
>
>
> On 12/29/25 20:37, Robert Marko wrote:
> > LAN969x uses hardware clock indexes, so document theses in a header to make
> > them humanly readable.
> >
> > Signed-off-by: Robert Marko <robert.marko@...tura.hr>
> > ---
> > Changes in v4:
> > * Move clock indexes from dt-bindings to a DTS header
> >
> > Changes in v2:
> > * Rename file to microchip,lan9691.h
> >
> > arch/arm64/boot/dts/microchip/clk-lan9691.h | 24 +++++++++++++++++++++
> > 1 file changed, 24 insertions(+)
> > create mode 100644 arch/arm64/boot/dts/microchip/clk-lan9691.h
> >
> > diff --git a/arch/arm64/boot/dts/microchip/clk-lan9691.h b/arch/arm64/boot/dts/microchip/clk-lan9691.h
> > new file mode 100644
> > index 000000000000..f0006a603747
> > --- /dev/null
> > +++ b/arch/arm64/boot/dts/microchip/clk-lan9691.h
> > @@ -0,0 +1,24 @@
> > +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
>
> Shouldn't this use the same license as the dtsi including it?
Yes, its a mistake on my side, will fix it in v5.
Regards,
Robert
>
> > +
> > +#ifndef _DTS_CLK_LAN9691_H
> > +#define _DTS_CLK_LAN9691_H
> > +
> > +#define GCK_ID_QSPI0 0
> > +#define GCK_ID_QSPI2 1
> > +#define GCK_ID_SDMMC0 2
> > +#define GCK_ID_SDMMC1 3
> > +#define GCK_ID_MCAN0 4
> > +#define GCK_ID_MCAN1 5
> > +#define GCK_ID_FLEXCOM0 6
> > +#define GCK_ID_FLEXCOM1 7
> > +#define GCK_ID_FLEXCOM2 8
> > +#define GCK_ID_FLEXCOM3 9
> > +#define GCK_ID_TIMER 10
> > +#define GCK_ID_USB_REFCLK 11
> > +
> > +/* Gate clocks */
> > +#define GCK_GATE_USB_DRD 12
> > +#define GCK_GATE_MCRAMC 13
> > +#define GCK_GATE_HMATRIX 14
> > +
> > +#endif
>
--
Robert Marko
Staff Embedded Linux Engineer
Sartura d.d.
Lendavska ulica 16a
10000 Zagreb, Croatia
Email: robert.marko@...tura.hr
Web: www.sartura.hr
Powered by blists - more mailing lists