OMAP3+: VP: move SoC-specific sys clock rate retreival late init
authorKevin Hilman <khilman@ti.com>
Tue, 5 Apr 2011 00:22:28 +0000 (17:22 -0700)
committerKevin Hilman <khilman@ti.com>
Thu, 15 Sep 2011 19:09:07 +0000 (12:09 -0700)
commit0e2f3d9cb8f3c6464ac24c489fa713699c037dd4
treeffd4a600b9152cba9b91d28d773b7f4623ef8e08
parent0ec3041e91cf365a76c81b224e85d3c2574fec23
OMAP3+: VP: move SoC-specific sys clock rate retreival late init

Add sys clock name and rate to struct voltage domain.  SoC specific
voltagedomain init code initializes sys clock name.  After clock
framework is initialized, voltage late init will then use use the
sys_clk rate to calculate the various timing that depend on that rate.

Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/voltage.c
arch/arm/mach-omap2/voltage.h
arch/arm/mach-omap2/voltagedomains3xxx_data.c
arch/arm/mach-omap2/voltagedomains44xx_data.c