* [PATCH 1/4] ARM: davinci: devices-da8xx: Remove DMA resources for MMC and SPI
2016-09-28 10:35 [PATCH 0/4] ARM: davinci: Remove DMA resources for MMC/SPI Peter Ujfalusi
@ 2016-09-28 10:35 ` Peter Ujfalusi
2016-09-28 10:35 ` [PATCH 2/4] ARM: davinci: devices: Remove DMA resources for MMC Peter Ujfalusi
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Peter Ujfalusi @ 2016-09-28 10:35 UTC (permalink / raw)
To: linux-arm-kernel
The drivers are now converted to not use the DMA resource.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
---
arch/arm/mach-davinci/devices-da8xx.c | 29 -----------------------------
1 file changed, 29 deletions(-)
diff --git a/arch/arm/mach-davinci/devices-da8xx.c b/arch/arm/mach-davinci/devices-da8xx.c
index add3771d38f6..dbdfe02b4174 100644
--- a/arch/arm/mach-davinci/devices-da8xx.c
+++ b/arch/arm/mach-davinci/devices-da8xx.c
@@ -57,15 +57,6 @@
#define DA8XX_EMAC_RAM_OFFSET 0x0000
#define DA8XX_EMAC_CTRL_RAM_SIZE SZ_8K
-#define DA8XX_DMA_SPI0_RX EDMA_CTLR_CHAN(0, 14)
-#define DA8XX_DMA_SPI0_TX EDMA_CTLR_CHAN(0, 15)
-#define DA8XX_DMA_MMCSD0_RX EDMA_CTLR_CHAN(0, 16)
-#define DA8XX_DMA_MMCSD0_TX EDMA_CTLR_CHAN(0, 17)
-#define DA8XX_DMA_SPI1_RX EDMA_CTLR_CHAN(0, 18)
-#define DA8XX_DMA_SPI1_TX EDMA_CTLR_CHAN(0, 19)
-#define DA850_DMA_MMCSD1_RX EDMA_CTLR_CHAN(1, 28)
-#define DA850_DMA_MMCSD1_TX EDMA_CTLR_CHAN(1, 29)
-
void __iomem *da8xx_syscfg0_base;
void __iomem *da8xx_syscfg1_base;
@@ -964,16 +955,6 @@ static struct resource da8xx_spi0_resources[] = {
.end = IRQ_DA8XX_SPINT0,
.flags = IORESOURCE_IRQ,
},
- [2] = {
- .start = DA8XX_DMA_SPI0_RX,
- .end = DA8XX_DMA_SPI0_RX,
- .flags = IORESOURCE_DMA,
- },
- [3] = {
- .start = DA8XX_DMA_SPI0_TX,
- .end = DA8XX_DMA_SPI0_TX,
- .flags = IORESOURCE_DMA,
- },
};
static struct resource da8xx_spi1_resources[] = {
@@ -987,16 +968,6 @@ static struct resource da8xx_spi1_resources[] = {
.end = IRQ_DA8XX_SPINT1,
.flags = IORESOURCE_IRQ,
},
- [2] = {
- .start = DA8XX_DMA_SPI1_RX,
- .end = DA8XX_DMA_SPI1_RX,
- .flags = IORESOURCE_DMA,
- },
- [3] = {
- .start = DA8XX_DMA_SPI1_TX,
- .end = DA8XX_DMA_SPI1_TX,
- .flags = IORESOURCE_DMA,
- },
};
static struct davinci_spi_platform_data da8xx_spi_pdata[] = {
--
2.10.0
^ permalink raw reply related [flat|nested] 6+ messages in thread* [PATCH 3/4] ARM: davinci: dm355: Remove DMA resources for SPI
2016-09-28 10:35 [PATCH 0/4] ARM: davinci: Remove DMA resources for MMC/SPI Peter Ujfalusi
2016-09-28 10:35 ` [PATCH 1/4] ARM: davinci: devices-da8xx: Remove DMA resources for MMC and SPI Peter Ujfalusi
2016-09-28 10:35 ` [PATCH 2/4] ARM: davinci: devices: Remove DMA resources for MMC Peter Ujfalusi
@ 2016-09-28 10:35 ` Peter Ujfalusi
2016-09-28 10:35 ` [PATCH 4/4] ARM: davinci: dm365: " Peter Ujfalusi
2016-10-01 17:38 ` [PATCH 0/4] ARM: davinci: Remove DMA resources for MMC/SPI Sekhar Nori
4 siblings, 0 replies; 6+ messages in thread
From: Peter Ujfalusi @ 2016-09-28 10:35 UTC (permalink / raw)
To: linux-arm-kernel
The driver is converted to not use the DMA resource.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
---
arch/arm/mach-davinci/dm355.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/arch/arm/mach-davinci/dm355.c b/arch/arm/mach-davinci/dm355.c
index d33322ddedab..bd50367f654e 100644
--- a/arch/arm/mach-davinci/dm355.c
+++ b/arch/arm/mach-davinci/dm355.c
@@ -397,14 +397,6 @@ static struct resource dm355_spi0_resources[] = {
.start = IRQ_DM355_SPINT0_0,
.flags = IORESOURCE_IRQ,
},
- {
- .start = 17,
- .flags = IORESOURCE_DMA,
- },
- {
- .start = 16,
- .flags = IORESOURCE_DMA,
- },
};
static struct davinci_spi_platform_data dm355_spi0_pdata = {
--
2.10.0
^ permalink raw reply related [flat|nested] 6+ messages in thread* [PATCH 4/4] ARM: davinci: dm365: Remove DMA resources for SPI
2016-09-28 10:35 [PATCH 0/4] ARM: davinci: Remove DMA resources for MMC/SPI Peter Ujfalusi
` (2 preceding siblings ...)
2016-09-28 10:35 ` [PATCH 3/4] ARM: davinci: dm355: Remove DMA resources for SPI Peter Ujfalusi
@ 2016-09-28 10:35 ` Peter Ujfalusi
2016-10-01 17:38 ` [PATCH 0/4] ARM: davinci: Remove DMA resources for MMC/SPI Sekhar Nori
4 siblings, 0 replies; 6+ messages in thread
From: Peter Ujfalusi @ 2016-09-28 10:35 UTC (permalink / raw)
To: linux-arm-kernel
The driver is converted to not use the DMA resource.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
---
arch/arm/mach-davinci/dm365.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c
index ef3add999263..8be04ec95adf 100644
--- a/arch/arm/mach-davinci/dm365.c
+++ b/arch/arm/mach-davinci/dm365.c
@@ -660,14 +660,6 @@ static struct resource dm365_spi0_resources[] = {
.start = IRQ_DM365_SPIINT0_0,
.flags = IORESOURCE_IRQ,
},
- {
- .start = 17,
- .flags = IORESOURCE_DMA,
- },
- {
- .start = 16,
- .flags = IORESOURCE_DMA,
- },
};
static struct platform_device dm365_spi0_device = {
--
2.10.0
^ permalink raw reply related [flat|nested] 6+ messages in thread