summaryrefslogtreecommitdiff
path: root/common/motion_lid.c
diff options
context:
space:
mode:
authorPeter Marheine <pmarheine@chromium.org>2020-11-11 14:19:17 +1100
committerCommit Bot <commit-bot@chromium.org>2020-11-12 03:12:52 +0000
commit9676f9291f60efdfb31373aeb77385ebb6e9f6e5 (patch)
tree7166cf51fefa07430c2056765871440c3895c140 /common/motion_lid.c
parentc91428f889dcf63a2ffd37d2eebbb7a6a356168f (diff)
downloadchrome-ec-9676f9291f60efdfb31373aeb77385ebb6e9f6e5.tar.gz
dalboz: enable thermal control
Dalboz (and variants) has temperature sensors, but they weren't used. Enable CONFIG_THROTTLE_AP for dalboz as well as trembyle, and define some default thermal parameters (the same as the trembyle reference board, but without fan options because dalboz devices are fanless) to have the EC do platform thermal control. Devices may override the default thermal options by defining a non-__overridable thermal_params in their own board files: struct ec_thermal_config thermal_params[TEMP_SENSOR_COUNT] = { /* Copy defaults, modify as desired. */ } BUG=b:172025135 TEST=Setting temperature thresholds with `thermalset` on dirinboz EC console causes AP throttling as expected, `temps` reports reasonable actual temperature measurements. BRANCH=zork Signed-off-by: Peter Marheine <pmarheine@chromium.org> Change-Id: I641bb8cae3b416bf8a76b4853e2053fad14aed1c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2530817 Reviewed-by: Edward Hill <ecgh@chromium.org>
Diffstat (limited to 'common/motion_lid.c')
0 files changed, 0 insertions, 0 deletions