summaryrefslogtreecommitdiff
path: root/baseboard/brya/baseboard.h
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2021-02-08 17:04:55 -0800
committerCommit Bot <commit-bot@chromium.org>2021-02-24 23:52:46 +0000
commit6ed74483103a1773f2d26395f4e145579326a5cb (patch)
treeeb7bc61c34eee650c45bb4d634ec0142ba3da33b /baseboard/brya/baseboard.h
parent38c6a96e4470b3a6afb276a862ec77c0265f5a40 (diff)
downloadchrome-ec-6ed74483103a1773f2d26395f4e145579326a5cb.tar.gz
brya: Enable AP throttling
This enables AP throttling based on thermal conditions. Brya has two thermistors - one near the SoC and one near the charger that can be used for deciding when to throttle. BRANCH=none BUG=b:173575131,b:180681346 TEST=buildall passes Change-Id: Ieaa6959ff9fc7ee5e505c13cff2150ad70a04e3b Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2686981 Commit-Queue: Keith Short <keithshort@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'baseboard/brya/baseboard.h')
-rw-r--r--baseboard/brya/baseboard.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/baseboard/brya/baseboard.h b/baseboard/brya/baseboard.h
index 4d1b20c04f..189f7f5e26 100644
--- a/baseboard/brya/baseboard.h
+++ b/baseboard/brya/baseboard.h
@@ -51,6 +51,10 @@
/* Chipset config */
#define CONFIG_CHIPSET_ALDERLAKE_SLG4BD44540
+/* Thermal features */
+#define CONFIG_THROTTLE_AP
+#define CONFIG_CHIPSET_CAN_THROTTLE
+
#define CONFIG_PWM
/* Enable I2C Support */