blob: 652a6149a099c620c4d9be8f135060d5ffca0a57 [file] [log] [blame]
/*
* Copyright (c) 2016 Park Bumgyu, Samsung Electronics Co., Ltd <bumgyu.park@samsung.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.
*
* Exynos ACME(A Cpufreq that Meets Every chipset) driver implementation
*/
#include <linux/cpufreq.h>
#define EXYNOS_UFC_TYPE_NAME_LEN 16
enum exynos_ufc_ctrl_type {
PM_QOS_MIN_LIMIT = 0,
PM_QOS_MIN_WO_BOOST_LIMIT,
PM_QOS_MAX_LIMIT,
TYPE_END,
};
enum exynos_ufc_execution_mode {
AARCH64_MODE = 0,
AARCH32_MODE,
MODE_END,
};
struct exynos_ufc_freq {
u32 master_freq;
u32 limit_freq;
u32 last_freq;
};
struct exynos_ufc_info {
struct list_head node;
int ctrl_type;
int exe_mode;
struct exynos_ufc_freq *freq_table;
};