From nobody Tue Feb 10 17:31:01 2026 Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 34E223328EA; Tue, 28 Oct 2025 13:32:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.160.252.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761658362; cv=none; b=aO04UJT+u/eIIw72+QQXMffM6GIi+GdWtycuNaFxiAuYbWk/58iJpCk3lmXOAvgiHBfVjM3iN5lO8tq0i+pPXzJ0vCRexjwTKZ0tmvitYUN5BOHy1AVNGsJ/ohNC+jQamN95giw4JNksl14+ts813QWOMNUwbJBkHY4erxSO2oE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761658362; c=relaxed/simple; bh=er2XvLogrMIXj90Ihjhi/R8MtV282QzLQMphVAtKAQA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=TaXya98UpdiVJlTGU/w8eL9mSgdrtnOr+yLjLdn40vtcs+fhIxdPtGtd/zBXweN3LxvR/znllpZOBCUJr3Qnxl6hl6V9r0UM0BqEZWRaerRxnPvhBWQpQspZQp+G3sdaVFtVCwxav+0eScl9xMMOro9ALnw+gIHIIaQ1iGLZDFI= 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.171 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: lv+aN68gSbyz5Cu8uXFr4A== X-CSE-MsgGUID: B+9RaY7rQlKZLaT9WU+2TQ== Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 28 Oct 2025 22:32:39 +0900 Received: from demon-pc.localdomain (unknown [10.226.92.5]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 6C36141B5F49; Tue, 28 Oct 2025 22:32:34 +0900 (JST) From: Cosmin Tanislav To: Cc: Fabrizio Castro , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Magnus Damm , Michael Turquette , Stephen Boyd , Philipp Zabel , linux-spi@vger.kernel.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Cosmin Tanislav Subject: [PATCH 02/14] spi: rzv2h-rspi: make resets optional Date: Tue, 28 Oct 2025 15:31:33 +0200 Message-ID: <20251028133151.1487327-3-cosmin-gabriel.tanislav.xa@renesas.com> X-Mailer: git-send-email 2.51.1 In-Reply-To: <20251028133151.1487327-1-cosmin-gabriel.tanislav.xa@renesas.com> References: <20251028133151.1487327-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 don't have reset lines for the SPI peripheral, make them optional to prepare for adding support for them. Signed-off-by: Cosmin Tanislav Reviewed-by: Fabrizio Castro --- drivers/spi/spi-rzv2h-rspi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-rzv2h-rspi.c b/drivers/spi/spi-rzv2h-rspi.c index dcc431ba60a9..09b9362e9b1f 100644 --- a/drivers/spi/spi-rzv2h-rspi.c +++ b/drivers/spi/spi-rzv2h-rspi.c @@ -384,8 +384,8 @@ static int rzv2h_rspi_probe(struct platform_device *pde= v) =20 rspi->resets[0].id =3D "presetn"; rspi->resets[1].id =3D "tresetn"; - ret =3D devm_reset_control_bulk_get_exclusive(dev, RSPI_RESET_NUM, - rspi->resets); + ret =3D devm_reset_control_bulk_get_optional_exclusive(dev, RSPI_RESET_NU= M, + rspi->resets); if (ret) return dev_err_probe(dev, ret, "cannot get resets\n"); =20 --=20 2.51.1