1 /* 2 * OMAP Voltage Management Routines 3 * 4 * Copyright (C) 2011, Texas Instruments, Inc. 5 * 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. 9 */ 10 11 #ifndef __ARCH_ARM_OMAP_VOLTAGE_H 12 #define __ARCH_ARM_OMAP_VOLTAGE_H 13 14 struct voltagedomain; 15 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); 19 20 #endif 21