From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.246.84.56 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795691362; b=F2lSUXxTawL3Y0abIlERT/TaHpdxRVhp+PB7W6RNyJF6n7D+1Fd8E/tipZp81GjMFkh2 c4JVzQ50lSOKiBZNTFb74DxkAtbvkmRz9cHpWKXQTJIbWl6InF6g5fIYyh8UqD684wwcD 8Z6E0B7dWo53h+CrOiGNzAXDHcA/A7iA60zF55YG8dhxg3XxWe6bdwKfkhu7oUzhItpJV heoqVD7j8iIK2af5CAqx+7rD6EwvJsY/M4gCEzn30ZHmJcIv/lEl11jr9Ji+c3XvG5EVX O+aYu9Q+Cvx6kbwXchemGqlo7+UgfiwUS/THL0jbUE9V3pP1OHf9mfLK6c+ZSY3Rsxw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795691362; h=DMARC-Filter:Received:Received:Received:DKIM-Signature:From:To:Cc: Subject:In-Reply-To:References:User-Agent:Date:Message-ID: MIME-Version:Content-Type:Content-Transfer-Encoding: X-Last-TLS-Session-Version; bh=y1/wD7Wi9STowuQTsl3HDTiGkdek0lFr2Qc9ETyKkHc=; b=fp/SLBS2fDg6xptnV4KRPmmChbWfw3M4Kx7Vc+reIqinpyiiIZMzXHqLBCT2E2aN2jK8 tjXA+8/wx7DElSBu0WzeIlBoJ5Y4K7dQsMZX4BfVZnuhg01FKpi8o8UOoBdLUMkReliSJ WdiFMfuybM6zDeMpejcUj5MHiQzxbsvZNec3S5nSD/7Jg/wReMX6uZj4A8CktsxK1viep j4fDZlJe0HemdHdv1iwcBQwUlv4jBimuwWZtjwBRT2Od0VbWTHPL/KGbj6cPE6TWhlwuk 4WAJNUhz/sMYfI3TZvDObP8Yw+osJ70gtsvdRUtPZOWa0nh62+YNIOo4NBZkoPsivtQ== 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=CT0q90WV; arc=none smtp.remote-ip=185.246.84.56 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (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 71047606A31E for ; Thu, 26 Nov 2026 11:09:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 71047606A31E 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=CT0q90WV Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id AEB021A17E3; Thu, 26 Nov 2026 11:09:19 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 7CAF460237; Thu, 26 Nov 2026 11:09:19 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id A61D211E6B368; Thu, 26 Nov 2026 12:09:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1795691353; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=y1/wD7Wi9STowuQTsl3HDTiGkdek0lFr2Qc9ETyKkHc=; b=CT0q90WVIJc4zyZoQOxtFRwovUp/lD1tvYC8y28IdlSTZHylCR+SJOmgbdnavDoSIkKJZ7 UQHzhfp1dRSy6+1mQ58pLkQKWb6rDLC50feZHn9Pd5znOcWpj7D5Q9l8chtedbMZd2oDLJ ZmLDRvMzlrHQxZPH5Eic6XzwoJQMgIXhdfgkIsLG7EiBT8CbTTjEdoIHRCvVjU+Te4B3r8 AQFb4tWn9rZC2cYUS3f3KjYpHTHLUb6guHhBk2tbVLMW1Bfs4Eaee4bo7sjgUwuMgJ4yos 1IXLZNk6X6lqfWFueUY4owHyk7QJ2sJAxW6L5yGfOuj+wpDnU0wIA23rihiUPw== From: Miquel Raynal To: Mark Brown Cc: 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 , 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 Subject: Re: [PATCH RFC 00/16] spi: spi-mem: Express the dummy phase using cycles when relevant In-Reply-To: <20261125-macronix-upstreaming-spi-mem-cycles-v1-0-fd036402fd37@bootlin.com> (Miquel Raynal's message of "Wed, 25 Nov 2026 18:51:14 +0100") References: <20261125-macronix-upstreaming-spi-mem-cycles-v1-0-fd036402fd37@bootlin.com> User-Agent: mu4e 1.12.12; emacs 30.2 Date: Thu, 26 Nov 2026 12:09:05 +0100 Message-ID: <87wlpzx31q.fsf@bootlin.com> X-Mailing-List: imx@lists.linux.dev 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: quoted-printable X-Last-TLS-Session-Version: TLSv1.3 > Convert spi-mem, all the trivial spi-mem controller drivers and then > SPI NOR to use dummy cycles instead of dummy bytes. SPI NAND may come > later. > > This is only build tested for the moment and sent as an RFC because this > topic has raised a lot of questions, there may be things I have > forgotten about, so I would like all parties to agree on the direction > before I commit into something cleaner. I bet Sashiko will also have > interesting feedback to make... I made several trivial issues in the controller's conversions which triggered a lot of Sashiko answers expressing the feeling that the patchset was not ready. The important part clearly are the spi-mem changes, the modifications on top are almost independent follow-ups showing why this may be useful. Nevertheless, I'm gonna address all those issues and send a v2 with hopefully less obvious issues. Thanks, Miqu=C3=A8l