diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2015-03-12 04:06:26 -0400 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2015-03-18 06:22:04 -0400 |
commit | 80f7d0e03e759d19925608a9d4d395187b1f2006 (patch) | |
tree | 3e01d8882ab7ad5487057cd4398fb20f59cbbed6 | |
parent | 184981d204047d94161403d1f11c6b80ee0877ca (diff) |
ARM: davinci: devices-da8xx: Add interrupt resource to McASP structs
On da8xx McASP TX/RX interrupt requests are combined.
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/devices-da8xx.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/devices-da8xx.c b/arch/arm/mach-davinci/devices-da8xx.c index f35174317770..e15e046c5438 100644 --- a/arch/arm/mach-davinci/devices-da8xx.c +++ b/arch/arm/mach-davinci/devices-da8xx.c | |||
@@ -475,6 +475,11 @@ static struct resource da830_mcasp1_resources[] = { | |||
475 | .end = DAVINCI_DA830_DMA_MCASP1_AREVT, | 475 | .end = DAVINCI_DA830_DMA_MCASP1_AREVT, |
476 | .flags = IORESOURCE_DMA, | 476 | .flags = IORESOURCE_DMA, |
477 | }, | 477 | }, |
478 | { | ||
479 | .name = "common", | ||
480 | .start = IRQ_DA8XX_MCASPINT, | ||
481 | .flags = IORESOURCE_IRQ, | ||
482 | }, | ||
478 | }; | 483 | }; |
479 | 484 | ||
480 | static struct platform_device da830_mcasp1_device = { | 485 | static struct platform_device da830_mcasp1_device = { |
@@ -505,6 +510,11 @@ static struct resource da850_mcasp_resources[] = { | |||
505 | .end = DAVINCI_DA8XX_DMA_MCASP0_AREVT, | 510 | .end = DAVINCI_DA8XX_DMA_MCASP0_AREVT, |
506 | .flags = IORESOURCE_DMA, | 511 | .flags = IORESOURCE_DMA, |
507 | }, | 512 | }, |
513 | { | ||
514 | .name = "common", | ||
515 | .start = IRQ_DA8XX_MCASPINT, | ||
516 | .flags = IORESOURCE_IRQ, | ||
517 | }, | ||
508 | }; | 518 | }; |
509 | 519 | ||
510 | static struct platform_device da850_mcasp_device = { | 520 | static struct platform_device da850_mcasp_device = { |