From 8a2c36467c259c965d9b7fbd24352deadf6a0a07 Mon Sep 17 00:00:00 2001 From: Eran Mitrani Date: Tue, 16 May 2023 14:59:20 -0700 Subject: [PATCH] mb/google/rex: Add FW_CONFIG and device for VPU BUG=b:282912666 TEST=set and unset bit20 in HW_CONFIG and check if VPU(0b.0) is enabled when bit20 is set, and disabled when cleared Signed-off-by: Eran Mitrani Change-Id: Iee6a9026a4d210407350bfb7ecc8a058e7ff5c24 Reviewed-on: https://review.coreboot.org/c/coreboot/+/75303 Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik Reviewed-by: Wonkyu Kim Reviewed-by: Kapil Porwal Reviewed-by: Eric Lai --- src/mainboard/google/rex/variants/rex0/overridetree.cb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/mainboard/google/rex/variants/rex0/overridetree.cb b/src/mainboard/google/rex/variants/rex0/overridetree.cb index d3062adff8..c3e2d7bf77 100644 --- a/src/mainboard/google/rex/variants/rex0/overridetree.cb +++ b/src/mainboard/google/rex/variants/rex0/overridetree.cb @@ -46,6 +46,10 @@ fw_config option TOUCHSCREEN_I2C 0 option TOUCHSCREEN_I2C_SPI 1 end + field VPU 20 + option VPU_DIS 0 + option VPU_EN 1 + end end chip soc/intel/meteorlake @@ -275,6 +279,9 @@ chip soc/intel/meteorlake end #PCIE9 SSD card device ref tbt_pcie_rp0 on end device ref tbt_pcie_rp2 on end + device ref vpu on + probe VPU VPU_EN + end device ref tcss_xhci on chip drivers/usb/acpi device ref tcss_root_hub on