aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/devfreq/exynos4_bus.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/devfreq/exynos4_bus.h')
-rw-r--r--include/linux/devfreq/exynos4_bus.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/include/linux/devfreq/exynos4_bus.h b/include/linux/devfreq/exynos4_bus.h
new file mode 100644
index 0000000..24d3f73
--- /dev/null
+++ b/include/linux/devfreq/exynos4_bus.h
@@ -0,0 +1,28 @@
+/* include/linux/devfreq/exynos4_bus.h
+ *
+ * Copyright (c) 2012 Samsung Electronics Co., Ltd.
+ * http://www.samsung.com/
+ * MyungJoo Ham <myungjoo.ham@samsung.com>
+ *
+ * EXYNOS4 - Memory/Bus clock frequency scaling support in DEVFREQ framework
+ * This version supports EXYNOS4210 only. This changes bus frequencies
+ * and vddint voltages. Exynos4412/4212 should be able to be supported
+ * with minor modifications.
+ *
+ * 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 __EXYNOS4_BUS_H
+#define __EXYNOS4_BUS_H __FILE__
+
+#ifdef CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND
+#include <linux/devfreq.h>
+struct exynos4_bus_platdata {
+ struct devfreq_simple_ondemand_data threshold;
+ unsigned int polling_ms; /* 0 to use default(50) */
+};
+#endif
+
+#endif /* __EXYNOS4_BUS_H */