Vaibhav Hiremath | ce3fc89 | 2012-06-18 00:47:26 -0600 | [diff] [blame] | 1 | /* |
| 2 | * AM33XX voltage domain data |
| 3 | * |
| 4 | * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU General Public License as |
| 8 | * published by the Free Software Foundation version 2. |
| 9 | * |
| 10 | * This program is distributed "as is" WITHOUT ANY WARRANTY of any |
| 11 | * kind, whether express or implied; without even the implied warranty |
| 12 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | */ |
| 15 | |
| 16 | #include <linux/kernel.h> |
| 17 | #include <linux/init.h> |
| 18 | |
| 19 | #include "voltage.h" |
| 20 | |
| 21 | static struct voltagedomain am33xx_voltdm_mpu = { |
| 22 | .name = "mpu", |
| 23 | }; |
| 24 | |
| 25 | static struct voltagedomain am33xx_voltdm_core = { |
| 26 | .name = "core", |
| 27 | }; |
| 28 | |
| 29 | static struct voltagedomain am33xx_voltdm_rtc = { |
| 30 | .name = "rtc", |
| 31 | }; |
| 32 | |
| 33 | static struct voltagedomain *voltagedomains_am33xx[] __initdata = { |
| 34 | &am33xx_voltdm_mpu, |
| 35 | &am33xx_voltdm_core, |
| 36 | &am33xx_voltdm_rtc, |
| 37 | NULL, |
| 38 | }; |
| 39 | |
| 40 | void __init am33xx_voltagedomains_init(void) |
| 41 | { |
| 42 | voltdm_init(voltagedomains_am33xx); |
| 43 | } |