From 3d2df35c6e1cafb71e1a93fb1ba61d88df37c48d Mon Sep 17 00:00:00 2001 From: Derek Huang Date: Fri, 21 Oct 2022 10:39:36 +0000 Subject: mb/google/brya: Enable SaGv for brask variants SaGv is enabled for all brya variants, so it should be harmless to enable it for brask variants to save some power. BUG=254374912 TEST=Build and boot to Chrome OS Signed-off-by: Derek Huang Change-Id: Ib5d1e39b3f901606e2f1449e4ed40d53696562ed Reviewed-on: https://review.coreboot.org/c/coreboot/+/68646 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons Reviewed-by: Nick Vaccaro --- src/mainboard/google/brya/variants/brask/overridetree.cb | 2 ++ src/mainboard/google/brya/variants/gaelin/overridetree.cb | 1 + src/mainboard/google/brya/variants/kuldax/overridetree.cb | 2 ++ src/mainboard/google/brya/variants/moli/overridetree.cb | 1 + 4 files changed, 6 insertions(+) diff --git a/src/mainboard/google/brya/variants/brask/overridetree.cb b/src/mainboard/google/brya/variants/brask/overridetree.cb index 88c73adce7..6c66d797c8 100644 --- a/src/mainboard/google/brya/variants/brask/overridetree.cb +++ b/src/mainboard/google/brya/variants/brask/overridetree.cb @@ -6,6 +6,8 @@ fw_config end chip soc/intel/alderlake + register "sagv" = "SaGv_Enabled" + device domain 0 on device ref dtt on chip drivers/intel/dptf diff --git a/src/mainboard/google/brya/variants/gaelin/overridetree.cb b/src/mainboard/google/brya/variants/gaelin/overridetree.cb index 4f2c04a57a..caa874b26b 100644 --- a/src/mainboard/google/brya/variants/gaelin/overridetree.cb +++ b/src/mainboard/google/brya/variants/gaelin/overridetree.cb @@ -1,4 +1,5 @@ chip soc/intel/alderlake + register "sagv" = "SaGv_Enabled" device domain 0 on end diff --git a/src/mainboard/google/brya/variants/kuldax/overridetree.cb b/src/mainboard/google/brya/variants/kuldax/overridetree.cb index 84712724f8..fdf37d5b81 100644 --- a/src/mainboard/google/brya/variants/kuldax/overridetree.cb +++ b/src/mainboard/google/brya/variants/kuldax/overridetree.cb @@ -6,6 +6,8 @@ fw_config end chip soc/intel/alderlake + register "sagv" = "SaGv_Enabled" + register "usb2_ports[1]" = "USB2_PORT_EMPTY" # Disable USB2 Port 1 register "usb2_ports[2]" = "USB2_PORT_EMPTY" # Disable USB2 Port 2 register "usb2_ports[4]" = "USB2_PORT_EMPTY" # Disable USB2 Port 4 diff --git a/src/mainboard/google/brya/variants/moli/overridetree.cb b/src/mainboard/google/brya/variants/moli/overridetree.cb index 2d35e14112..5612b6ef71 100644 --- a/src/mainboard/google/brya/variants/moli/overridetree.cb +++ b/src/mainboard/google/brya/variants/moli/overridetree.cb @@ -14,6 +14,7 @@ fw_config end end chip soc/intel/alderlake + register "sagv" = "SaGv_Enabled" # Enable HDMI2 in PortA, HDMI1 in PortB, HDMI/DP in Port2 register "ddi_ports_config" = "{ [DDI_PORT_A] = DDI_ENABLE_HPD | DDI_ENABLE_DDC, -- cgit v1.2.3