]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: davinci: devices-da8xx: Remove DMA resources for MMC and SPI
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 28 Sep 2016 10:35:27 +0000 (13:35 +0300)
committerSekhar Nori <nsekhar@ti.com>
Wed, 26 Oct 2016 08:12:53 +0000 (13:42 +0530)
The drivers are now converted to not use the DMA resource.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/devices-da8xx.c

index add3771d38f640196a32b5be1deaf329de4dc329..dbdfe02b41744561c1a01a97e27332a3583ed590 100644 (file)
 #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[] = {