[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <40db39ef-7ef3-4720-9c85-ccfe1c11c299@sirena.org.uk>
Date: Wed, 26 Mar 2025 13:04:26 +0000
From: Mark Brown <broonie@...nel.org>
To: Mukesh Kumar Savaliya <quic_msavaliy@...cinc.com>
Cc: linux-spi@...r.kernel.org, linux-kernel@...r.kernel.org,
andersson@...nel.org, konradybcio@...nel.org
Subject: Re: [PATCH V1] spi: Add support for Double Transfer Rate (DTR) mode
On Wed, Mar 26, 2025 at 02:09:54PM +0530, Mukesh Kumar Savaliya wrote:
> This change introduces a new field `dtr_mode` in the `spi_transfer`
> structure. The `dtr_mode` field allows protocol drivers to indicate if
> Double Transfer Rate (DTR) mode is supported for a given transfer. When
> `dtr_mode` is set to true, the SPI controller will use DTR mode
> otherwise, it will default to single transfer mode.
> The QSPI controller driver uses this flag and configures single or double
> transfer rate using the controller register.
We should have a flag in the controller indicating if it supports this,
and code in the core which returns an error if a driver attempts to use
it when the controller doesn't support it.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists