Commit a8ef64e4 authored by Pali Rohár's avatar Pali Rohár Committed by Lokesh Vutla
Browse files

Nokia RX-51: Decrease i2c speed to 100000



It looks like that i2c bus lot of times timeout on some units. Prior
migration to CONFIG_DM_I2C i2c speed was set to CONFIG_SYS_OMAP24_I2C_SPEED
value which was 100000. Lower speed fixes timeout problems, so change speed
back to its previous value.
Signed-off-by: default avatarPali Rohár <pali@kernel.org>
Fixes: 8d8c1817

 ("Nokia RX-51: Convert to CONFIG_DM_I2C")
Reviewed-by: default avatarPavel Machek <pavel@ucw.cz>
Signed-off-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
parent c15f44ac
...@@ -704,9 +704,9 @@ void board_mmc_power_init(void) ...@@ -704,9 +704,9 @@ void board_mmc_power_init(void)
} }
static const struct omap_i2c_platdata rx51_i2c[] = { static const struct omap_i2c_platdata rx51_i2c[] = {
{ I2C_BASE1, 2200000, OMAP_I2C_REV_V1 }, { I2C_BASE1, 100000, OMAP_I2C_REV_V1 },
{ I2C_BASE2, 100000, OMAP_I2C_REV_V1 }, { I2C_BASE2, 100000, OMAP_I2C_REV_V1 },
{ I2C_BASE3, 400000, OMAP_I2C_REV_V1 }, { I2C_BASE3, 100000, OMAP_I2C_REV_V1 },
}; };
U_BOOT_DEVICES(rx51_i2c) = { U_BOOT_DEVICES(rx51_i2c) = {
......
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