2
* OMAP3/OMAP4 DVFS Management Routines
4
* Author: Vishwanath BS <vishwanath.bs@ti.com>
6
* Copyright (C) 2011 Texas Instruments, Inc.
7
* Vishwanath BS <vishwanath.bs@ti.com>
9
* This program is free software; you can redistribute it and/or modify
10
* it under the terms of the GNU General Public License version 2 as
11
* published by the Free Software Foundation.
14
#ifndef __ARCH_ARM_MACH_OMAP2_DVFS_H
15
#define __ARCH_ARM_MACH_OMAP2_DVFS_H
16
#include <plat/omap_hwmod.h>
20
int omap_dvfs_register_device(struct device *dev, char *voltdm_name,
22
int omap_device_scale(struct device *req_dev, struct device *target_dev,
25
static inline int omap_dvfs_register_device(struct omap_hwmod *oh,
27
static inline int omap_dvfs_register_device(struct device *dev,
28
char *voltdm_name, char *clk_name)
32
static inline int omap_device_scale(struct device *req_dev,
33
struct device *target_dev, unsigned long rate)