mb/system76/adl-p: oryp9: HACK: Limit PL4 to PL2

System powers off when booting on battery power from normal operations
such as logging in to GDM.

The EC firmware will update PL4 on AC adapter plug/unplug via PECI.

Change-Id: I6018dd62addf7a5d9302a3e3f6bce7c2d643b5c7
Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
Tim Crawford
2022-07-06 17:28:43 -06:00
committed by Tim Crawford
parent a7a7428a76
commit ccd417e587

View File

@@ -1,8 +1,10 @@
chip soc/intel/alderlake
# FIXME: Limit PL4 to PL2 to prevent power off on battery power
# EC will set PL4 on AC adapter plug/unplug
register "power_limits_config[ADL_P_642_682_45W_CORE]" = "{
.tdp_pl1_override = 45,
.tdp_pl2_override = 115,
.tdp_pl4 = 180,
.tdp_pl4 = 115,
}"
# Thermal