Thread (33 messages) 33 messages, 3 authors, 2025-08-04

Re: [PATCH v2 5/9] watchdog: rzv2h_wdt: Add support for configurable count clock source

From: Wolfram Sang <wsa+renesas@sang-engineering.com>
Date: 2025-08-01 04:04:39
Also in: linux-renesas-soc, linux-watchdog, lkml

On Tue, Jul 29, 2025 at 04:59:11PM +0100, Prabhakar wrote:
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

Add support for selecting the count clock source used by the watchdog
timer. The RZ/V2H(P) SoC uses the LOCO as the count source, whereas on
RZ/T2H and RZ/N2H SoCs, the count source is the peripheral clock (PCLKL).

Introduce a `count_source` field in the SoC-specific data structure and
refactor the clock rate selection logic accordingly. This prepares the
driver for supporting the RZ/T2H and RZ/N2H SoCs, which differ in their
watchdog clocking architecture from RZ/V2H(P).

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help