All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] spi: spi-fsl-dspi: set ColdFire to DMA mode
@ 2020-08-16  9:46 Angelo Dureghello
  2020-08-18 16:57 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Angelo Dureghello @ 2020-08-16  9:46 UTC (permalink / raw)
  To: broonie; +Cc: linux-spi, Angelo Dureghello

Set DMA transfer mode for ColdFire.

After recent fixes to fsl edma engine, this mode can be used
also for ColdFire, and from some raw mtd r/w tests it definitely
improves the transfer rate, so keeping it selected.

Signed-off-by: Angelo Dureghello <angelo.dureghello@timesys.com>
---
 drivers/spi/spi-fsl-dspi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/spi/spi-fsl-dspi.c b/drivers/spi/spi-fsl-dspi.c
index 91c6affe139c..5b9a285d84a7 100644
--- a/drivers/spi/spi-fsl-dspi.c
+++ b/drivers/spi/spi-fsl-dspi.c
@@ -189,7 +189,7 @@ static const struct fsl_dspi_devtype_data devtype_data[] = {
 		.fifo_size		= 4,
 	},
 	[MCF5441X] = {
-		.trans_mode		= DSPI_EOQ_MODE,
+		.trans_mode		= DSPI_DMA_MODE,
 		.max_clock_factor	= 8,
 		.fifo_size		= 16,
 	},
-- 
2.28.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] spi: spi-fsl-dspi: set ColdFire to DMA mode
  2020-08-16  9:46 [PATCH] spi: spi-fsl-dspi: set ColdFire to DMA mode Angelo Dureghello
@ 2020-08-18 16:57 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2020-08-18 16:57 UTC (permalink / raw)
  To: Angelo Dureghello; +Cc: linux-spi

On Sun, 16 Aug 2020 11:46:35 +0200, Angelo Dureghello wrote:
> Set DMA transfer mode for ColdFire.
> 
> After recent fixes to fsl edma engine, this mode can be used
> also for ColdFire, and from some raw mtd r/w tests it definitely
> improves the transfer rate, so keeping it selected.

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[1/1] spi: spi-fsl-dspi: set ColdFire to DMA mode
      commit: b09058bbf5f083e2670186a02f5be05baf1190d7

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-18 16:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-16  9:46 [PATCH] spi: spi-fsl-dspi: set ColdFire to DMA mode Angelo Dureghello
2020-08-18 16:57 ` Mark Brown

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.