summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya/variants/taniks
diff options
context:
space:
mode:
authorWon Chung <wonchung@google.com>2023-08-01 01:07:56 +0000
committerFelix Held <felix-coreboot@felixheld.de>2023-08-24 12:54:02 +0000
commit4eaa0a929f7b68b77c918e0d08bff1b049b8d5b9 (patch)
tree377f1fcc5900335c44b56c2833354bbcfd33918f /src/mainboard/google/brya/variants/taniks
parent020d43e55347ff939fd434629d1a43c69cb06ef3 (diff)
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 <wonchung@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/76908 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src/mainboard/google/brya/variants/taniks')
-rw-r--r--src/mainboard/google/brya/variants/taniks/overridetree.cb19
1 files changed, 19 insertions, 0 deletions
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