Re: [PATCH v2 4/9] watchdog: rzv2h_wdt: Make "oscclk" an optional clock

Wolfram Sang
2025-08-01T04:04:27Z

[-- Attachment #1: Type: text/plain, Size: 640 bytes --]

On Tue, Jul 29, 2025 at 04:59:10PM +0100, Prabhakar wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> Update the driver to obtain the "oscclk" clock using
> devm_clk_get_optional_prepared() instead of devm_clk_get_prepared().
> This allows the driver to handle cases where the "oscclk" clock is not
> present in the hardware or device tree.
>
> This change is in preparation for adding support for the RZ/T2H SoC,
> which does not provide the "oscclk" clock.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]