diff options
Diffstat (limited to 'arch/arm/plat-s3c24xx/include')
-rw-r--r-- | arch/arm/plat-s3c24xx/include/plat/cpu-freq-core.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/plat-s3c24xx/include/plat/cpu-freq-core.h b/arch/arm/plat-s3c24xx/include/plat/cpu-freq-core.h index e078821b3605..7938fb0bc387 100644 --- a/arch/arm/plat-s3c24xx/include/plat/cpu-freq-core.h +++ b/arch/arm/plat-s3c24xx/include/plat/cpu-freq-core.h | |||
@@ -65,6 +65,31 @@ struct s3c_plltab { | |||
65 | }; | 65 | }; |
66 | 66 | ||
67 | /** | 67 | /** |
68 | * struct s3c_cpufreq_config - current cpu frequency configuration | ||
69 | * @freq: The current settings for the core clocks. | ||
70 | * @max: Maxium settings, derived from core, board and user settings. | ||
71 | * @pll: The PLL table entry for the current PLL settings. | ||
72 | * @divs: The divisor settings for the core clocks. | ||
73 | * @info: The current core driver information. | ||
74 | * @board: The information for the board we are running on. | ||
75 | * @lock_pll: Set if the PLL settings cannot be changed. | ||
76 | * | ||
77 | * This is for the core drivers that need to know information about | ||
78 | * the current settings and values. It should not be needed by any | ||
79 | * device drivers. | ||
80 | */ | ||
81 | struct s3c_cpufreq_config { | ||
82 | struct s3c_freq freq; | ||
83 | struct s3c_freq max; | ||
84 | struct cpufreq_frequency_table pll; | ||
85 | struct s3c_clkdivs divs; | ||
86 | struct s3c_cpufreq_info *info; /* for core, not drivers */ | ||
87 | struct s3c_cpufreq_board *board; | ||
88 | |||
89 | unsigned int lock_pll:1; | ||
90 | }; | ||
91 | |||
92 | /** | ||
68 | * struct s3c_cpufreq_info - Information for the CPU frequency driver. | 93 | * struct s3c_cpufreq_info - Information for the CPU frequency driver. |
69 | * @name: The name of this implementation. | 94 | * @name: The name of this implementation. |
70 | * @max: The maximum frequencies for the system. | 95 | * @max: The maximum frequencies for the system. |