Skip to contentSkip to conversation

spi: tegra: use dmaengine based dma driver

PATCH In review Laxman Dewangan 3 participants 4 messages Jun 29, 2012 – Jul 10, 2012

Subsystems (3)
lore
Share & tools
lore

Laxman Dewangan

author maintainer
#0 lore raw

PATCH 1/1 spi: tegra: use dmaengine based dma driver

Use the dmaengine based Tegra APB DMA driver for data transfer between SPI FIFO and memory in place of legacy Tegra APB DMA.

The new driver is selected if legacy driver is not selected and new DMA driver is enabled through config file.

---
 drivers/spi/Kconfig     |    2 +-
 drivers/spi/spi-tegra.c |   89 ++++++++++++++++++++++++++++++++++++++++++++---
 2 files changed, 85 insertions(+), 6 deletions(-)
drivers/spi/Kconfig +1 -1
index 8c8c680..b7b99e7 100644
@@ -366,7 +366,7 @@ config SPI_STMP3XXX
 
 config SPI_TEGRA
 	tristate "Nvidia Tegra SPI controller"
-	depends on ARCH_TEGRA && TEGRA_SYSTEM_DMA
+	depends on ARCH_TEGRA && (TEGRA_SYSTEM_DMA || TEGRA20_APB_DMA)
 	help
 	  SPI driver for NVidia Tegra SoCs
 
drivers/spi/spi-tegra.c +84 -5

178 lines not on this page · raw message

Signature · 1 line
1.7.1.1
author maintainer
#2 lore raw
Quoted 5 lines · Stephen Warren
Quoted 4 lines · Laxman Dewangan

Use the dmaengine based Tegra APB DMA driver for data transfer between SPI FIFO and memory in place of legacy Tegra APB DMA.

Quoted 7 lines
Quoted 5 lines

The new driver is selected if legacy driver is not selected and new DMA driver is enabled through config file.

Hi Mark,
Understand from Grant's mail's discussion that you are picking up the spi change.
Please let me know if I need to re-send this patch.

Thanks,
Laxman

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

#3 lore raw
Quoted 3 lines · Laxman Dewangan

Understand from Grant's mail's discussion that you are picking up the spi change.
Please let me know if I need to re-send this patch.

Yes.