Commit 39ecc703 authored by Viral Mehta's avatar Viral Mehta Committed by Tony Lindgren
Browse files

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: default avatarViral Mehta <viral.mehta@lntinfotech.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent d22ae836
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment