blob: ddbc2e95becca8d9189e5c6c1191113dc9a98b2f [file] [log] [blame]
Angel Ponsfeedf232020-04-05 13:22:01 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Stefan Reinauer49428d82013-02-21 15:48:37 -08002
3#ifndef LINK_THERMAL_H
4#define LINK_THERMAL_H
5
6/* Config TDP Sensor ID */
7#define CTDP_SENSOR_ID 9 /* PECI */
8
9/* Config TDP Nominal */
10#define CTDP_NOMINAL_THRESHOLD_OFF 0
11#define CTDP_NOMINAL_THRESHOLD_ON 0
12
13/* Config TDP Down */
14#define CTDP_DOWN_THRESHOLD_OFF 80
15#define CTDP_DOWN_THRESHOLD_ON 90
16
17/* Temperature which OS will shutdown at */
18#define CRITICAL_TEMPERATURE 104
19
20/* Temperature which OS will throttle CPU */
21#define PASSIVE_TEMPERATURE 100
22
23/* Tj_max value for calculating PECI CPU temperature */
24#define MAX_TEMPERATURE 105
25
26#endif