[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1238078974-26040-4-git-send-email-dg@emlix.com>
Date: Thu, 26 Mar 2009 15:49:33 +0100
From: Daniel Glöckner <dg@...ix.com>
To: Chris Zankel <chris@...kel.net>
Cc: linux-kernel@...r.kernel.org, Oskar Schirmer <os@...ix.com>
Subject: [patch 4/5] xtensa: add resources for canonical data port modes to s6105 platform
From: Oskar Schirmer <os@...ix.com>
Signed-off-by: Oskar Schirmer <os@...ix.com>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists