All of lore.kernel.org
 help / color / mirror / Atom feed
From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Tianyu Xu <xtydtc@gmail.com>
Cc: broonie@kernel.org,  linux-spi@vger.kernel.org,
	 Tianyu Xu <tianyxu@cisco.com>
Subject: Re: [PATCH] spi: spi-mem: add spi_mem_adjust_op_freq() in spi_mem_supports_op()
Date: Tue, 05 Aug 2025 09:41:26 +0200	[thread overview]
Message-ID: <8734a6jjvd.fsf@bootlin.com> (raw)
In-Reply-To: <20250805015403.43928-1-tianyxu@cisco.com> (Tianyu Xu's message of "Tue, 5 Aug 2025 09:54:03 +0800")

Hello,

On 05/08/2025 at 09:54:03 +08, Tianyu Xu <xtydtc@gmail.com> wrote:

> The function spi_mem_adjust_op_freq() within spi_mem_exec_op() adjusts
> the op->max_freq, which will informs the SPI controller of the maximum
> frequency for each operation. This adjustment is based on combined
> information from the SPI device and the board's wiring conditions.
> Similarly, spi_mem_supports_op() will check the capabilities of the SPI
> controller. It also requires the combined information before it can
> accurately determine whether the SPI controller supports a given operation.
>
> Signed-off-by: Tianyu Xu <tianyxu@cisco.com>

That's correct.

Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>

Thanks,
Miquèl

  reply	other threads:[~2025-08-05  7:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-05  1:54 [PATCH] spi: spi-mem: add spi_mem_adjust_op_freq() in spi_mem_supports_op() Tianyu Xu
2025-08-05  7:41 ` Miquel Raynal [this message]
2025-08-06 13:55 ` Mark Brown

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=8734a6jjvd.fsf@bootlin.com \
    --to=miquel.raynal@bootlin.com \
    --cc=broonie@kernel.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=tianyxu@cisco.com \
    --cc=xtydtc@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.