From 8072b420a6617a461f9708540b9cbdd295d5b30c Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Wed, 27 Jul 2022 20:11:19 +0000 Subject: mb/google/rex: Perform display configuration override This patch enables display port configuration as per the Rex schematics. TEST=Able to dump FSP UPD to ensure the override is successful. Signed-off-by: Subrata Banik Change-Id: I9e81d037416e46e52cb72344425d6d8725dae192 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66209 Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai Reviewed-by: Tarun Tuli --- src/mainboard/google/rex/variants/rex0/overridetree.cb | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src') diff --git a/src/mainboard/google/rex/variants/rex0/overridetree.cb b/src/mainboard/google/rex/variants/rex0/overridetree.cb index f5d9430b22..c38721d363 100644 --- a/src/mainboard/google/rex/variants/rex0/overridetree.cb +++ b/src/mainboard/google/rex/variants/rex0/overridetree.cb @@ -13,6 +13,17 @@ chip soc/intel/meteorlake register "tcss_ports[0]" = "TCSS_PORT_DEFAULT(OC0)" register "tcss_ports[2]" = "TCSS_PORT_DEFAULT(OC_SKIP)" + # Enable eDP in Port A + register "ddi_port_A_config" = "1" + # Enable HDMI in Port B + register "ddi_port_B_config" = "0" + + # Enable Display Port Configuration + register "ddi_ports_config" = "{ + [DDI_PORT_A] = DDI_ENABLE_HPD, + [DDI_PORT_B] = DDI_ENABLE_HPD | DDI_ENABLE_DDC, + }" + register "serial_io_gspi_mode" = "{ [PchSerialIoIndexGSPI0] = PchSerialIoDisabled, [PchSerialIoIndexGSPI1] = PchSerialIoPci, -- cgit v1.2.3