2020-04-05 13:22:44 +02:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2016-11-27 09:19:02 +01:00
|
|
|
|
|
|
|
#ifndef THERMAL_H
|
|
|
|
#define THERMAL_H
|
|
|
|
|
|
|
|
#define TEMPERATURE_SENSOR_ID 0 /* PECI */
|
|
|
|
|
|
|
|
/* Power level to set when EC requests throttle */
|
|
|
|
#define EC_THROTTLE_POWER_LIMIT 12 /* 12W */
|
|
|
|
|
|
|
|
/* Temperature which OS will shutdown at */
|
|
|
|
#define CRITICAL_TEMPERATURE 99
|
|
|
|
|
|
|
|
/* Temperature which OS will throttle CPU */
|
|
|
|
#define PASSIVE_TEMPERATURE 95
|
|
|
|
|
|
|
|
/* Tj_max value for calculating PECI CPU temperature */
|
|
|
|
#define MAX_TEMPERATURE 100
|
|
|
|
|
|
|
|
#endif
|