mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-22 00:40:03 +00:00
![Thomas Petazzoni](/assets/img/avatar_default.png)
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>
22 lines
569 B
C
22 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__ */
|