forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/mach-omap2/pm.c
....@@ -1,12 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * pm.c - Common OMAP2+ power management-related code
34 *
45 * Copyright (C) 2010 Texas Instruments, Inc.
56 * Copyright (C) 2010 Nokia Corporation
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License version 2 as
9
- * published by the Free Software Foundation.
107 */
118
129 #include <linux/kernel.h>
....@@ -30,6 +27,8 @@
3027 #include "powerdomain.h"
3128 #include "clockdomain.h"
3229 #include "pm.h"
30
+
31
+u32 enable_off_mode;
3332
3433 #ifdef CONFIG_SUSPEND
3534 /*
....@@ -151,6 +150,7 @@
151150 /* Init the voltage layer */
152151 omap3_twl_init();
153152 omap4_twl_init();
153
+ omap4_cpcap_init();
154154 omap_voltage_late_init();
155155
156156 /* Smartreflex device init */