mb/google/brya/var/redrix: Add new GFX device 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
BRANCH=firmware-brya-14505.B

Change-Id: Ia083617c58d6b7ebc108e07e29a1c8061580eae5
Signed-off-by: Won Chung <wonchung@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75509
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
Reviewed-by: Subrata Banik <subratabanik@google.com>
This commit is contained in:
Won Chung 2023-05-31 20:47:02 +00:00 committed by Nick Vaccaro
parent 022c4a490c
commit d6a17e22a3
2 changed files with 56 additions and 0 deletions

View File

@ -98,6 +98,7 @@ chip soc/intel/alderlake
device ref igpu on device ref igpu on
chip drivers/gfx/generic chip drivers/gfx/generic
register "device_count" = "1" register "device_count" = "1"
# DDIA for eDP
register "device[0].name" = ""LCD"" register "device[0].name" = ""LCD""
# Use ChromeOS privacy screen _HID # Use ChromeOS privacy screen _HID
register "device[0].hid" = ""GOOG0010"" register "device[0].hid" = ""GOOG0010""
@ -109,6 +110,33 @@ chip soc/intel/alderlake
probe EPS PRIVACY_SCREEN probe EPS PRIVACY_SCREEN
end end
end end
chip drivers/gfx/generic
register "device_count" = "1"
# DDIA for eDP
register "device[0].name" = ""LCD""
device generic 0 on
probe EPS PRIVACY_SCREEN_ABSENT
end
end
chip drivers/gfx/generic
register "device_count" = "5"
# eDP already added, so skipped
# DDIB for HDMI
register "device[0].name" = ""DD01""
# TCP0 (DP-1) for port C0
register "device[1].name" = ""DD02""
register "device[1].use_pld" = "true"
register "device[1].pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))"
# TCP1 (DP-2) unused
register "device[2].name" = ""DD03""
# TCP2 (DP-3) for port C2
register "device[3].name" = ""DD04""
register "device[3].use_pld" = "true"
register "device[3].pld" = "ACPI_PLD_TYPE_C(RIGHT, LEFT, ACPI_PLD_GROUP(2, 1))"
# TCP3 (DP-4) unused
register "device[4].name" = ""DD05""
device generic 0 on end
end
end # Integrated Graphics Device end # Integrated Graphics Device
device ref dtt on device ref dtt on
chip drivers/intel/dptf chip drivers/intel/dptf

View File

@ -84,6 +84,7 @@ chip soc/intel/alderlake
device ref igpu on device ref igpu on
chip drivers/gfx/generic chip drivers/gfx/generic
register "device_count" = "1" register "device_count" = "1"
# DDIA for eDP
register "device[0].name" = ""LCD"" register "device[0].name" = ""LCD""
# Use ChromeOS privacy screen _HID # Use ChromeOS privacy screen _HID
register "device[0].hid" = ""GOOG0010"" register "device[0].hid" = ""GOOG0010""
@ -95,6 +96,33 @@ chip soc/intel/alderlake
probe EPS PRIVACY_SCREEN probe EPS PRIVACY_SCREEN
end end
end end
chip drivers/gfx/generic
register "device_count" = "1"
# DDIA for eDP
register "device[0].name" = ""LCD""
device generic 0 on
probe EPS PRIVACY_SCREEN_ABSENT
end
end
chip drivers/gfx/generic
register "device_count" = "5"
# eDP already added, so skipped
# DDIB for HDMI
register "device[0].name" = ""DD01""
# TCP0 (DP-1) for port C0
register "device[1].name" = ""DD02""
register "device[1].use_pld" = "true"
register "device[1].pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))"
# TCP1 (DP-2) unused
register "device[2].name" = ""DD03""
# TCP2 (DP-3) for port C2
register "device[3].name" = ""DD04""
register "device[3].use_pld" = "true"
register "device[3].pld" = "ACPI_PLD_TYPE_C(RIGHT, LEFT, ACPI_PLD_GROUP(2, 1))"
# TCP3 (DP-4) unused
register "device[4].name" = ""DD05""
device generic 0 on end
end
end # Integrated Graphics Device end # Integrated Graphics Device
device ref dtt on device ref dtt on
chip drivers/intel/dptf chip drivers/intel/dptf