summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-2430sdp.c
diff options
context:
space:
mode:
authorViral Mehta <viral.mehta@lntinfotech.com>2010-05-10 14:29:15 -0700
committerTony Lindgren <tony@atomide.com>2010-05-20 10:48:57 -0700
commit39ecc703d19da2e40296d84d487f843c03f82d25 (patch)
tree4cb1a0e34ba3182e63a4acc56da95734d93d0182 /arch/arm/mach-omap2/board-2430sdp.c
parentd22ae836d65f5b59ca91a14a7694e2b643c6cf63 (diff)
downloadop-kernel-dev-39ecc703d19da2e40296d84d487f843c03f82d25.zip
op-kernel-dev-39ecc703d19da2e40296d84d487f843c03f82d25.tar.gz
omap2: Add I2C bus 1 initialisation for 2430sdp
Initialize isp1301 FS USB transceiver and add I2C bus1 initialization code for OMAP2430 SDP Signed-off-by: Viral Mehta <viral.mehta@lntinfotech.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-2430sdp.c')
-rw-r--r--arch/arm/mach-omap2/board-2430sdp.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-2430sdp.c b/arch/arm/mach-omap2/board-2430sdp.c
index 01d113f..85f5f33 100644
--- a/arch/arm/mach-omap2/board-2430sdp.c
+++ b/arch/arm/mach-omap2/board-2430sdp.c
@@ -174,9 +174,18 @@ static struct i2c_board_info __initdata sdp2430_i2c_boardinfo[] = {
},
};
+static struct i2c_board_info __initdata sdp2430_i2c1_boardinfo[] = {
+ {
+ I2C_BOARD_INFO("isp1301_omap", 0x2D),
+ .flags = I2C_CLIENT_WAKE,
+ .irq = OMAP_GPIO_IRQ(78),
+ },
+};
+
static int __init omap2430_i2c_init(void)
{
- omap_register_i2c_bus(1, 400, NULL, 0);
+ omap_register_i2c_bus(1, 100, sdp2430_i2c1_boardinfo,
+ ARRAY_SIZE(sdp2430_i2c1_boardinfo));
omap_register_i2c_bus(2, 2600, sdp2430_i2c_boardinfo,
ARRAY_SIZE(sdp2430_i2c_boardinfo));
return 0;
OpenPOWER on IntegriCloud