cpufreq.h 682 B

1234567891011121314151617181920212223
  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. #ifndef __ASM_MACH_LOONGSON32_CPUFREQ_H
  12. #define __ASM_MACH_LOONGSON32_CPUFREQ_H
  13. struct plat_ls1x_cpufreq {
  14. const char *clk_name; /* CPU clk */
  15. const char *osc_clk_name; /* OSC clk */
  16. unsigned int max_freq; /* in kHz */
  17. unsigned int min_freq; /* in kHz */
  18. };
  19. #endif /* __ASM_MACH_LOONGSON32_CPUFREQ_H */