Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Mark Brown <broonie@kernel.org>,
	Jacky Huang <ychuang3@nuvoton.com>,
	 Shan-Chun Hung <schung@nuvoton.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	 linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org,
	 linux-arm-kernel@lists.infradead.org,
	 Miquel Raynal <miquel.raynal@bootlin.com>
Subject: [PATCH 0/2] spi: ma35d1-qspi: Flag the DTR capability correctly
Date: Fri, 04 Sep 2026 18:15:09 +0200	[thread overview]
Message-ID: <20260904-perso-ma35d1-master-v1-0-b6936e8c6fa1@bootlin.com> (raw)

Mark pointed out that the DTR capability was not correctly enabled since
I had to set the extra ctlr->dtr_caps flag. For testing, I commented out
the spi-mem ops/caps and figured out DTR variants were still not picked
up. This was due to the spi-mem fallback implementation of ->exec_op()
not forwarding the DTR flag.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
---
Miquel Raynal (2):
      spi: spi-mem: Enable DTR transfers using the standard API
      spi: ma35d1-qspi: Allow DTR operations with the regular SPI API

 drivers/spi/spi-ma35d1-qspi.c | 1 +
 drivers/spi/spi-mem.c         | 6 +++++-
 2 files changed, 6 insertions(+), 1 deletion(-)
---
base-commit: 278cfc33d25f58105681196cecd9222c423d0c1c
change-id: 20260904-perso-ma35d1-master-2c2423043aed

Best regards,
-- 
Miquel Raynal <miquel.raynal@bootlin.com>



             reply	other threads:[~2026-09-04 16:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-04 16:15 Miquel Raynal [this message]
2026-09-04 16:15 ` [PATCH 1/2] spi: spi-mem: Enable DTR transfers using the standard API Miquel Raynal
2026-09-04 16:15 ` [PATCH 2/2] spi: ma35d1-qspi: Allow DTR operations with the regular SPI API Miquel Raynal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260904-perso-ma35d1-master-v1-0-b6936e8c6fa1@bootlin.com \
    --to=miquel.raynal@bootlin.com \
    --cc=broonie@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=schung@nuvoton.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=ychuang3@nuvoton.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox