OS: Chromium os
Currently both DPTF and EC thermal logic to throttle AP or control fans is taken care by thermal_control hook in thermal.c. Due to this we define thermal_params to default values even in the boards where thermal logic is completely taken care by DPTF.
struct ec_thermal_config thermal_params[] = {
/* {Twarn, Thigh, Thalt}, fan_off, fan_max */
/* FIXME(dhendrix): Implement this... */
{{0, 0, 0}, 0, 0}, /* Battery */
{{0, 0, 0}, 0, 0}, /* Ambient */
{{0, 0, 0}, 0, 0}, /* Charger */
};
Separating the DPTF logic so that we don't have to define thermal_params in boards where thermal control is completely taken care by DPTF.
Comment 1 by ravisadineni@chromium.org
, Jul 26 2016Components: OS>Firmware>EC
Labels: OS-Chrome