Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
59 lines
1.3 KiB
C
59 lines
1.3 KiB
C
/*
|
|
* Copyright (C) 2018 MediaTek Inc.
|
|
*
|
|
* 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.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
* See http://www.gnu.org/licenses/gpl-2.0.html for more details.
|
|
*/
|
|
|
|
#ifndef __HELIO_DVFSRC_OPP_MT6768_H
|
|
#define __HELIO_DVFSRC_OPP_MT6768_H
|
|
|
|
#include <linux/pm_qos.h>
|
|
|
|
enum ddr_opp {
|
|
DDR_OPP_0 = 0,
|
|
DDR_OPP_1,
|
|
DDR_OPP_2,
|
|
DDR_OPP_NUM,
|
|
DDR_OPP_UNREQ = PM_QOS_DDR_OPP_DEFAULT_VALUE,
|
|
};
|
|
|
|
enum vcore_opp {
|
|
VCORE_OPP_0 = 0,
|
|
VCORE_OPP_1,
|
|
VCORE_OPP_2,
|
|
VCORE_OPP_3,
|
|
VCORE_OPP_NUM,
|
|
VCORE_OPP_UNREQ = PM_QOS_VCORE_OPP_DEFAULT_VALUE,
|
|
};
|
|
|
|
enum vcore_dvfs_opp {
|
|
VCORE_DVFS_OPP_0 = 0,
|
|
VCORE_DVFS_OPP_1,
|
|
VCORE_DVFS_OPP_2,
|
|
VCORE_DVFS_OPP_3,
|
|
VCORE_DVFS_OPP_4,
|
|
VCORE_DVFS_OPP_5,
|
|
VCORE_DVFS_OPP_6,
|
|
VCORE_DVFS_OPP_7,
|
|
VCORE_DVFS_OPP_8,
|
|
VCORE_DVFS_OPP_9,
|
|
VCORE_DVFS_OPP_10,
|
|
VCORE_DVFS_OPP_11,
|
|
VCORE_DVFS_OPP_12,
|
|
VCORE_DVFS_OPP_13,
|
|
VCORE_DVFS_OPP_14,
|
|
VCORE_DVFS_OPP_15,
|
|
VCORE_DVFS_OPP_NUM,
|
|
VCORE_DVFS_OPP_UNREQ = PM_QOS_VCORE_DVFS_FORCE_OPP_DEFAULT_VALUE,
|
|
};
|
|
|
|
#endif /* __HELIO_DVFSRC_OPP_MT6768_H */
|
|
|