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)
51 lines
1.4 KiB
C
51 lines
1.4 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 the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
#ifndef _MTK_COOLER_SETTING_H
|
|
#define _MTK_COOLER_SETTING_H
|
|
|
|
/*=============================================================
|
|
* CONFIG (SW related)
|
|
*=============================================================
|
|
*/
|
|
/* mtk_cooler_mutt.c */
|
|
/* 1: turn on MD throttle V2 cooler; 0: turn off */
|
|
#define FEATURE_MUTT_V2 (1)
|
|
|
|
/* mtk_cooler_mutt.c */
|
|
/* 1: turn on MD Thermal Warning Notification; 0: turn off */
|
|
#define FEATURE_THERMAL_DIAG (1)
|
|
|
|
/* mtk_cooler_mutt.c */
|
|
/* 1: turn on adaptive MD throttle cooler; 0: turn off */
|
|
#define FEATURE_ADAPTIVE_MUTT (1)
|
|
|
|
/* mtk_ta.c */
|
|
/* 1: turn on SPA; 0: turn off */
|
|
#define FEATURE_SPA (0)
|
|
|
|
|
|
|
|
|
|
/* mtk_cooler_mutt.c*/
|
|
/*
|
|
* "GEN < 95 MD" --- not define FEATURE_MUTT_INTERFACE_VER
|
|
* "GEN >= 95 MD" --- define FEATURE_MUTT_INTERFACE_VER = 2 ,
|
|
* Add VER num to do version control if interface is changed in next GEN.
|
|
*/
|
|
#define FEATURE_MUTT_INTERFACE_VER (2)
|
|
|
|
|
|
|
|
#endif /* _MTK_COOLER_SETTING_H */
|