[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABjd4YxjC13H9G+ZpQO7EcmA4quu-9OMYjc5z6W5z+f=pwkTbw@mail.gmail.com>
Date: Wed, 7 May 2025 09:48:51 +0400
From: Alexey Charkov <alchark@...il.com>
To: Krzysztof Kozlowski <krzk@...nel.org>
Cc: Daniel Lezcano <daniel.lezcano@...aro.org>, Thomas Gleixner <tglx@...utronix.de>,
Rob Herring <robh@...nel.org>, Conor Dooley <conor+dt@...nel.org>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org
Subject: Re: [PATCH 3/3] ARM: dts: vt8500: list all four timer interrupts
On Wed, May 7, 2025 at 8:32 AM Krzysztof Kozlowski <krzk@...nel.org> wrote:
>
> On 06/05/2025 22:06, Alexey Charkov wrote:
> > VIA/WonderMedia SoC timer can generate up to four interrupts corresponding
> > to four timer match registers (firing when the 32-bit freerunning clock
> > source counter matches either of the match registers, respectively).
> >
> > List all four interrupts in device trees.
> >
> > This also enables the system event timer to use a match register other
> > than 0, which can then in turn be used as a system watchdog (watchdog
> > function is not available on other channels)
> >
> > Signed-off-by: Alexey Charkov <alchark@...il.com>
> > ---
> > arch/arm/boot/dts/vt8500/vt8500.dtsi | 2 +-
> > arch/arm/boot/dts/vt8500/wm8505.dtsi | 2 +-
> > arch/arm/boot/dts/vt8500/wm8650.dtsi | 2 +-
> > arch/arm/boot/dts/vt8500/wm8750.dtsi | 2 +-
> > arch/arm/boot/dts/vt8500/wm8850.dtsi | 2 +-
> > 5 files changed, 5 insertions(+), 5 deletions(-)
> >
> > diff --git a/arch/arm/boot/dts/vt8500/vt8500.dtsi b/arch/arm/boot/dts/vt8500/vt8500.dtsi
> > index 2ba021585d4889f29777a12473964c29f999f3a0..d1dd37220d41becece5d24fbb19aa71b01723e35 100644
> > --- a/arch/arm/boot/dts/vt8500/vt8500.dtsi
> > +++ b/arch/arm/boot/dts/vt8500/vt8500.dtsi
> > @@ -111,7 +111,7 @@ clkuart3: uart3 {
> > timer@...30100 {
> > compatible = "via,vt8500-timer";
> > reg = <0xd8130100 0x28>;
> > - interrupts = <36>;
> > + interrupts = <36>, <37>, <38>, <39>;
>
> You need to update the binding, preferably first convert it to DT schema.
The binding change [1] has been reviewed by Rob and is pending merge.
Shall I fold it into this series when I send v2?
[1] https://lore.kernel.org/all/20250506-via_vt8500_timer_binding-v3-1-88450907503f@gmail.com/
Best regards,
Alexey
Powered by blists - more mailing lists