galtic: Update EC thermal table
Update EC thermal table for throttle and shutdown point.
BRANCH=firmware-dedede-13606.B
TEST=make BOARD=galtic
1. Verified pass by thermal team.
@@ -594,6 +594,40 @@ const struct temp_sensor_t temp_sensors[] = {
};
BUILD_ASSERT(ARRAY_SIZE(temp_sensors) == TEMP_SENSOR_COUNT);
+const static struct ec_thermal_config thermal_charger = {
+ .temp_host = {
+ [EC_TEMP_THRESH_HIGH] = C_TO_K(85),
+ [EC_TEMP_THRESH_HALT] = C_TO_K(98),
+ },
+ .temp_host_release = {
+ [EC_TEMP_THRESH_HIGH] = C_TO_K(65),
+ },
+};
+const static struct ec_thermal_config thermal_vcore = {
+ .temp_host = {
+ [EC_TEMP_THRESH_HIGH] = C_TO_K(65),
+ [EC_TEMP_THRESH_HALT] = C_TO_K(80),
+ },
+ .temp_host_release = {
+ [EC_TEMP_THRESH_HIGH] = C_TO_K(50),
+ },
+};
+const static struct ec_thermal_config thermal_ambient = {
+ .temp_host = {
+ [EC_TEMP_THRESH_HIGH] = C_TO_K(65),
+ [EC_TEMP_THRESH_HALT] = C_TO_K(80),
+ },
+ .temp_host_release = {
+ [EC_TEMP_THRESH_HIGH] = C_TO_K(50),
+ },
+};
+struct ec_thermal_config thermal_params[] = {
+ [TEMP_SENSOR_1] = thermal_charger,
+ [TEMP_SENSOR_2] = thermal_vcore,
+ [TEMP_SENSOR_3] = thermal_ambient,
+};
+BUILD_ASSERT(ARRAY_SIZE(thermal_params) == TEMP_SENSOR_COUNT);
+
#ifndef TEST_BUILD
/* This callback disables keyboard when convertibles are fully open */
void lid_angle_peripheral_enable(int enable)
