Skip to content

Commit bfd46a5

Browse files
committed
ARM: OMAP: Fix i2c init for twl4030
Looks like 2600 kHz rate does not work reliably on 2430, so just use the 100 kHz rate. Otherwise the system often fails to boot properly with: omap_i2c omap_i2c.2: timeout waiting for bus ready omap_i2c omap_i2c.2: timeout waiting for bus ready twl: i2c_write failed to transfer all messages omap_i2c omap_i2c.2: timeout waiting for bus ready twl: i2c_write failed to transfer all messages omap_i2c omap_i2c.2: timeout waiting for bus ready twl: i2c_write failed to transfer all messages twl: clock init err [-110] omap_i2c omap_i2c.2: timeout waiting for bus ready twl: i2c_write failed to transfer all messages TWL4030 Unable to unlock IDCODE registers --110 Signed-off-by: Tony Lindgren <tony@atomide.com>
1 parent 3696d30 commit bfd46a5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎arch/arm/mach-omap2/board-2430sdp.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,8 @@ static int __init omap2430_i2c_init(void)
193193
{
194194
omap_register_i2c_bus(1, 100, sdp2430_i2c1_boardinfo,
195195
ARRAY_SIZE(sdp2430_i2c1_boardinfo));
196-
omap2_pmic_init("twl4030", &sdp2430_twldata);
196+
omap_pmic_init(2, 100, "twl4030", INT_24XX_SYS_NIRQ,
197+
&sdp2430_twldata);
197198
return 0;
198199
}
199200

0 commit comments

Comments
 (0)