Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  * OMAP3 voltage domain data
0004  *
0005  * Copyright (C) 2011 Texas Instruments, Inc.
0006  */
0007 #include <linux/kernel.h>
0008 #include <linux/init.h>
0009 
0010 #include "voltage.h"
0011 
0012 static struct voltagedomain omap2_voltdm_core = {
0013     .name = "core",
0014 };
0015 
0016 static struct voltagedomain omap2_voltdm_wkup = {
0017     .name = "wakeup",
0018 };
0019 
0020 static struct voltagedomain *voltagedomains_omap2[] __initdata = {
0021     &omap2_voltdm_core,
0022     &omap2_voltdm_wkup,
0023     NULL,
0024 };
0025 
0026 void __init omap2xxx_voltagedomains_init(void)
0027 {
0028     voltdm_init(voltagedomains_omap2);
0029 }