From 4eaa0a929f7b68b77c918e0d08bff1b049b8d5b9 Mon Sep 17 00:00:00 2001 From: Won Chung Date: Tue, 1 Aug 2023 01:07:56 +0000 Subject: mb/google/brya/var/taniks: Add new GFX devices with custom _PLD Add new GFX devices for DDI and TCP with custom _PLD to describe the corresponding ports. BUG=b:277629750 TEST=emerge-brya coreboot Change-Id: I12fa83987869b9a52940a49e9f7897d62abf59ff Signed-off-by: Won Chung Reviewed-on: https://review.coreboot.org/c/coreboot/+/76908 Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik --- .../google/brya/variants/taniks/overridetree.cb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/mainboard/google/brya') diff --git a/src/mainboard/google/brya/variants/taniks/overridetree.cb b/src/mainboard/google/brya/variants/taniks/overridetree.cb index 95900487fe..0d335b65a9 100644 --- a/src/mainboard/google/brya/variants/taniks/overridetree.cb +++ b/src/mainboard/google/brya/variants/taniks/overridetree.cb @@ -114,6 +114,25 @@ chip soc/intel/alderlake [PchSerialIoIndexI2C5] = PchSerialIoPci, }" device domain 0 on + device ref igpu on + chip drivers/gfx/generic + register "device_count" = "3" + # DDIA for eDP + register "device[0].name" = ""LCD"" + # DDIB is unused and HDMI is not enumerated in the kernel, so no GFX device is added for DDIB + # TCP0 (DP-1) for port C0 + register "device[1].name" = ""DD01"" + register "device[1].use_pld" = "true" + register "device[1].pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))" + # TCP1 is unused and not enumerated in the kernel, so no GFX device is added for TCP1 + # TCP2 (DP-2) for port C1 + register "device[2].name" = ""DD02"" + register "device[2].use_pld" = "true" + register "device[2].pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(2, 1))" + # TCP3 is unused and not enumerated in the kernel, so no GFX device is added for TCP3 + device generic 0 on end + end + end # Integrated Graphics Device device ref dtt on chip drivers/intel/dptf ## sensor information -- cgit v1.2.3