diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-4430sdp.c')
-rw-r--r-- | arch/arm/mach-omap2/board-4430sdp.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index 6cce6f229799..41fed9235f81 100644 --- a/arch/arm/mach-omap2/board-4430sdp.c +++ b/arch/arm/mach-omap2/board-4430sdp.c | |||
@@ -135,11 +135,23 @@ static struct omap_musb_board_data musb_board_data = { | |||
135 | .mode = MUSB_PERIPHERAL, | 135 | .mode = MUSB_PERIPHERAL, |
136 | .power = 100, | 136 | .power = 100, |
137 | }; | 137 | }; |
138 | 138 | static int __init omap4_i2c_init(void) | |
139 | { | ||
140 | /* | ||
141 | * Phoenix Audio IC needs I2C1 to | ||
142 | * start with 400 KHz or less | ||
143 | */ | ||
144 | omap_register_i2c_bus(1, 400, NULL, 0); | ||
145 | omap_register_i2c_bus(2, 400, NULL, 0); | ||
146 | omap_register_i2c_bus(3, 400, NULL, 0); | ||
147 | omap_register_i2c_bus(4, 400, NULL, 0); | ||
148 | return 0; | ||
149 | } | ||
139 | static void __init omap_4430sdp_init(void) | 150 | static void __init omap_4430sdp_init(void) |
140 | { | 151 | { |
141 | int status; | 152 | int status; |
142 | 153 | ||
154 | omap4_i2c_init(); | ||
143 | platform_add_devices(sdp4430_devices, ARRAY_SIZE(sdp4430_devices)); | 155 | platform_add_devices(sdp4430_devices, ARRAY_SIZE(sdp4430_devices)); |
144 | omap_serial_init(); | 156 | omap_serial_init(); |
145 | /* OMAP4 SDP uses internal transceiver so register nop transceiver */ | 157 | /* OMAP4 SDP uses internal transceiver so register nop transceiver */ |