Skip to content

Commit cef5b0d

Browse files
Peter UjfalusiVinod Koul
authored andcommitted
ARM: davinci: Add dma_mask to eDMA devices
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 <[email protected]> Acked-by: Sekhar Nori <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
1 parent 7ab388e commit cef5b0d

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

arch/arm/mach-davinci/devices-da8xx.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ static struct resource da850_edma1_resources[] = {
216216
static const struct platform_device_info da8xx_edma0_device __initconst = {
217217
.name = "edma",
218218
.id = 0,
219+
.dma_mask = DMA_BIT_MASK(32),
219220
.res = da8xx_edma0_resources,
220221
.num_res = ARRAY_SIZE(da8xx_edma0_resources),
221222
.data = &da8xx_edma0_pdata,
@@ -225,6 +226,7 @@ static const struct platform_device_info da8xx_edma0_device __initconst = {
225226
static const struct platform_device_info da850_edma1_device __initconst = {
226227
.name = "edma",
227228
.id = 1,
229+
.dma_mask = DMA_BIT_MASK(32),
228230
.res = da850_edma1_resources,
229231
.num_res = ARRAY_SIZE(da850_edma1_resources),
230232
.data = &da850_edma1_pdata,

arch/arm/mach-davinci/dm355.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,7 @@ static struct resource edma_resources[] = {
616616
static const struct platform_device_info dm355_edma_device __initconst = {
617617
.name = "edma",
618618
.id = 0,
619+
.dma_mask = DMA_BIT_MASK(32),
619620
.res = edma_resources,
620621
.num_res = ARRAY_SIZE(edma_resources),
621622
.data = &dm355_edma_pdata,

arch/arm/mach-davinci/dm644x.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,7 @@ static struct resource edma_resources[] = {
545545
static const struct platform_device_info dm644x_edma_device __initconst = {
546546
.name = "edma",
547547
.id = 0,
548+
.dma_mask = DMA_BIT_MASK(32),
548549
.res = edma_resources,
549550
.num_res = ARRAY_SIZE(edma_resources),
550551
.data = &dm644x_edma_pdata,

arch/arm/mach-davinci/dm646x.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,7 @@ static struct resource edma_resources[] = {
592592
static const struct platform_device_info dm646x_edma_device __initconst = {
593593
.name = "edma",
594594
.id = 0,
595+
.dma_mask = DMA_BIT_MASK(32),
595596
.res = edma_resources,
596597
.num_res = ARRAY_SIZE(edma_resources),
597598
.data = &dm646x_edma_pdata,

0 commit comments

Comments
 (0)