[PATCH 3/3] ARM: dts: vt8500: list all four timer interrupts
Krzysztof Kozlowski
krzk at kernel.org
Tue May 6 21:32:26 PDT 2025
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.
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list