summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2015-03-12 10:06:31 +0200
committerSekhar Nori <nsekhar@ti.com>2015-03-18 17:19:50 +0530
commit6cfdf55b7746a3b1bc324a9e64abe2f055368e6f (patch)
treed0ee5f2d3b8a2cc28ebf6bad959259df08079a57
parentb38434145b341c148b8d98cfbfc1e87bb4d9e2d9 (diff)
downloadop-kernel-dev-6cfdf55b7746a3b1bc324a9e64abe2f055368e6f.zip
op-kernel-dev-6cfdf55b7746a3b1bc324a9e64abe2f055368e6f.tar.gz
ARM: davinci: dm646x: Add interrupt resource for McASPs
The interrupt can be used for error recovery. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
-rw-r--r--arch/arm/mach-davinci/dm646x.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/dm646x.c b/arch/arm/mach-davinci/dm646x.c
index 58769ed..3f842bb 100644
--- a/arch/arm/mach-davinci/dm646x.c
+++ b/arch/arm/mach-davinci/dm646x.c
@@ -621,6 +621,16 @@ static struct resource dm646x_mcasp0_resources[] = {
.end = DAVINCI_DM646X_DMA_MCASP0_AREVT0,
.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 */
@@ -637,6 +647,11 @@ static struct resource dm646x_mcasp1_resources[] = {
.end = DAVINCI_DM646X_DMA_MCASP1_AXEVT1,
.flags = IORESOURCE_DMA,
},
+ {
+ .name = "tx",
+ .start = IRQ_DM646X_MCASP1TXINT,
+ .flags = IORESOURCE_IRQ,
+ },
};
static struct platform_device dm646x_mcasp0_device = {
OpenPOWER on IntegriCloud