ARM: OMAP4: TWL: enable high speed mode for PMIC communication
authorTero Kristo <t-kristo@ti.com>
Tue, 25 Sep 2012 16:33:49 +0000 (19:33 +0300)
committerKevin Hilman <khilman@ti.com>
Mon, 5 Nov 2012 23:31:14 +0000 (15:31 -0800)
With the new parameters, I2C can now be put to high speed mode for
better performance.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/omap_twl.c

index 611cb63d5ce6533d908dc2c8ec4aa33f767bb715..7ff9667d976101766ddfe7a05af0d812c51de406 100644 (file)
@@ -218,6 +218,7 @@ static struct omap_voltdm_pmic omap4_core_pmic = {
        .i2c_slave_addr         = OMAP4_SRI2C_SLAVE_ADDR,
        .volt_reg_addr          = OMAP4_VDD_CORE_SR_VOLT_REG,
        .cmd_reg_addr           = OMAP4_VDD_CORE_SR_CMD_REG,
+       .i2c_high_speed         = true,
        .i2c_pad_load           = 3,
        .vsel_to_uv             = twl6030_vsel_to_uv,
        .uv_to_vsel             = twl6030_uv_to_vsel,