RE: [PATCH v3 1/9] thermal: renesas: rzg3e: make reset optional
From: John Madieu
Date: Wed Jan 07 2026 - 17:21:31 EST
Hi Cosmin,
> -----Original Message-----
> From: Cosmin Tanislav <cosmin-gabriel.tanislav.xa@xxxxxxxxxxx>
> Sent: Wednesday, November 26, 2025 2:04 PM
> To: John Madieu <john.madieu.xa@xxxxxxxxxxxxxx>; Rafael J . Wysocki
> <rafael@xxxxxxxxxx>; Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>; Zhang Rui
> <rui.zhang@xxxxxxxxx>; Lukasz Luba <lukasz.luba@xxxxxxx>; Rob Herring
> <robh@xxxxxxxxxx>; Krzysztof Kozlowski <krzk+dt@xxxxxxxxxx>; Conor Dooley
> <conor+dt@xxxxxxxxxx>; Geert Uytterhoeven <geert+renesas@xxxxxxxxx>;
> magnus.damm <magnus.damm@xxxxxxxxx>; Philipp Zabel
> <p.zabel@xxxxxxxxxxxxxx>
> Cc: linux-pm@xxxxxxxxxxxxxxx; devicetree@xxxxxxxxxxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx; linux-renesas-soc@xxxxxxxxxxxxxxx; Cosmin-Gabriel
> Tanislav <cosmin-gabriel.tanislav.xa@xxxxxxxxxxx>
> Subject: [PATCH v3 1/9] thermal: renesas: rzg3e: make reset optional
>
> The Renesas RZ/T2H (R9A09G077) and RZ/N2H (R9A09G087) SoCs do not have a
> reset line.
>
> Prepare for them by making it optional.
>
> Signed-off-by: Cosmin Tanislav <cosmin-gabriel.tanislav.xa@xxxxxxxxxxx>
> ---
> V3:
> * no changes
>
> V2:
> * no changes
>
> drivers/thermal/renesas/rzg3e_thermal.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/thermal/renesas/rzg3e_thermal.c
> b/drivers/thermal/renesas/rzg3e_thermal.c
> index e66d73ca6752..86c10810e5bf 100644
> --- a/drivers/thermal/renesas/rzg3e_thermal.c
> +++ b/drivers/thermal/renesas/rzg3e_thermal.c
> @@ -412,7 +412,7 @@ static int rzg3e_thermal_probe(struct platform_device
> *pdev)
> "Clock rate %lu Hz too low (min %u Hz)\n",
> clk_get_rate(clk), TSU_MIN_CLOCK_RATE);
>
> - priv->rstc = devm_reset_control_get_exclusive_deasserted(dev, NULL);
> + priv->rstc =
> devm_reset_control_get_optional_exclusive_deasserted(dev,
> +NULL);
> if (IS_ERR(priv->rstc))
> return dev_err_probe(dev, PTR_ERR(priv->rstc),
> "Failed to get/deassert reset control\n");
> --
> 2.52.0
Reviewed-by: John Madieu <john.madieu.xa@xxxxxxxxxxxxxx>
Tested-by: John Madieu <john.madieu.xa@xxxxxxxxxxxxxx>