davinci-cpufreq.h 428 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * TI DaVinci CPUFreq platform support.
  4. *
  5. * Copyright (C) 2009 Texas Instruments, Inc. https://www.ti.com/
  6. */
  7. #ifndef _MACH_DAVINCI_CPUFREQ_H
  8. #define _MACH_DAVINCI_CPUFREQ_H
  9. #include <linux/cpufreq.h>
  10. struct davinci_cpufreq_config {
  11. struct cpufreq_frequency_table *freq_table;
  12. int (*set_voltage)(unsigned int index);
  13. int (*init)(void);
  14. };
  15. #endif /* _MACH_DAVINCI_CPUFREQ_H */