summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2012-09-25 19:33:49 +0300
committerKevin Hilman <khilman@ti.com>2012-11-05 15:31:14 -0800
commit83b5b5519c24c2af3e31c723573fbfbf9ba1bbdb (patch)
treedcbaeae01f22aa435869bc4fe5a755430c285066 /arch/arm
parent00bd228ea9f7aad23f7933fa62a13d975d4b213a (diff)
downloadblackbird-op-linux-83b5b5519c24c2af3e31c723573fbfbf9ba1bbdb.tar.gz
blackbird-op-linux-83b5b5519c24c2af3e31c723573fbfbf9ba1bbdb.zip
ARM: OMAP4: TWL: enable high speed mode for PMIC communication
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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-omap2/omap_twl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap_twl.c b/arch/arm/mach-omap2/omap_twl.c
index 611cb63d5ce6..7ff9667d9761 100644
--- a/arch/arm/mach-omap2/omap_twl.c
+++ b/arch/arm/mach-omap2/omap_twl.c
@@ -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,
OpenPOWER on IntegriCloud