ARM: OMAP4: VC: setup I2C parameters based on board data
authorTero Kristo <t-kristo@ti.com>
Tue, 25 Sep 2012 16:33:48 +0000 (19:33 +0300)
committerKevin Hilman <khilman@ti.com>
Mon, 5 Nov 2012 23:31:12 +0000 (15:31 -0800)
commit00bd228ea9f7aad23f7933fa62a13d975d4b213a
treeaf86b29ef673efbc1e746bb279260482a6853ec7
parent2ceec7b25c3cde53c68e49d64950f2ad1cab307d
ARM: OMAP4: VC: setup I2C parameters based on board data

VC code now provides a table of pre-calculated I2C setup parameters,
which will be used based on the capacitance value calculated for the I2C
trace on the PCB. A default trace length of 6.3cm is used unless board
defines its own value during init. The parameters set will be the I2C
internal pull setup and the I2C timing parameters for high speed use
mode. Full speed mode is not supported as of now.

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