aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorvikram pandita <vikram.pandita@ti.com>2009-11-22 13:11:31 -0500
committerTony Lindgren <tony@atomide.com>2009-11-22 13:24:33 -0500
commit6b61a83b31744d143b0e7bc92f463d831319eabc (patch)
tree26e06acf07ec6028822fb29ffb3a61b3d022b310 /arch
parent62d0b336d4b00bde6e3f0f155009975351823c54 (diff)
omap3: zoom: Drop i2c-1 speed to 2400
The I2C-1 bus frequency on zoom2/zoom3/sdp3630 should be 2.4 MHz. The speed is limited by TWL5030/GAIA; a higher speed could lead to errors on the interface. The maximum I2C speed depends on the system clock for GAIA: 2.2 MHz (sys-clk = 19.2 MHz) 2.4 MHz (sys-clk = 26 MHz) 2.9 MHz (sys-clk = 38.4 MHz) For Zoom2/Zoom3/SDP3630 the system clock is 26Mhz and hence choose 2.4Mhz for I2C1 bus speed Signed-off-by: Vikram Pandita <vikram.pandita@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch')
-rwxr-xr-x[-rw-r--r--]arch/arm/mach-omap2/board-zoom-peripherals.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-zoom-peripherals.c b/arch/arm/mach-omap2/board-zoom-peripherals.c
index 3535b7a73af7..f14baa392760 100644..100755
--- a/arch/arm/mach-omap2/board-zoom-peripherals.c
+++ b/arch/arm/mach-omap2/board-zoom-peripherals.c
@@ -243,7 +243,7 @@ static struct twl4030_platform_data zoom_twldata = {
243 243
244static struct i2c_board_info __initdata zoom_i2c_boardinfo[] = { 244static struct i2c_board_info __initdata zoom_i2c_boardinfo[] = {
245 { 245 {
246 I2C_BOARD_INFO("twl4030", 0x48), 246 I2C_BOARD_INFO("twl5030", 0x48),
247 .flags = I2C_CLIENT_WAKE, 247 .flags = I2C_CLIENT_WAKE,
248 .irq = INT_34XX_SYS_NIRQ, 248 .irq = INT_34XX_SYS_NIRQ,
249 .platform_data = &zoom_twldata, 249 .platform_data = &zoom_twldata,
@@ -252,7 +252,7 @@ static struct i2c_board_info __initdata zoom_i2c_boardinfo[] = {
252 252
253static int __init omap_i2c_init(void) 253static int __init omap_i2c_init(void)
254{ 254{
255 omap_register_i2c_bus(1, 2600, zoom_i2c_boardinfo, 255 omap_register_i2c_bus(1, 2400, zoom_i2c_boardinfo,
256 ARRAY_SIZE(zoom_i2c_boardinfo)); 256 ARRAY_SIZE(zoom_i2c_boardinfo));
257 omap_register_i2c_bus(2, 400, NULL, 0); 257 omap_register_i2c_bus(2, 400, NULL, 0);
258 omap_register_i2c_bus(3, 400, NULL, 0); 258 omap_register_i2c_bus(3, 400, NULL, 0);