diff options
| author | Vladimir Tsunaev <vladimirt@motorola.com> | 2014-04-07 17:49:04 -0400 |
|---|---|---|
| committer | Vladimir Tsunaev <vladimirt@motorola.com> | 2014-04-09 12:41:45 -0400 |
| commit | 7a4ebf4705632ce917b0a2763cce983887f68f6d (patch) | |
| tree | ae483077483d022a044a902f2eb9b5e565ea2cf2 /arch/arm/mach-omap2/pm.c | |
| parent | 6ab4f940ebf41b66cfd220143747f7c5bdf3ecc8 (diff) | |
| download | olio-linux-3.10-7a4ebf4705632ce917b0a2763cce983887f68f6d.tar.xz olio-linux-3.10-7a4ebf4705632ce917b0a2763cce983887f68f6d.zip | |
IKXCLOCK-679 Add clock for VC VP and device omap_pmic
Change-Id: I1d6cf816aa9115a0a2baf9762162336d4204c071
Signed-off-by: Vladimir Tsunaev <vladimirt@motorola.com>
Diffstat (limited to 'arch/arm/mach-omap2/pm.c')
| -rw-r--r-- | arch/arm/mach-omap2/pm.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c index ce40d586464..f99dcf391e2 100644 --- a/arch/arm/mach-omap2/pm.c +++ b/arch/arm/mach-omap2/pm.c @@ -17,6 +17,7 @@ #include <linux/export.h> #include <linux/suspend.h> #include <linux/cpu.h> +#include <linux/of_platform.h> #include <asm/system_misc.h> @@ -308,6 +309,13 @@ int __init omap2_common_pm_late_init(void) /* Smartreflex device init */ omap_devinit_smartreflex(); + } else { + struct device_node *np; + np = of_find_node_by_name(NULL, "omap_pimic"); + if (np) { + of_platform_populate(np, NULL, NULL, NULL); + of_node_put(np); + } } /* cpufreq dummy device instantiation */ |