1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 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 27