| 1 | // SPDX-License-Identifier: GPL-2.0-only |
|---|---|
| 2 | /* |
| 3 | * OMAP3 voltage domain data |
| 4 | * |
| 5 | * Copyright (C) 2011 Texas Instruments, Inc. |
| 6 | */ |
| 7 | #include <linux/kernel.h> |
| 8 | #include <linux/init.h> |
| 9 | |
| 10 | #include "voltage.h" |
| 11 | |
| 12 | static struct voltagedomain omap2_voltdm_core = { |
| 13 | .name = "core", |
| 14 | }; |
| 15 | |
| 16 | static struct voltagedomain omap2_voltdm_wkup = { |
| 17 | .name = "wakeup", |
| 18 | }; |
| 19 | |
| 20 | static struct voltagedomain *voltagedomains_omap2[] __initdata = { |
| 21 | &omap2_voltdm_core, |
| 22 | &omap2_voltdm_wkup, |
| 23 | NULL, |
| 24 | }; |
| 25 | |
| 26 | void __init omap2xxx_voltagedomains_init(void) |
| 27 | { |
| 28 | voltdm_init(voltdm_list: voltagedomains_omap2); |
| 29 | } |
| 30 |
