aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-3430sdp.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/board-3430sdp.c')
-rw-r--r--arch/arm/mach-omap2/board-3430sdp.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/arch/arm/mach-omap2/board-3430sdp.c b/arch/arm/mach-omap2/board-3430sdp.c
index 3726465d34e3..b12400e2c49a 100644
--- a/arch/arm/mach-omap2/board-3430sdp.c
+++ b/arch/arm/mach-omap2/board-3430sdp.c
@@ -528,20 +528,10 @@ static struct twl4030_platform_data sdp3430_twldata = {
528 .vpll2 = &sdp3430_vpll2, 528 .vpll2 = &sdp3430_vpll2,
529}; 529};
530 530
531static struct i2c_board_info __initdata sdp3430_i2c_boardinfo[] = {
532 {
533 I2C_BOARD_INFO("twl4030", 0x48),
534 .flags = I2C_CLIENT_WAKE,
535 .irq = INT_34XX_SYS_NIRQ,
536 .platform_data = &sdp3430_twldata,
537 },
538};
539
540static int __init omap3430_i2c_init(void) 531static int __init omap3430_i2c_init(void)
541{ 532{
542 /* i2c1 for PMIC only */ 533 /* i2c1 for PMIC only */
543 omap_register_i2c_bus(1, 2600, sdp3430_i2c_boardinfo, 534 omap3_pmic_init("twl4030", &sdp3430_twldata);
544 ARRAY_SIZE(sdp3430_i2c_boardinfo));
545 /* i2c2 on camera connector (for sensor control) and optional isp1301 */ 535 /* i2c2 on camera connector (for sensor control) and optional isp1301 */
546 omap_register_i2c_bus(2, 400, NULL, 0); 536 omap_register_i2c_bus(2, 400, NULL, 0);
547 /* i2c3 on display connector (for DVI, tfp410) */ 537 /* i2c3 on display connector (for DVI, tfp410) */