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)
29 lines
764 B
Devicetree
29 lines
764 B
Devicetree
/*
|
|
* Device Tree Source for OMAP543x SoC GPU thermal
|
|
*
|
|
* Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
|
|
* Contact: Eduardo Valentin <eduardo.valentin@ti.com>
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public License
|
|
* version 2. This program is licensed "as is" without any warranty of any
|
|
* kind, whether express or implied.
|
|
*/
|
|
|
|
#include <dt-bindings/thermal/thermal.h>
|
|
|
|
gpu_thermal: gpu_thermal {
|
|
polling-delay-passive = <250>; /* milliseconds */
|
|
polling-delay = <500>; /* milliseconds */
|
|
|
|
/* sensor ID */
|
|
thermal-sensors = <&bandgap 1>;
|
|
|
|
trips {
|
|
gpu_crit: gpu_crit {
|
|
temperature = <125000>; /* milliCelsius */
|
|
hysteresis = <2000>; /* milliCelsius */
|
|
type = "critical";
|
|
};
|
|
};
|
|
};
|