]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP3: VC: calculate ramp times
authorTero Kristo <t-kristo@ti.com>
Tue, 25 Sep 2012 16:33:36 +0000 (19:33 +0300)
committerKevin Hilman <khilman@ti.com>
Mon, 5 Nov 2012 23:08:23 +0000 (15:08 -0800)
commit1976860bc47b29807b53e955bf41228094233b2e
treea36d476657fe2e3654c1a288e819eedd19bba548
parent979bc5a059c5528db95be4f730b65d13d6041610
ARM: OMAP3: VC: calculate ramp times

OMAP3 VC code now uses voltage deltas + slew rates for calculating actual
ramp times for voltage changes. Previously a static value was used.
Two calculation methods are provided: i2c_timings and off_timings.
I2C timings are used during retention or off mode transition which
is initiated over I2C, and OFF timings are used if PMIC signal
(nsleep) is used to control all the off mode voltages at the same time.

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