[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1238078974-26040-2-git-send-email-dg@emlix.com>
Date: Thu, 26 Mar 2009 15:49:31 +0100
From: Daniel Glöckner <dg@...ix.com>
To: Chris Zankel <chris@...kel.net>
Cc: linux-kernel@...r.kernel.org,
Daniel Glöckner <dg@...ix.com>
Subject: [patch 2/5] xtensa: add saa7121 to s6105 platform
Signed-off-by: Daniel Glöckner <dg@...ix.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
--
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