From nobody Tue Feb 10 08:26:43 2026 Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EB740328B45; Thu, 8 Jan 2026 19:53:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.160.252.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767902012; cv=none; b=jhZXAR2AWzRQAsIP5HqHP4YkK93C3TK4X+9h8IC60BIwycJ4JAEUmdN3buP6Y4LTUxI0YScJE+dex+CxSkujXi5diypmKR3ZdSAjVrtFijZTP/1o2uYClZzE+MkY75TbzJp8XRnNqEZwhstT8VNOUlgDfGKvow7GvdXPOilovWk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767902012; c=relaxed/simple; bh=r3SCEnwL1PGKy7MG5+Mt3LUNKG7vTtvBm8aR+r4SlmM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=TzuJYHDQLJ1S/+pvf7gs1EW5vOGpcvwXQRPOxmy3FEUAVK4i9WcRMF+7D7eYUdmrt/YwsjLQEW8DLrS1lYdb77jdWPjV+GxmZKxp7/54Bd9PFb8z9HUhZcuX20pnDqVHuqb2/x8r+Yie99sa0gnGRTr9TcoCz4vqkrOk1m+11qk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; arc=none smtp.client-ip=210.160.252.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com X-CSE-ConnectionGUID: uYt6vzGeQFWzMfsMjEdxHA== X-CSE-MsgGUID: fvNXeq4WRbiEsRqS5DVb1g== Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 09 Jan 2026 04:53:28 +0900 Received: from demon-pc.localdomain (unknown [10.226.92.68]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id C3AE94008A2E; Fri, 9 Jan 2026 04:53:23 +0900 (JST) From: Cosmin Tanislav To: John Madieu , "Rafael J . Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , Geert Uytterhoeven , Magnus Damm Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Cosmin Tanislav Subject: [PATCH v5 1/5] thermal: renesas: rzg3e: make reset optional Date: Thu, 8 Jan 2026 21:52:19 +0200 Message-ID: <20260108195223.193531-2-cosmin-gabriel.tanislav.xa@renesas.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260108195223.193531-1-cosmin-gabriel.tanislav.xa@renesas.com> References: <20260108195223.193531-1-cosmin-gabriel.tanislav.xa@renesas.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The Renesas RZ/T2H (R9A09G077) and RZ/N2H (R9A09G087) SoCs do not have a reset line. Prepare for them by making it optional. Reviewed-by: Geert Uytterhoeven Reviewed-by: John Madieu Tested-by: John Madieu Signed-off-by: Cosmin Tanislav --- V5: * no changes V4: * pick up Geert's Reviewed-by * pick up John's Reviewed-by and Tested-by 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/rene= sas/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); =20 - priv->rstc =3D devm_reset_control_get_exclusive_deasserted(dev, NULL); + priv->rstc =3D 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"); --=20 2.52.0