mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Daniel Glöckner" <dg@emlix.com>
To: Chris Zankel <chris@zankel.net>
Cc: linux-kernel@vger.kernel.org, Oskar Schirmer <os@emlix.com>
Subject: [patch 4/5] xtensa: add resources for canonical data port modes to s6105 platform
Date: Thu, 26 Mar 2009 15:49:33 +0100	[thread overview]
Message-ID: <1238078974-26040-4-git-send-email-dg@emlix.com> (raw)
In-Reply-To: <1238078974-26040-1-git-send-email-dg@emlix.com>

From: Oskar Schirmer <os@emlix.com>

Signed-off-by: Oskar Schirmer <os@emlix.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


  parent reply	other threads:[~2009-03-26 14:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-26 14:49 [patch 1/5] xtensa: add s6000 data port " Daniel Glöckner
2009-03-26 14:49 ` [patch 2/5] xtensa: add saa7121 " Daniel Glöckner
2009-03-26 14:49 ` [patch 3/5] xtensa: add mt9d131l demo head " Daniel Glöckner
2009-03-26 14:49 ` Daniel Glöckner [this message]
2009-03-26 14:49 ` [patch 5/5] xtensa: s6000 video updates for s6105_defconfig Daniel Glöckner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1238078974-26040-4-git-send-email-dg@emlix.com \
    --to=dg@emlix.com \
    --cc=chris@zankel.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=os@emlix.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®