Commit 6cfdf55b authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Sekhar Nori

ARM: davinci: dm646x: Add interrupt resource for McASPs

The interrupt can be used for error recovery.
Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
parent b3843414
...@@ -621,6 +621,16 @@ static struct resource dm646x_mcasp0_resources[] = { ...@@ -621,6 +621,16 @@ static struct resource dm646x_mcasp0_resources[] = {
.end = DAVINCI_DM646X_DMA_MCASP0_AREVT0, .end = DAVINCI_DM646X_DMA_MCASP0_AREVT0,
.flags = IORESOURCE_DMA, .flags = IORESOURCE_DMA,
}, },
{
.name = "tx",
.start = IRQ_DM646X_MCASP0TXINT,
.flags = IORESOURCE_IRQ,
},
{
.name = "rx",
.start = IRQ_DM646X_MCASP0RXINT,
.flags = IORESOURCE_IRQ,
},
}; };
/* DIT mode only, rx is not supported */ /* DIT mode only, rx is not supported */
...@@ -637,6 +647,11 @@ static struct resource dm646x_mcasp1_resources[] = { ...@@ -637,6 +647,11 @@ static struct resource dm646x_mcasp1_resources[] = {
.end = DAVINCI_DM646X_DMA_MCASP1_AXEVT1, .end = DAVINCI_DM646X_DMA_MCASP1_AXEVT1,
.flags = IORESOURCE_DMA, .flags = IORESOURCE_DMA,
}, },
{
.name = "tx",
.start = IRQ_DM646X_MCASP1TXINT,
.flags = IORESOURCE_IRQ,
},
}; };
static struct platform_device dm646x_mcasp0_device = { static struct platform_device dm646x_mcasp0_device = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment