• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * OMAP3 voltage domain data
3  *
4  * Copyright (C) 2011 Texas Instruments, Inc.
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  */
10 #include <linux/kernel.h>
11 #include <linux/init.h>
12 
13 #include "voltage.h"
14 
15 static struct voltagedomain omap2_voltdm_core = {
16 	.name = "core",
17 };
18 
19 static struct voltagedomain omap2_voltdm_wkup = {
20 	.name = "wakeup",
21 };
22 
23 static struct voltagedomain *voltagedomains_omap2[] __initdata = {
24 	&omap2_voltdm_core,
25 	&omap2_voltdm_wkup,
26 	NULL,
27 };
28 
omap2xxx_voltagedomains_init(void)29 void __init omap2xxx_voltagedomains_init(void)
30 {
31 	voltdm_init(voltagedomains_omap2);
32 }
33