aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pm.c
diff options
context:
space:
mode:
authorThara Gopinath <thara@ti.com>2010-05-29 22:02:23 +0530
committerKevin Hilman <khilman@deeprootsystems.com>2010-12-22 14:31:37 -0800
commit0c0a5d61ed9319e7e666990a7888f3b00868ac20 (patch)
tree7f2d7d97c6c9cd870e87ec69fd5496c0931c7acf /arch/arm/mach-omap2/pm.c
parent984aa6dbf4ca5be806fee217311c9cc68e8f2e88 (diff)
downloadkernel_samsung_smdk4412-0c0a5d61ed9319e7e666990a7888f3b00868ac20.zip
kernel_samsung_smdk4412-0c0a5d61ed9319e7e666990a7888f3b00868ac20.tar.gz
kernel_samsung_smdk4412-0c0a5d61ed9319e7e666990a7888f3b00868ac20.tar.bz2
OMAP3: PM: Adding smartreflex device file.
This patch adds support for device registration of various smartreflex module present in the system. This patch introduces the platform data for smartreflex devices which include the efused n-target vaules, a parameter to indicate whether smartreflex autocompensation needs to be enabled on init or not. An API omap_enable_smartreflex_on_init is provided for the board files to enable smartreflex autocompensation during system boot up. Signed-off-by: Thara Gopinath <thara@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-omap2/pm.c')
-rw-r--r--arch/arm/mach-omap2/pm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c
index e828616..d702ba9 100644
--- a/arch/arm/mach-omap2/pm.c
+++ b/arch/arm/mach-omap2/pm.c
@@ -21,6 +21,7 @@
#include "powerdomain.h"
#include "clockdomain.h"
+#include "pm.h"
static struct omap_device_pm_latency *pm_lats;
@@ -167,6 +168,7 @@ postcore_initcall(omap2_common_pm_init);
static int __init omap2_common_pm_late_init(void)
{
omap_voltage_late_init();
+ omap_devinit_smartreflex();
return 0;
}