From a3105a9772402eb6d42da62f6e192b4dcd3e3bc1 Mon Sep 17 00:00:00 2001 From: Tero Kristo Date: Thu, 28 Jul 2011 14:48:56 +0300 Subject: [PATCH] --- yaml --- r: 272759 b: refs/heads/master c: 42b43945e0f115412dd0b7f0c3609a8b6f24f5e5 h: refs/heads/master i: 272757: 5a8ea4c8863ab75696ac5650c65b41f1637e91bd 272755: eaa8ad1c2c9ab31a51a48e92545eee4d2a3eaec7 272751: dbae8ec725878847e22a97ee8e6557b9e872ed2f v: v3 --- [refs] | 2 +- .../arch/arm/plat-omap/include/plat/voltage.h | 20 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 trunk/arch/arm/plat-omap/include/plat/voltage.h diff --git a/[refs] b/[refs] index 9b08069da030..c262bf4ed684 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5876c940c0dee298e38fbf47ce67c9e220b0572c +refs/heads/master: 42b43945e0f115412dd0b7f0c3609a8b6f24f5e5 diff --git a/trunk/arch/arm/plat-omap/include/plat/voltage.h b/trunk/arch/arm/plat-omap/include/plat/voltage.h new file mode 100644 index 000000000000..0a6a482ec014 --- /dev/null +++ b/trunk/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