[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250507-vt8500-timer-updates-v2-0-65e5d1b0855e@gmail.com>
Date: Wed, 07 May 2025 10:58:29 +0400
From: Alexey Charkov <alchark@...il.com>
To: Krzysztof Kozlowski <krzk@...nel.org>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Thomas Gleixner <tglx@...utronix.de>, Rob Herring <robh@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, Alexey Charkov <alchark@...il.com>
Subject: [PATCH v2 0/4] clocksource/drivers/timer-vt8500: clean up and add
watchdog function
Add named defines for all registers and bits in timer-vt8500.
Move the system events timer from channel 0 to channel 1 when enough
information is provided by the device tree (i.e. more than one IRQ).
Use channel 0 for the system watchdog
Signed-off-by: Alexey Charkov <alchark@...il.com>
---
Changes in v2:
- Included the previously reviewed binding change that is directly related
to this series as the first patch here (thanks Krzysztof)
- Created a separate config symbol for the watchdog function to let users
build a kernel without forcing watchdog functionality upon them
(thanks Krzysztof)
- Link to the previous binding submission: https://lore.kernel.org/all/20250506-via_vt8500_timer_binding-v3-1-88450907503f@gmail.com/
- Link to v1: https://lore.kernel.org/r/20250507-vt8500-timer-updates-v1-0-6b76f7f340a6@gmail.com
---
Alexey Charkov (4):
dt-bindings: timer: via,vt8500-timer: Convert to YAML
clocksource/drivers/timer-vt8500: Add defines for magic constants
clocksource/drivers/timer-vt8500: Add watchdog functionality
ARM: dts: vt8500: list all four timer interrupts
.../devicetree/bindings/timer/via,vt8500-timer.txt | 15 ---
.../bindings/timer/via,vt8500-timer.yaml | 51 +++++++++
MAINTAINERS | 1 +
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 +-
drivers/clocksource/Kconfig | 11 ++
drivers/clocksource/timer-vt8500.c | 118 ++++++++++++++++-----
10 files changed, 162 insertions(+), 44 deletions(-)
---
base-commit: 0a00723f4c2d0b273edd0737f236f103164a08eb
change-id: 20250506-vt8500-timer-updates-44a0d22cd720
Best regards,
--
Alexey Charkov <alchark@...il.com>
Powered by blists - more mailing lists