summaryrefslogtreecommitdiff
path: root/src/mainboard/msi
diff options
context:
space:
mode:
authorMichał Żygowski <michal.zygowski@3mdeb.com>2022-04-08 19:02:42 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-07-08 15:32:09 +0000
commit6cf9b8f8ac7be904190eb88e2b45cd77464efa5e (patch)
tree102127b80fd576f16f334621bbe4a999019fa2e6 /src/mainboard/msi
parent02db6b40499a1c970f32074bcff5b7b65bec4fa3 (diff)
mb/msi/ms7d25: Enable displays
Add VBT from vendor firmware v5.24 and configure display outputs in devicetree. TEST=Boot TianoCore UEFIPayload and notice the UEFI Shell on the connected display via HDMI or DisplayPort on rear panel. Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com> Change-Id: Ide560ade5e29844c2f4310639fe5b76ba91865be Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/63507 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Krystian Hebel <krystian.hebel@3mdeb.com>
Diffstat (limited to 'src/mainboard/msi')
-rw-r--r--src/mainboard/msi/ms7d25/Kconfig1
-rw-r--r--src/mainboard/msi/ms7d25/data.vbtbin0 -> 8704 bytes
-rw-r--r--src/mainboard/msi/ms7d25/devicetree.cb11
3 files changed, 12 insertions, 0 deletions
diff --git a/src/mainboard/msi/ms7d25/Kconfig b/src/mainboard/msi/ms7d25/Kconfig
index eb07413be2..db32b17655 100644
--- a/src/mainboard/msi/ms7d25/Kconfig
+++ b/src/mainboard/msi/ms7d25/Kconfig
@@ -10,6 +10,7 @@ config BOARD_MSI_MS7D25
select DRIVERS_UART_8250IO
select HAVE_ACPI_RESUME
select HAVE_ACPI_TABLES
+ select INTEL_GMA_HAVE_VBT
if BOARD_MSI_MS7D25
diff --git a/src/mainboard/msi/ms7d25/data.vbt b/src/mainboard/msi/ms7d25/data.vbt
new file mode 100644
index 0000000000..b908569156
--- /dev/null
+++ b/src/mainboard/msi/ms7d25/data.vbt
Binary files differ
diff --git a/src/mainboard/msi/ms7d25/devicetree.cb b/src/mainboard/msi/ms7d25/devicetree.cb
index 7cdd18bf02..8644ad5ce0 100644
--- a/src/mainboard/msi/ms7d25/devicetree.cb
+++ b/src/mainboard/msi/ms7d25/devicetree.cb
@@ -70,6 +70,17 @@ chip soc/intel/alderlake
[7] = 1,
}"
+ # HDMI on port B
+ register "ddi_portB_config" = "1"
+ register "ddi_ports_config" = "{
+ [DDI_PORT_B] = DDI_ENABLE_HPD | DDI_ENABLE_DDC,
+ [DDI_PORT_C] = DDI_ENABLE_HPD | DDI_ENABLE_DDC,
+ [DDI_PORT_1] = DDI_ENABLE_HPD | DDI_ENABLE_DDC,
+ [DDI_PORT_2] = DDI_ENABLE_HPD,
+ [DDI_PORT_3] = DDI_ENABLE_HPD | DDI_ENABLE_DDC,
+ [DDI_PORT_4] = DDI_ENABLE_HPD,
+ }"
+
device domain 0 on
device ref igpu on end
device ref crashlog off end