ARM: davinci: Add dma_mask to eDMA devices
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 14 Oct 2015 11:42:52 +0000 (14:42 +0300)
committerVinod Koul <vinod.koul@intel.com>
Wed, 14 Oct 2015 14:27:11 +0000 (19:57 +0530)
The upcoming change to merge the arch/arm/common/edma.c into
drivers/dma/edma.c will need this change when booting daVinci devices in
no DT mode.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
arch/arm/mach-davinci/devices-da8xx.c
arch/arm/mach-davinci/dm355.c
arch/arm/mach-davinci/dm644x.c
arch/arm/mach-davinci/dm646x.c

index 9f7d266faa0c23381d23cb7eca020328fd313d7a..28c90bc372bd4897540325659c8611ab0c37c584 100644 (file)
@@ -216,6 +216,7 @@ static struct resource da850_edma1_resources[] = {
 static const struct platform_device_info da8xx_edma0_device __initconst = {
        .name           = "edma",
        .id             = 0,
+       .dma_mask       = DMA_BIT_MASK(32),
        .res            = da8xx_edma0_resources,
        .num_res        = ARRAY_SIZE(da8xx_edma0_resources),
        .data           = &da8xx_edma0_pdata,
@@ -225,6 +226,7 @@ static const struct platform_device_info da8xx_edma0_device __initconst = {
 static const struct platform_device_info da850_edma1_device __initconst = {
        .name           = "edma",
        .id             = 1,
+       .dma_mask       = DMA_BIT_MASK(32),
        .res            = da850_edma1_resources,
        .num_res        = ARRAY_SIZE(da850_edma1_resources),
        .data           = &da850_edma1_pdata,
index 5f10c6695e3126a56b06d6d4935df33293f9c51d..609950b8c191191d61af90e28c97dd33c1bdefeb 100644 (file)
@@ -616,6 +616,7 @@ static struct resource edma_resources[] = {
 static const struct platform_device_info dm355_edma_device __initconst = {
        .name           = "edma",
        .id             = 0,
+       .dma_mask       = DMA_BIT_MASK(32),
        .res            = edma_resources,
        .num_res        = ARRAY_SIZE(edma_resources),
        .data           = &dm355_edma_pdata,
index aa3453b40d5f64761aac73bf5ea506f1cf2eeef0..d38f5049d56e02064a3208bf1403fdb7ea40c49c 100644 (file)
@@ -545,6 +545,7 @@ static struct resource edma_resources[] = {
 static const struct platform_device_info dm644x_edma_device __initconst = {
        .name           = "edma",
        .id             = 0,
+       .dma_mask       = DMA_BIT_MASK(32),
        .res            = edma_resources,
        .num_res        = ARRAY_SIZE(edma_resources),
        .data           = &dm644x_edma_pdata,
index 79c1d8917dd318e2215cd2906c6450b51d1f2e7d..70eb42725eecbae50a3d54afcb2fe8bb76b7fc26 100644 (file)
@@ -592,6 +592,7 @@ static struct resource edma_resources[] = {
 static const struct platform_device_info dm646x_edma_device __initconst = {
        .name           = "edma",
        .id             = 0,
+       .dma_mask       = DMA_BIT_MASK(32),
        .res            = edma_resources,
        .num_res        = ARRAY_SIZE(edma_resources),
        .data           = &dm646x_edma_pdata,