summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWon Chung <wonchung@google.com>2023-08-01 04:05:49 +0000
committerFelix Held <felix-coreboot@felixheld.de>2023-08-24 12:54:19 +0000
commitd597320d8e2218d64ba63bf6170f5283f4978556 (patch)
treedbb571a731b5d20954dd174f28976d0bc34a5eba /src
parent4eaa0a929f7b68b77c918e0d08bff1b049b8d5b9 (diff)
mb/google/brya/var/vell: 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: I62103563ec49769cd842fedf8c2c55118c55aa14 Signed-off-by: Won Chung <wonchung@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/76909 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/brya/variants/vell/overridetree.cb19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/mainboard/google/brya/variants/vell/overridetree.cb b/src/mainboard/google/brya/variants/vell/overridetree.cb
index f4f25a052e..31cc240955 100644
--- a/src/mainboard/google/brya/variants/vell/overridetree.cb
+++ b/src/mainboard/google/brya/variants/vell/overridetree.cb
@@ -95,9 +95,26 @@ chip soc/intel/alderlake
device domain 0 on
device ref igpu on
chip drivers/gfx/generic
- register "device_count" = "1"
+ register "device_count" = "5"
# 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(RIGHT, LEFT, ACPI_PLD_GROUP(1, 1))"
+ # TCP1 (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))"
+ # TCP2 (DP-3) for port C2
+ register "device[3].name" = ""DD03""
+ register "device[3].use_pld" = "true"
+ register "device[3].pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(3, 1))"
+ # TCP3 (DP-4) for port C3
+ register "device[4].name" = ""DD04""
+ register "device[4].use_pld" = "true"
+ register "device[4].pld" = "ACPI_PLD_TYPE_C(LEFT, RIGHT, ACPI_PLD_GROUP(4, 1))"
device generic 0 on end
end
end # Integrated Graphics Device