diff options
author | Rajesh Kumar <rajesh3.kumar@intel.com> | 2022-04-05 13:53:02 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-04-20 20:49:24 +0000 |
commit | 216775f9f3d72c32232f80e3ccefed62a21c592e (patch) | |
tree | 4c6c235e73516e0c20bad58410726f8be870454a | |
parent | de52116e22fc600dcabc073146e1f05c840e2205 (diff) | |
download | chrome-ec-216775f9f3d72c32232f80e3ccefed62a21c592e.tar.gz |
zephyr: adlrvp: Enable configuration for throttle ap
Enable required configs for throttle ap.
BUG=b:218684235
BRANCH=none
TEST=zmake testall
After mannaully setting temp using EC command 'thermalset 0 270 275'
ap throttling Event observed on EC console.
ec:~$ thermalset 0 270 275
sensor warn high halt fan_off fan_max name
0 270 275 353 288 323 Ambient
1 315 320 353 288 323 DDR
2 0 348 353 288 323 Skin
3 0 348 353 288 323 VR
[334.879900 thermal WARN]
[334.886500 event set 0x0000000000020000]
ec:~$ [334.905200 event clear 0x0000000000020000]
[334.908000 ACPI query = 18]
[334.905000 set AP throttling type 0 to on (0x00000001)]
Signed-off-by: Rajesh Kumar <rajesh3.kumar@intel.com>
Change-Id: Ib2c5c3b260ede6436f23027c271cef3ddbd4ff99
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3572884
Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Reviewed-by: Aaron Massey <aaronmassey@google.com>
-rw-r--r-- | zephyr/projects/intelrvp/prj.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zephyr/projects/intelrvp/prj.conf b/zephyr/projects/intelrvp/prj.conf index be7c357bc0..f298446d16 100644 --- a/zephyr/projects/intelrvp/prj.conf +++ b/zephyr/projects/intelrvp/prj.conf @@ -55,6 +55,7 @@ CONFIG_PLATFORM_EC_POWERSEQ_RSMRST_DELAY=y CONFIG_PLATFORM_EC_POWERSEQ_S0IX=y CONFIG_PLATFORM_EC_POWERSEQ_S4=y CONFIG_PLATFORM_EC_BOARD_RESET_AFTER_POWER_ON=y +CONFIG_PLATFORM_EC_THROTTLE_AP=y # Fan CONFIG_PLATFORM_EC_FAN=y |