Kelvin Cheung | f29ad10 | 2014-10-10 11:40:01 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2014 Zhang, Keguang <keguang.zhang@gmail.com> |
| 3 | * |
| 4 | * Loongson 1 CPUFreq platform support. |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify it |
| 7 | * under the terms of the GNU General Public License as published by the |
| 8 | * Free Software Foundation; either version 2 of the License, or (at your |
| 9 | * option) any later version. |
| 10 | */ |
| 11 | |
| 12 | |
| 13 | #ifndef __ASM_MACH_LOONGSON1_CPUFREQ_H |
| 14 | #define __ASM_MACH_LOONGSON1_CPUFREQ_H |
| 15 | |
| 16 | struct plat_ls1x_cpufreq { |
| 17 | const char *clk_name; /* CPU clk */ |
| 18 | const char *osc_clk_name; /* OSC clk */ |
| 19 | unsigned int max_freq; /* in kHz */ |
| 20 | unsigned int min_freq; /* in kHz */ |
| 21 | }; |
| 22 | |
| 23 | #endif /* __ASM_MACH_LOONGSON1_CPUFREQ_H */ |