From 864efa14152255e349744f2dcaaf4ac43ed936b3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Thu, 9 Aug 2012 12:05:09 +0800 Subject: [PATCH] rk2928: add empty pmu.h, make driver happy --- arch/arm/mach-rk2928/include/mach/pmu.h | 40 +++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 arch/arm/mach-rk2928/include/mach/pmu.h diff --git a/arch/arm/mach-rk2928/include/mach/pmu.h b/arch/arm/mach-rk2928/include/mach/pmu.h new file mode 100644 index 000000000000..a57612280bc6 --- /dev/null +++ b/arch/arm/mach-rk2928/include/mach/pmu.h @@ -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 -- 2.34.1