]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
To fix HS I2C driver for OMAP2430
authorSyed Mohammed, Khasim <x0khasim@ti.com>
Fri, 31 Aug 2007 18:27:39 +0000 (11:27 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 31 Aug 2007 18:27:39 +0000 (11:27 -0700)
This should fix HSI2C, Keypad and T2 failures on 2430SDP

Signed-off-by: Syed Mohammed Khasim <x0khasim@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/clock.h

index be5df90bad24ea0c40808802175dd65e69928b0f..714af90f72d17f29cee75625c0dfdba08cddc5a0 100644 (file)
@@ -2221,7 +2221,7 @@ static struct clk i2c2_ick = {
        .name           = "i2c_ick",
        .id             = 2,
        .parent         = &l4_ck,
-       .flags          = CLOCK_IN_OMAP242X,
+       .flags          = CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X,
        .enable_reg     = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1),
        .enable_bit     = OMAP2420_EN_I2C2_SHIFT,
        .recalc         = &followparent_recalc,
@@ -2251,7 +2251,7 @@ static struct clk i2c1_ick = {
        .name           = "i2c_ick",
        .id             = 1,
        .parent         = &l4_ck,
-       .flags          = CLOCK_IN_OMAP242X,
+       .flags          = CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X,
        .enable_reg     = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1),
        .enable_bit     = OMAP2420_EN_I2C1_SHIFT,
        .recalc         = &followparent_recalc,