Skip to contentSkip to conversation

spi: tegra: use dmaengine based dma driver

PATCH RESEND In review Laxman Dewangan 2 participants 5 messages Jul 10, 2012 – Jul 11, 2012

Subsystems (3)
lore
Share & tools
lore

Laxman Dewangan

author maintainer
#0 lore raw

PATCH RESEND 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.

---
As per mail from Grant's, he is moving and Mark B is picking up spi changes, resending this patch. Thanks Mark.
Adding ack of Stephen which he has already ack on original patch before his vacation.

 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 · 9 lines
1.7.1.1


------------------------------------------------------------------------------
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/
#1 lore raw
Quoted 7 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.

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

Is this any different to the version of the patch that I already applied?

author maintainer
#2 lore raw
Quoted 8 lines · Mark Brown

* PGP Signed by an unknown key

Quoted 3 lines · Laxman Dewangan

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

Is this any different to the version of the patch that I already applied?

I believe you have applied for the ASoC one. This is for spi one. BTW, are you taking the same in regulator subsystem or created new for spi? I can verify from there.

------------------------------------------------------------------------------
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 6 lines · Laxman Dewangan
Quoted 2 lines · Mark Brown

Is this any different to the version of the patch that I already applied?

I believe you have applied for the ASoC one. This is for spi one.

No, there's a dmaengine patch in my SPI branch too which I applied yesterday.

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

Quoted 2 lines

BTW, are you taking the same in regulator subsystem or created new for spi? I can verify from there.

I'm sorry, I can't parse this sentance at all.

author maintainer
#4 lore raw
Quoted 11 lines · Mark Brown

* PGP Signed by an unknown key

Quoted 3 lines · Laxman Dewangan

On Wednesday 11 July 2012 03:25 PM, Mark Brown wrote:

I believe you have applied for the ASoC one. This is for spi one.

No, there's a dmaengine patch in my SPI branch too which I applied yesterday.

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

Looked at your misc/spi-next and you have already applied. This was just resend.

Thanks for taking care.

Quoted 3 lines

I'm sorry, I can't parse this sentance at all.

Just wanted to know that spi changes will be in regulator/for-next or some other tree. It is in misc/spi-next.