From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.246.85.4 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795629164; b=j3kR61NfCXhGmrzzCFRUiHvy3QP8xqSSXbRwxQHpCFxCwaYBHzspuhv8sqzCYz/1uLlX Z4PhD/yJLE8ok1U0hDFt3ZaMEfZQFQgJhI/TO68rhUGkVogNftqp2VFA3Q9o03b6Q+44J y2iDktcKPBmqgf5ny9QNzCIO52OGSuVgCyt+qQgkt9VqygeOEy0OBgMY0gBxrlpyRrLnr kSNasCwOMi+A0ei86BJDGVIfQDt01/nr1h3w54EkeOPTWsi1hRzy81kbM/MpfR8ScCT4u 9+OZiAJtarhTqgWnNGbL3jDcVdcjijd+RGS6I6I73m6g0xZMYT+40vKuzqqXdnZj1jA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795629164; h=DMARC-Filter:Received:Received:Received:DKIM-Signature:From:Date: Subject:MIME-Version:Content-Type:Content-Transfer-Encoding: Message-Id:References:In-Reply-To:To:Cc:X-Mailer: X-Last-TLS-Session-Version; bh=1pBgsX7SEhiUyvzBszeDzEbYO5y9r9uClK7rqjgYFvg=; b=hoDR37M7R4IjSA+BkeMnV+Y2eovm+0ZeipB7ENqm9vJbbGmopUV0daBSjdRbXbige2wk 6EGSmWRZtB+Ghgvbu08ijoik4YNcleitd6mhmRUlIM7oWvCmo+RwfjVJfwqHeRsK/4Zce +Jy2/p3QzEp1ipjupS2UrtPYWQWnIKI0eGFcwuohoEuklT7xEQUl2Lz3DE48KQwY9Urg0 MLK6AIUZ7bzsac7DN2DmtfHJormcha0221OiQ3tWXpXzFdbgNBVBGIP0leMEcih1BUl3g H5Zv5kpb6NCS9fGv0J0p2VyPFbKaN+0gvyN/NJtr+p3K6w0lV83E19yOWMyO5DeWvLg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=xS9v9bc9; arc=none smtp.remote-ip=185.246.85.4 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C2ED6606A33F for ; Wed, 25 Nov 2026 17:52:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C2ED6606A33F Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=xS9v9bc9 Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 4EDDE4E41785; Wed, 25 Nov 2026 17:52:42 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 19CF860480; Wed, 25 Nov 2026 17:52:42 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id CBFD611E6B0C5; Wed, 25 Nov 2026 18:52:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1795629159; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=1pBgsX7SEhiUyvzBszeDzEbYO5y9r9uClK7rqjgYFvg=; b=xS9v9bc9yVgyTnhOEc5GrZbH5tv5Lk9cwg3hUTHKMznf3BHRgoTOmPwLVnmwSsKF3jRcQn kqhWk6bPV1QHLICPk1tlaURZX5g2/bboIR1oQQzKHg+fyXzMTlcYVoaPqGu6XlsbMjtUF1 zfECYzuJll7bZdiUI2axOVWVzNOO7Leju5Gy5xEJZfG6WPcaE6hIxir4VNMScpA5fO/RfX 9HZKyGuliTMohmOvM976vUzeV8aw/8/A/0uDA1YdR4gYQ14kAel1AvlKLsyS4CXl2Ibbf0 uRzi5JhkNr0JbDcXLvYW6nMGEQXd14XQurizoNBM1hLgqjnvVOMct679vd0S5w== From: Miquel Raynal Date: Wed, 25 Nov 2026 18:51:25 +0100 Subject: [PATCH RFC 11/16] spi: nxp-xspi: Fix a comment X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261125-macronix-upstreaming-spi-mem-cycles-v1-11-fd036402fd37@bootlin.com> References: <20261125-macronix-upstreaming-spi-mem-cycles-v1-0-fd036402fd37@bootlin.com> In-Reply-To: <20261125-macronix-upstreaming-spi-mem-cycles-v1-0-fd036402fd37@bootlin.com> To: Mark Brown , Liang Yang , Feng Chen , Xianwei Zhao , Han Xu , Conor Dooley , Valentina Fernandez , Daire McNamara , Haibo Chen , Jyan Chou , Yu-Chun Lin , Maxime Coquelin , Alexandre Torgue , Pratyush Yadav , Michael Walle , Takahiro Kuwano , Richard Weinberger , Vignesh Raghavendra Cc: Thomas Petazzoni , Alvin Zhou , Cheng Ming Lin , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, imx@lists.linux.dev, linux-riscv@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-mtd@lists.infradead.org, Miquel Raynal X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 Looking at the i.MX952 TRM which is I believe one of the SoCs with this controller inside, the maximum number of supported dummy clock cycles is 64 and not 32, so the code seems more accurate than the comment, which needs fixing. Signed-off-by: Miquel Raynal --- drivers/spi/spi-nxp-xspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-nxp-xspi.c b/drivers/spi/spi-nxp-xspi.c index 8b836662a5da..ccd00c744d18 100644 --- a/drivers/spi/spi-nxp-xspi.c +++ b/drivers/spi/spi-nxp-xspi.c @@ -407,7 +407,7 @@ static bool nxp_xspi_supports_op(struct spi_mem *mem, if (op->addr.nbytes > 4) return false; - /* Max 32 dummy clock cycles supported */ + /* Max 64 dummy clock cycles supported */ if (op->dummy.ncycles > 64) return false; -- 2.56.0