summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWon Chung <wonchung@google.com>2023-07-31 22:10:46 +0000
committerFelix Held <felix-coreboot@felixheld.de>2023-08-24 12:50:55 +0000
commit7e00d51c397cb9e3c2ab5ac9f9ab5e9e85709863 (patch)
tree0a1cd9e9a3240d762edb761737ae7e923650dc4c
parent7fcdb9f902926cd511e3cbe572cca7e0c3e084c7 (diff)
mb/google/brya/var/felwinter: 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: I7be4a47ea2a8cb2b6f4a2d633252eec523807da6 Signed-off-by: Won Chung <wonchung@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/76898 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com>
-rw-r--r--src/mainboard/google/brya/variants/felwinter/overridetree.cb22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/felwinter/overridetree.cb b/src/mainboard/google/brya/variants/felwinter/overridetree.cb
index f603ccb5c2..46a841d02e 100644
--- a/src/mainboard/google/brya/variants/felwinter/overridetree.cb
+++ b/src/mainboard/google/brya/variants/felwinter/overridetree.cb
@@ -93,6 +93,28 @@ chip soc/intel/alderlake
}"
device domain 0 on
+ device ref igpu on
+ chip drivers/gfx/generic
+ register "device_count" = "6"
+ # DDIA for eDP
+ register "device[0].name" = ""LCD""
+ # DDIB for HDMI
+ register "device[1].name" = ""DD01""
+ # TCP0 (DP-1) is unused for any ports but still enumerated in the kernel, so GFX device is added for TCP0
+ register "device[2].name" = ""DD02""
+ # TCP1 (DP-2) for port C1
+ register "device[3].name" = ""DD03""
+ register "device[3].use_pld" = "true"
+ register "device[3].pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(1, 1))"
+ # TCP2 (DP-3) for port C2
+ register "device[4].name" = ""DD04""
+ register "device[4].use_pld" = "true"
+ register "device[4].pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(2, 1))"
+ # TCP3 (DP-4) is unused for any ports but still enumerated in the kernel, so GFX device is added for TCP3
+ register "device[5].name" = ""DD05""
+ device generic 0 on end
+ end
+ end # Integrated Graphics Device
device ref dtt on
chip drivers/intel/dptf
## sensor information