Won Chung has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/75509?usp=email )
Change subject: mb/google/brya/var/redrix: Add new GFX device with custom _PLD ......................................................................
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
Change-Id: Ia083617c58d6b7ebc108e07e29a1c8061580eae5 Signed-off-by: Won Chung wonchung@google.com --- M src/mainboard/google/brya/variants/redrix/overridetree.cb M src/mainboard/google/brya/variants/redrix4es/overridetree.cb 2 files changed, 56 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/09/75509/1
diff --git a/src/mainboard/google/brya/variants/redrix/overridetree.cb b/src/mainboard/google/brya/variants/redrix/overridetree.cb index e289fca..7ed7a91 100644 --- a/src/mainboard/google/brya/variants/redrix/overridetree.cb +++ b/src/mainboard/google/brya/variants/redrix/overridetree.cb @@ -98,6 +98,7 @@ device ref igpu on chip drivers/gfx/generic register "device_count" = "1" + # DDIA for eDP register "device[0].name" = ""LCD"" # Use ChromeOS privacy screen _HID register "device[0].hid" = ""GOOG0010"" @@ -109,6 +110,33 @@ probe EPS PRIVACY_SCREEN 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(RIGHT, 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(LEFT, LEFT, ACPI_PLD_GROUP(3, 1))" + # TCP3 (DP-4) unused + register "device[4].name" = ""DD05"" + device generic 0 on end + end end # Integrated Graphics Device device ref dtt on chip drivers/intel/dptf diff --git a/src/mainboard/google/brya/variants/redrix4es/overridetree.cb b/src/mainboard/google/brya/variants/redrix4es/overridetree.cb index c6cf489..86c0844 100644 --- a/src/mainboard/google/brya/variants/redrix4es/overridetree.cb +++ b/src/mainboard/google/brya/variants/redrix4es/overridetree.cb @@ -84,6 +84,7 @@ device ref igpu on chip drivers/gfx/generic register "device_count" = "1" + # DDIA for eDP register "device[0].name" = ""LCD"" # Use ChromeOS privacy screen _HID register "device[0].hid" = ""GOOG0010"" @@ -95,6 +96,33 @@ probe EPS PRIVACY_SCREEN 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(RIGHT, 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(LEFT, LEFT, ACPI_PLD_GROUP(3, 1))" + # TCP3 (DP-4) unused + register "device[4].name" = ""DD05"" + device generic 0 on end + end end # Integrated Graphics Device device ref dtt on chip drivers/intel/dptf