mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 04:50:57 +07:00
34e5a5273d
This commit extends the cpufreq-dt driver to take a platform_data structure. This structure is for now used to tell the cpufreq-dt driver the layout of the clocks on the platform, i.e whether all CPUs share the same clock or whether each CPU has a separate clock. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
23 lines
569 B
C
23 lines
569 B
C
/*
|
|
* Copyright (C) 2014 Marvell
|
|
* Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef __CPUFREQ_DT_H__
|
|
#define __CPUFREQ_DT_H__
|
|
|
|
struct cpufreq_dt_platform_data {
|
|
/*
|
|
* True when each CPU has its own clock to control its
|
|
* frequency, false when all CPUs are controlled by a single
|
|
* clock.
|
|
*/
|
|
bool independent_clocks;
|
|
};
|
|
|
|
#endif /* __CPUFREQ_DT_H__ */
|