.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * pm.c - Common OMAP2+ power management-related code |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2010 Texas Instruments, Inc. |
---|
5 | 6 | * 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. |
---|
10 | 7 | */ |
---|
11 | 8 | |
---|
12 | 9 | #include <linux/kernel.h> |
---|
.. | .. |
---|
30 | 27 | #include "powerdomain.h" |
---|
31 | 28 | #include "clockdomain.h" |
---|
32 | 29 | #include "pm.h" |
---|
| 30 | + |
---|
| 31 | +u32 enable_off_mode; |
---|
33 | 32 | |
---|
34 | 33 | #ifdef CONFIG_SUSPEND |
---|
35 | 34 | /* |
---|
.. | .. |
---|
151 | 150 | /* Init the voltage layer */ |
---|
152 | 151 | omap3_twl_init(); |
---|
153 | 152 | omap4_twl_init(); |
---|
| 153 | + omap4_cpcap_init(); |
---|
154 | 154 | omap_voltage_late_init(); |
---|
155 | 155 | |
---|
156 | 156 | /* Smartreflex device init */ |
---|