summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRanjani Vaidyanathan <ra5478@freescale.com>2013-08-20 14:30:16 -0500
committerJason Liu <r64343@freescale.com>2013-08-23 07:30:33 +0800
commit6f2aa2a30bde453abb07cf1755d31cf9a2e8dce4 (patch)
treeb7ad372e908124d4eeb076eb64c20420454c8ea0 /include
parentae2177cf5d06552cae25d683971f0ea4325dcff8 (diff)
ENGR00275974-1 [iMX6DQ/iMX6DL] Add busfreq support
Add support to drop DDR and AHB frequency to 24MHz in system IDLE state. Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/busfreq-imx6.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/linux/busfreq-imx6.h b/include/linux/busfreq-imx6.h
new file mode 100644
index 000000000000..18eb0f874a7a
--- /dev/null
+++ b/include/linux/busfreq-imx6.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright 2012-2013 Freescale Semiconductor, Inc. All Rights Reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef __ASM_ARCH_MXC_BUSFREQ_H__
+#define __ASM_ARCH_MXC_BUSFREQ_H__
+
+/*
+ * This enumerates busfreq mode.
+ */
+enum bus_freq_mode {
+ BUS_FREQ_HIGH,
+ BUS_FREQ_MED,
+ BUS_FREQ_AUDIO,
+ BUS_FREQ_LOW,
+};
+void request_bus_freq(enum bus_freq_mode mode);
+void release_bus_freq(enum bus_freq_mode mode);
+#endif