From nobody Fri Dec 19 14:38:30 2025 Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DEF7A2FFDD7; Wed, 5 Nov 2025 09:14:57 +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=1762334100; cv=none; b=oOG3b1pjuf1xIYqV4MUAATe18YszgYSQPfYf8pe6mTVxQoxJCT0ryZEiqqhw+RC+oyEs91bNezlZJqd4MIGFrRav9UWk/I5E3EpDuZCLV9mEENGGNuxTaF9IMP5uOXPq4lEtPLrsVqzYncG0QdyY/k9j9ji7FXtwBUyyx6iJdbY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762334100; c=relaxed/simple; bh=L0aDk4Plu85yVCH3iqalIuJYWkQd1A2xQR65lNfVS8U=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Mu9mW3K0kluXYVUgFdzAtPlgS8VRTW0dVdThIuKmuJ18QImenV/OTRh0TyINhG/7XYjy/C2K6aydKBk0kAx7dTCPggazHR5TRRWsfip3e1SAo4c+me2ik9AOkbKulHfSTazY+bzDQDZRsjU5xwej7+WMzpcKq21FNfXyeC60iBs= 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: vlRoiHW+R8+7vEsTshjeCg== X-CSE-MsgGUID: N2AG0fyhRVexwOkfFDo0JQ== Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 05 Nov 2025 18:14:54 +0900 Received: from demon-pc.localdomain (unknown [10.226.92.38]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 8F5EF4175ED8; Wed, 5 Nov 2025 18:14:49 +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: Wed, 5 Nov 2025 11:13:46 +0200 Message-ID: <20251105091401.1462985-3-cosmin-gabriel.tanislav.xa@renesas.com> X-Mailer: git-send-email 2.51.2 In-Reply-To: <20251105091401.1462985-1-cosmin-gabriel.tanislav.xa@renesas.com> References: <20251105091401.1462985-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