mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 17:06:45 +07:00
297a66221d
The cpufreq-dt driver is also used for systems with multiple clock/voltage domains for CPUs, i.e. multiple cpufreq policies in a system. And in such cases the platform users may want to enable "governor tunables per policy". Support that via platform data, as not all users of the driver would want that behavior. Reported-by: Juri Lelli <Juri.Lelli@arm.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
20 lines
446 B
C
20 lines
446 B
C
/*
|
|
* Copyright (C) 2016 Linaro
|
|
* Viresh Kumar <viresh.kumar@linaro.org>
|
|
*
|
|
* 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__
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct cpufreq_dt_platform_data {
|
|
bool have_governor_per_policy;
|
|
};
|
|
|
|
#endif /* __CPUFREQ_DT_H__ */
|