aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorKukjin Kim <kgene.kim@samsung.com>2013-12-18 14:21:34 -0500
committerKukjin Kim <kgene.kim@samsung.com>2013-12-18 15:21:18 -0500
commitdf3e9c057e502c0d46ba37cbb67d52904e97b4c4 (patch)
treeb2107be3b5ded418a812b5690ad810106a9d40b9 /drivers/cpufreq
parent9c9239afe31f67d137ba6c45b244b509c2090567 (diff)
cpufreq: exynos: move definitions for exynos-cpufreq into drivers/cpufreq/
This moves regarding exynos-cpufreq definitions into drivers/cpufreq/ exynos-cpufreq.h because they are used only for the cpufreq driver. Cc: Rafael J. Wysocki <rjw@rjwysocki.net> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r--drivers/cpufreq/exynos-cpufreq.h22
-rw-r--r--drivers/cpufreq/exynos4210-cpufreq.c2
-rw-r--r--drivers/cpufreq/exynos4x12-cpufreq.c2
-rw-r--r--drivers/cpufreq/exynos5250-cpufreq.c1
4 files changed, 22 insertions, 5 deletions
diff --git a/drivers/cpufreq/exynos-cpufreq.h b/drivers/cpufreq/exynos-cpufreq.h
index 7f25cee8cec2..3ddade8a5125 100644
--- a/drivers/cpufreq/exynos-cpufreq.h
+++ b/drivers/cpufreq/exynos-cpufreq.h
@@ -67,3 +67,25 @@ static inline int exynos5250_cpufreq_init(struct exynos_dvfs_info *info)
67 return -EOPNOTSUPP; 67 return -EOPNOTSUPP;
68} 68}
69#endif 69#endif
70
71#include <plat/cpu.h>
72#include <mach/map.h>
73
74#define EXYNOS4_CLKSRC_CPU (S5P_VA_CMU + 0x14200)
75#define EXYNOS4_CLKMUX_STATCPU (S5P_VA_CMU + 0x14400)
76
77#define EXYNOS4_CLKDIV_CPU (S5P_VA_CMU + 0x14500)
78#define EXYNOS4_CLKDIV_CPU1 (S5P_VA_CMU + 0x14504)
79#define EXYNOS4_CLKDIV_STATCPU (S5P_VA_CMU + 0x14600)
80#define EXYNOS4_CLKDIV_STATCPU1 (S5P_VA_CMU + 0x14604)
81
82#define EXYNOS4_CLKSRC_CPU_MUXCORE_SHIFT (16)
83#define EXYNOS4_CLKMUX_STATCPU_MUXCORE_MASK (0x7 << EXYNOS4_CLKSRC_CPU_MUXCORE_SHIFT)
84
85#define EXYNOS5_APLL_LOCK (S5P_VA_CMU + 0x00000)
86#define EXYNOS5_APLL_CON0 (S5P_VA_CMU + 0x00100)
87#define EXYNOS5_CLKMUX_STATCPU (S5P_VA_CMU + 0x00400)
88#define EXYNOS5_CLKDIV_CPU0 (S5P_VA_CMU + 0x00500)
89#define EXYNOS5_CLKDIV_CPU1 (S5P_VA_CMU + 0x00504)
90#define EXYNOS5_CLKDIV_STATCPU0 (S5P_VA_CMU + 0x00600)
91#define EXYNOS5_CLKDIV_STATCPU1 (S5P_VA_CMU + 0x00604)
diff --git a/drivers/cpufreq/exynos4210-cpufreq.c b/drivers/cpufreq/exynos4210-cpufreq.c
index f2c75065ce19..05d166d837cf 100644
--- a/drivers/cpufreq/exynos4210-cpufreq.c
+++ b/drivers/cpufreq/exynos4210-cpufreq.c
@@ -17,8 +17,6 @@
17#include <linux/slab.h> 17#include <linux/slab.h>
18#include <linux/cpufreq.h> 18#include <linux/cpufreq.h>
19 19
20#include <mach/regs-clock.h>
21
22#include "exynos-cpufreq.h" 20#include "exynos-cpufreq.h"
23 21
24static struct clk *cpu_clk; 22static struct clk *cpu_clk;
diff --git a/drivers/cpufreq/exynos4x12-cpufreq.c b/drivers/cpufreq/exynos4x12-cpufreq.c
index 8683304ce62c..bd795b0d25e1 100644
--- a/drivers/cpufreq/exynos4x12-cpufreq.c
+++ b/drivers/cpufreq/exynos4x12-cpufreq.c
@@ -17,8 +17,6 @@
17#include <linux/slab.h> 17#include <linux/slab.h>
18#include <linux/cpufreq.h> 18#include <linux/cpufreq.h>
19 19
20#include <mach/regs-clock.h>
21
22#include "exynos-cpufreq.h" 20#include "exynos-cpufreq.h"
23 21
24static struct clk *cpu_clk; 22static struct clk *cpu_clk;
diff --git a/drivers/cpufreq/exynos5250-cpufreq.c b/drivers/cpufreq/exynos5250-cpufreq.c
index 9fae466d7746..ec99432a62f5 100644
--- a/drivers/cpufreq/exynos5250-cpufreq.c
+++ b/drivers/cpufreq/exynos5250-cpufreq.c
@@ -18,7 +18,6 @@
18#include <linux/cpufreq.h> 18#include <linux/cpufreq.h>
19 19
20#include <mach/map.h> 20#include <mach/map.h>
21#include <mach/regs-clock.h>
22 21
23#include "exynos-cpufreq.h" 22#include "exynos-cpufreq.h"
24 23