mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-19 09:04:57 +00:00
aae030fa32
Create basic voltagedomains for OMAP2 and associate OMAP2 powerdomains with the newly created voltage domains. While here, update copyright on powerdomain data to 2011. Signed-off-by: Kevin Hilman <khilman@ti.com>
32 lines
699 B
C
32 lines
699 B
C
/*
|
|
* OMAP3 voltage domain data
|
|
*
|
|
* Copyright (C) 2011 Texas Instruments, Inc.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
#include <linux/kernel.h>
|
|
#include <linux/init.h>
|
|
|
|
#include "voltage.h"
|
|
|
|
static struct voltagedomain omap2_voltdm_core = {
|
|
.name = "core",
|
|
};
|
|
|
|
static struct voltagedomain omap2_voltdm_wkup = {
|
|
.name = "wakeup",
|
|
};
|
|
|
|
static struct voltagedomain *voltagedomains_omap2[] __initdata = {
|
|
&omap2_voltdm_core,
|
|
&omap2_voltdm_wkup,
|
|
NULL,
|
|
};
|
|
|
|
void __init omap2xxx_voltagedomains_init(void)
|
|
{
|
|
voltdm_init(voltagedomains_omap2);
|
|
}
|