[PATCH 3/3] ARM: dts: vt8500: list all four timer interrupts
Alexey Charkov
alchark at gmail.com
Tue May 6 22:48:51 PDT 2025
On Wed, May 7, 2025 at 8:32 AM Krzysztof Kozlowski <krzk at kernel.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 at gmail.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 at d8130100 {
> > 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
More information about the linux-arm-kernel
mailing list