summaryrefslogtreecommitdiff
path: root/src/mainboard/google/rex/variants/screebo
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2023-10-26 19:36:00 +0530
committerSubrata Banik <subratabanik@google.com>2023-10-31 05:21:40 +0000
commite4ac7b16efcdadadae80b4e6feb4f37601dec5ed (patch)
tree2caa8b7a47101b8e02f7fe2bc5e1e52accd63564 /src/mainboard/google/rex/variants/screebo
parent56178990be01da72c48019be47457f1b5f54e969 (diff)
mb/google/rex/var/screebo: Set Baseline Power Limit
This patch allows google/rex mainboard to choose between "Performance" (PL_PERFORMANCE) and "Baseline" (PL_BASELINE) power limits (PLs). This is important for platform to meet balance between power and performance. The OEM design google/screebo selects baseline power limit to maintain the balance performance in lower power. BUG=b:307237761 TEST=Able to build and boot google/screebo. w/o this patch: screebo4es-rev1 ~ # cbmem -c -1 | grep "CPU PL" [INFO ] CPU PL1 = 15 Watts [INFO ] CPU PL2 = 57 Watts [INFO ] CPU PL4 = 114 Watts w/ this patch: screebo4es-rev1 ~ # cbmem -c -1 | grep "CPU PL" [INFO ] CPU PL1 = 15 Watts [INFO ] CPU PL2 = 40 Watts [INFO ] CPU PL4 = 84 Watts Change-Id: I43debc5442ae9c01851652beba676ffc102ca27d Signed-off-by: Subrata Banik <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/78661 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kapil Porwal <kapilporwal@google.com> Reviewed-by: Eric Lai <ericllai@google.com>
Diffstat (limited to 'src/mainboard/google/rex/variants/screebo')
-rw-r--r--src/mainboard/google/rex/variants/screebo/overridetree.cb6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/google/rex/variants/screebo/overridetree.cb b/src/mainboard/google/rex/variants/screebo/overridetree.cb
index 06f7b9bcea..0d69aca25a 100644
--- a/src/mainboard/google/rex/variants/screebo/overridetree.cb
+++ b/src/mainboard/google/rex/variants/screebo/overridetree.cb
@@ -34,6 +34,12 @@ end
chip soc/intel/meteorlake
+ register "power_limits_config[MTL_P_282_242_CORE]" = "{
+ .tdp_pl1_override = 15,
+ .tdp_pl2_override = 40,
+ .tdp_pl4 = 84,
+ }"
+
register "usb2_ports[0]" = "USB2_PORT_TYPE_C(OC1)" # USB2_C1
register "usb2_ports[1]" = "USB2_PORT_TYPE_C(OC0)" # USB2_C0
register "usb2_ports[2]" = "USB2_PORT_MID(OC2)" # Type-A Port A1