From nobody Fri Dec 19 14:37:44 2025 Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2272A305E0D; Wed, 5 Nov 2025 10:43:04 +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=1762339386; cv=none; b=efeIAecrZBhYhBvTQWfrIDFoXPUOB1yBsDB+OPUhinUO/RoaRBIreFNDvV8c3UKZQl6D7QcIFq5njMKXWQHxZGQuuaLt7oliYNBw2RrQsVvH2fjCLhQ4TF+HG5FOATkUK0e7zHrQY5h90nOQ5uND1u8RWH7Bia+QcUeqOof5SIE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762339386; c=relaxed/simple; bh=L0aDk4Plu85yVCH3iqalIuJYWkQd1A2xQR65lNfVS8U=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=VybcF7v1qV6BNKa28w7unaWLVdglkxNqEZmUq8+JJxGECn3iEMVW4RyzmilJGBttnfJU27nMOGkOhrLxmWQTcRkP9eo8g7B12gi0E/bzGsoYUxyvCssHMTkDCecT5LvodQi23G42rqSEZ5HtdIC3VQQr1S7Kgv/7fxXJpx12QR8= 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: +cR7fCREQ9O3JkLXbN43PQ== X-CSE-MsgGUID: EdVxQ95lQ3eQFicDEeDcyw== Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 05 Nov 2025 19:43:03 +0900 Received: from demon-pc.localdomain (unknown [10.226.93.82]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 5127F4001DCB; Wed, 5 Nov 2025 19:42:58 +0900 (JST) From: Cosmin Tanislav To: Fabrizio Castro , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Magnus Damm , Michael Turquette , Stephen Boyd , Philipp Zabel Cc: 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 v3 02/14] spi: rzv2h-rspi: make resets optional Date: Wed, 5 Nov 2025 12:41:39 +0200 Message-ID: <20251105104151.1489281-3-cosmin-gabriel.tanislav.xa@renesas.com> X-Mailer: git-send-email 2.51.2 In-Reply-To: <20251105104151.1489281-1-cosmin-gabriel.tanislav.xa@renesas.com> References: <20251105104151.1489281-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 --- 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.2