Thread (15 messages) 15 messages, 3 authors, 2025-09-05

Re: [PATCH v3 4/6] watchdog: rzv2h: Add support for configurable count clock source

From: Guenter Roeck <linux@roeck-us.net>
Date: 2025-09-05 15:01:22
Also in: linux-renesas-soc, linux-watchdog, lkml

On 8/4/25 12:57, 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>
---
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help