lkml.org 
[lkml]   [2009]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[patch 2/5] xtensa: add saa7121 to s6105 platform
Date
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2009-03-26 15:53    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site