diff options
author | Tero Kristo <t-kristo@ti.com> | 2011-07-28 14:48:56 +0300 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2011-09-15 12:09:22 -0700 |
commit | 42b43945e0f115412dd0b7f0c3609a8b6f24f5e5 (patch) | |
tree | 692e98bc340492ae45d44e64a4cafa6fa54c7fdc /arch | |
parent | 5876c940c0dee298e38fbf47ce67c9e220b0572c (diff) | |
download | linux-42b43945e0f115412dd0b7f0c3609a8b6f24f5e5.tar.bz2 |
omap: voltage: add a stub header file for external/regulator use
Needed as some of the voltage layer functionality is accessed from the
SMPS regulator driver.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/plat-omap/include/plat/voltage.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/voltage.h b/arch/arm/plat-omap/include/plat/voltage.h new file mode 100644 index 000000000000..0a6a482ec014 --- /dev/null +++ b/arch/arm/plat-omap/include/plat/voltage.h @@ -0,0 +1,20 @@ +/* + * OMAP Voltage Management Routines + * + * 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. + */ + +#ifndef __ARCH_ARM_OMAP_VOLTAGE_H +#define __ARCH_ARM_OMAP_VOLTAGE_H + +struct voltagedomain; + +struct voltagedomain *voltdm_lookup(const char *name); +int voltdm_scale(struct voltagedomain *voltdm, unsigned long target_volt); +unsigned long voltdm_get_voltage(struct voltagedomain *voltdm); + +#endif |