rk2928: add empty pmu.h, make driver happy

This commit is contained in:
黄涛
2012-08-09 12:05:09 +08:00
parent afd099f45c
commit 864efa1415

View File

@@ -0,0 +1,40 @@
#ifndef __MACH_PMU_H
#define __MACH_PMU_H
enum pmu_power_domain {
PD_A9_0 = 0,
PD_A9_1,
PD_ALIVE,
PD_RTC,
PD_SCU,
PD_CPU,
PD_PERI = 6,
PD_VIO,
PD_VIDEO,
PD_VCODEC = PD_VIDEO,
PD_GPU,
PD_DBG,
};
static inline bool pmu_power_domain_is_on(enum pmu_power_domain pd)
{
return true;
}
static inline void pmu_set_power_domain(enum pmu_power_domain pd, bool on)
{
}
enum pmu_idle_req {
IDLE_REQ_CPU = 0,
IDLE_REQ_PERI,
IDLE_REQ_GPU,
IDLE_REQ_VIDEO,
IDLE_REQ_VIO,
};
static inline void pmu_set_idle_request(enum pmu_idle_req req, bool idle)
{
}
#endif