From 020d43e55347ff939fd434629d1a43c69cb06ef3 Mon Sep 17 00:00:00 2001 From: Won Chung Date: Tue, 1 Aug 2023 00:56:01 +0000 Subject: mb/google/brya/var/taeko: 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: I07e85f28c4f260d04317ec594e162db20f3d4ddd Signed-off-by: Won Chung Reviewed-on: https://review.coreboot.org/c/coreboot/+/76907 Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik --- .../google/brya/variants/taeko/overridetree.cb | 19 +++++++++++++++++++ .../google/brya/variants/taeko4es/overridetree.cb | 19 +++++++++++++++++++ 2 files changed, 38 insertions(+) (limited to 'src') diff --git a/src/mainboard/google/brya/variants/taeko/overridetree.cb b/src/mainboard/google/brya/variants/taeko/overridetree.cb index bfe5968bb2..44221919b9 100644 --- a/src/mainboard/google/brya/variants/taeko/overridetree.cb +++ b/src/mainboard/google/brya/variants/taeko/overridetree.cb @@ -137,6 +137,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 diff --git a/src/mainboard/google/brya/variants/taeko4es/overridetree.cb b/src/mainboard/google/brya/variants/taeko4es/overridetree.cb index 32207aff25..9c2d8da19f 100644 --- a/src/mainboard/google/brya/variants/taeko4es/overridetree.cb +++ b/src/mainboard/google/brya/variants/taeko4es/overridetree.cb @@ -118,6 +118,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