summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJonas Aaberg <jonas.aberg@stericsson.com>2011-09-15 10:50:07 +0200
committerRobert Marklund <robert.marklund@stericsson.com>2011-10-05 12:59:52 +0200
commitfcf3b0af2f7c37c29d0ab250b3d941be1ee674a7 (patch)
tree675da0920a4cee48eb8d82719b9c8f3528485071 /include
parentad187ec8ef1a47ee976f8330b1db8019694c101b (diff)
ARM: ux500: Add prcmu qos power
Change-Id: Ic803dcddb6656c4c4be82b49b11530624942012d Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32060
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/dbx500-prcmu.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/mfd/dbx500-prcmu.h b/include/linux/mfd/dbx500-prcmu.h
index 5290c12d184..7da5694f8ca 100644
--- a/include/linux/mfd/dbx500-prcmu.h
+++ b/include/linux/mfd/dbx500-prcmu.h
@@ -153,12 +153,14 @@ enum prcmu_clock {
* @APE_NO_CHANGE: The APE operating point is unchanged
* @APE_100_OPP: The new APE operating point is ape100opp
* @APE_50_OPP: 50%
+ * @APE_50_PARTLY_25_OPP: 50%, except some clocks at 25%.
*/
enum ape_opp {
APE_OPP_INIT = 0x00,
APE_NO_CHANGE = 0x01,
APE_100_OPP = 0x02,
- APE_50_OPP = 0x03
+ APE_50_OPP = 0x03,
+ APE_50_PARTLY_25_OPP = 0xFF,
};
/**
@@ -488,7 +490,7 @@ static inline void prcmu_get_abb_event_buffer(void __iomem **buf)
#define PRCMU_QOS_ARM_OPP 3
#define PRCMU_QOS_DEFAULT_VALUE -1
-#ifdef CONFIG_UX500_PRCMU_QOS_POWER
+#ifdef CONFIG_DBX500_PRCMU_QOS_POWER
unsigned long prcmu_qos_get_cpufreq_opp_delay(void);
void prcmu_qos_set_cpufreq_opp_delay(unsigned long);