diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-omap4panda.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap4panda.c | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c index f3a7b1011914..7eaad629c4c2 100644 --- a/arch/arm/mach-omap2/board-omap4panda.c +++ b/arch/arm/mach-omap2/board-omap4panda.c | |||
@@ -46,6 +46,7 @@ | |||
46 | #include "hsmmc.h" | 46 | #include "hsmmc.h" |
47 | #include "control.h" | 47 | #include "control.h" |
48 | #include "mux.h" | 48 | #include "mux.h" |
49 | #include "common-board-devices.h" | ||
49 | 50 | ||
50 | #define GPIO_HUB_POWER 1 | 51 | #define GPIO_HUB_POWER 1 |
51 | #define GPIO_HUB_NRESET 62 | 52 | #define GPIO_HUB_NRESET 62 |
@@ -408,15 +409,6 @@ static struct twl4030_platform_data omap4_panda_twldata = { | |||
408 | .usb = &omap4_usbphy_data, | 409 | .usb = &omap4_usbphy_data, |
409 | }; | 410 | }; |
410 | 411 | ||
411 | static struct i2c_board_info __initdata omap4_panda_i2c_boardinfo[] = { | ||
412 | { | ||
413 | I2C_BOARD_INFO("twl6030", 0x48), | ||
414 | .flags = I2C_CLIENT_WAKE, | ||
415 | .irq = OMAP44XX_IRQ_SYS_1N, | ||
416 | .platform_data = &omap4_panda_twldata, | ||
417 | }, | ||
418 | }; | ||
419 | |||
420 | /* | 412 | /* |
421 | * Display monitor features are burnt in their EEPROM as EDID data. The EEPROM | 413 | * Display monitor features are burnt in their EEPROM as EDID data. The EEPROM |
422 | * is connected as I2C slave device, and can be accessed at address 0x50 | 414 | * is connected as I2C slave device, and can be accessed at address 0x50 |
@@ -429,12 +421,7 @@ static struct i2c_board_info __initdata panda_i2c_eeprom[] = { | |||
429 | 421 | ||
430 | static int __init omap4_panda_i2c_init(void) | 422 | static int __init omap4_panda_i2c_init(void) |
431 | { | 423 | { |
432 | /* | 424 | omap4_pmic_init("twl6030", &omap4_panda_twldata); |
433 | * Phoenix Audio IC needs I2C1 to | ||
434 | * start with 400 KHz or less | ||
435 | */ | ||
436 | omap_register_i2c_bus(1, 400, omap4_panda_i2c_boardinfo, | ||
437 | ARRAY_SIZE(omap4_panda_i2c_boardinfo)); | ||
438 | omap_register_i2c_bus(2, 400, NULL, 0); | 425 | omap_register_i2c_bus(2, 400, NULL, 0); |
439 | /* | 426 | /* |
440 | * Bus 3 is attached to the DVI port where devices like the pico DLP | 427 | * Bus 3 is attached to the DVI port where devices like the pico DLP |