2 * OMAP Voltage Management Routines
4 * Copyright (C) 2011, Texas Instruments, Inc.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
11 #ifndef __ARCH_ARM_OMAP_VOLTAGE_H
12 #define __ARCH_ARM_OMAP_VOLTAGE_H
16 struct voltagedomain *voltdm_lookup(const char *name);
17 int voltdm_scale(struct voltagedomain *voltdm, unsigned long target_volt);
18 unsigned long voltdm_get_voltage(struct voltagedomain *voltdm);