[patch 4/5] xtensa: add resources for canonical data port modes to s6105 platform

From: Daniel GlÃckner
Date: Thu Mar 26 2009 - 10:49:25 EST


From: Oskar Schirmer <os@xxxxxxxxx>

Signed-off-by: Oskar Schirmer <os@xxxxxxxxx>
---
arch/xtensa/platforms/s6105/device.c | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/arch/xtensa/platforms/s6105/device.c b/arch/xtensa/platforms/s6105/device.c
index ff047fc..dec1d88 100644
--- a/arch/xtensa/platforms/s6105/device.c
+++ b/arch/xtensa/platforms/s6105/device.c
@@ -59,6 +59,10 @@ static const signed char dp_irq_mappings[] = {
S6_INTC_DMA_DPTERMCNT(1),
S6_INTC_DMA_DPTERMCNT(2),
S6_INTC_DMA_DPTERMCNT(3),
+#ifdef CONFIG_VIDEO_S6000_CANONICAL
+ S6_INTC_DMA_LMSPENDCNT(9),
+ S6_INTC_DMA_LMSPENDCNT(10),
+#endif
-1
};

@@ -421,6 +425,15 @@ static struct resource s6_dp_resource[] = {
.start = (resource_size_t)DP_INTNUM,
.flags = IORESOURCE_IRQ,
},
+#ifdef CONFIG_VIDEO_S6000_CANONICAL
+ {
+ .start = (resource_size_t)
+ DMA_CHNL(S6_REG_LMSDMA, 9),
+ .end = (resource_size_t)
+ DMA_CHNL(S6_REG_LMSDMA, 10) + 0x100 - 1,
+ .flags = IORESOURCE_DMA,
+ },
+#endif
};

static struct platform_device platform_devices[] = {
--
1.6.2.107.ge47ee

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/