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, "Daniel Glöckner" <dg@emlix.com>
Subject: [patch 2/5] xtensa: add saa7121 to s6105 platform
Date: Thu, 26 Mar 2009 15:49:31 +0100	[thread overview]
Message-ID: <1238078974-26040-2-git-send-email-dg@emlix.com> (raw)
In-Reply-To: <1238078974-26040-1-git-send-email-dg@emlix.com>

Signed-off-by: Daniel Glöckner <dg@emlix.com>
---
 arch/xtensa/platforms/s6105/device.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/arch/xtensa/platforms/s6105/device.c b/arch/xtensa/platforms/s6105/device.c
index 9238d24..07fb329 100644
--- a/arch/xtensa/platforms/s6105/device.c
+++ b/arch/xtensa/platforms/s6105/device.c
@@ -202,6 +202,11 @@ static struct resource s6_i2c_resource[] = {
 #define S6I2C_ADDR_PCA9543	0x73
 
 static struct s6dp_link s6dp_links[] = {
+	{
+		.port_mask = 1 << 2,
+		.is_egress = 1,
+		.minor = 2,
+	},
 	{ }
 };
 
@@ -212,6 +217,10 @@ static struct i2c_board_info __initdata s6_i2c_devices[] = {
 	{
 		I2C_BOARD_INFO("m41t62", S6I2C_ADDR_M41T62),
 	},
+	{
+		I2C_BOARD_INFO("saa7121", S6I2C_ADDR_SAA7121),
+		.platform_data = &s6dp_links[0],
+	},
 };
 
 static struct resource s6_isef_resource[] = {
-- 
1.6.2.107.ge47ee


  reply	other threads:[~2009-03-26 14:48 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 ` Daniel Glöckner [this message]
2009-03-26 14:49 ` [patch 3/5] xtensa: add mt9d131l demo head " Daniel Glöckner
2009-03-26 14:49 ` [patch 4/5] xtensa: add resources for canonical data port modes " Daniel Glöckner
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-2-git-send-email-dg@emlix.com \
    --to=dg@emlix.com \
    --cc=chris@zankel.net \
    --cc=linux-kernel@vger.kernel.org \
    /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®