blob: 6843fa1a608de8db0a29160e8871215f26e9d97a [file] [log] [blame]
Kelvin Cheungf29ad102014-10-10 11:40:01 +08001/*
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
Huacai Chen30ad29b2015-04-21 10:00:35 +080013#ifndef __ASM_MACH_LOONGSON32_CPUFREQ_H
14#define __ASM_MACH_LOONGSON32_CPUFREQ_H
Kelvin Cheungf29ad102014-10-10 11:40:01 +080015
16struct 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
Huacai Chen30ad29b2015-04-21 10:00:35 +080023#endif /* __ASM_MACH_LOONGSON32_CPUFREQ_H */