diff options
author | Thara Gopinath <thara@ti.com> | 2010-05-29 12:32:23 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-12-22 17:31:37 -0500 |
commit | 0c0a5d61ed9319e7e666990a7888f3b00868ac20 (patch) | |
tree | 7f2d7d97c6c9cd870e87ec69fd5496c0931c7acf /arch/arm/mach-omap2/pm.c | |
parent | 984aa6dbf4ca5be806fee217311c9cc68e8f2e88 (diff) |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c index e828616fa8b9..d702ba9405c5 100644 --- a/arch/arm/mach-omap2/pm.c +++ b/arch/arm/mach-omap2/pm.c | |||
@@ -21,6 +21,7 @@ | |||
21 | 21 | ||
22 | #include "powerdomain.h" | 22 | #include "powerdomain.h" |
23 | #include "clockdomain.h" | 23 | #include "clockdomain.h" |
24 | #include "pm.h" | ||
24 | 25 | ||
25 | static struct omap_device_pm_latency *pm_lats; | 26 | static struct omap_device_pm_latency *pm_lats; |
26 | 27 | ||
@@ -167,6 +168,7 @@ postcore_initcall(omap2_common_pm_init); | |||
167 | static int __init omap2_common_pm_late_init(void) | 168 | static int __init omap2_common_pm_late_init(void) |
168 | { | 169 | { |
169 | omap_voltage_late_init(); | 170 | omap_voltage_late_init(); |
171 | omap_devinit_smartreflex(); | ||
170 | 172 | ||
171 | return 0; | 173 | return 0; |
172 | } | 174 | } |