summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya
diff options
context:
space:
mode:
authorWon Chung <wonchung@google.com>2023-08-01 00:56:01 +0000
committerFelix Held <felix-coreboot@felixheld.de>2023-08-24 12:53:50 +0000
commit020d43e55347ff939fd434629d1a43c69cb06ef3 (patch)
tree8b253cd93c95fcc47e510c9a6d3391c49e4d3e08 /src/mainboard/google/brya
parent7f5c6d21c669af418e02ba72b46f6e8b858c0c08 (diff)
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 <wonchung@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/76907 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src/mainboard/google/brya')
-rw-r--r--src/mainboard/google/brya/variants/taeko/overridetree.cb19
-rw-r--r--src/mainboard/google/brya/variants/taeko4es/overridetree.cb19
2 files changed, 38 insertions, 0 deletions
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