summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-04-11 15:11:16 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-04-12 17:08:00 +0000
commit46a972022bf3be3dce7b7d1554180c8c8f4ed4be (patch)
tree43734c290772f69a3ea5c2fac1f68dc681d92de2
parent7c6b0e9862d6dc247ac8a6fb7859bfc7e5a61114 (diff)
mb/amd/birman/port_descriptors_*: use DDI_DP_W_TYPEC type for DDI 2..4
DDI 2..4 are the display outputs multiplexed onto the 3 USB type C ports as DisplayPort alternate function, so use the DDI_DP_W_TYPEC connector type for those. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I659d62bfb426e3e47214203490c34e9c200beee2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/74299 Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/amd/birman/port_descriptors_glinda.c8
-rw-r--r--src/mainboard/amd/birman/port_descriptors_phoenix.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/mainboard/amd/birman/port_descriptors_glinda.c b/src/mainboard/amd/birman/port_descriptors_glinda.c
index a2c4557eae..df961bfce6 100644
--- a/src/mainboard/amd/birman/port_descriptors_glinda.c
+++ b/src/mainboard/amd/birman/port_descriptors_glinda.c
@@ -63,17 +63,17 @@ static fsp_ddi_descriptor birman_ddi_descriptors[] = {
.hdp_index = DDI_HDP2
},
{ /* DDI2 - DP (type C) */
- .connector_type = DDI_DP,
+ .connector_type = DDI_DP_W_TYPEC,
.aux_index = DDI_AUX3,
.hdp_index = DDI_HDP3,
},
{ /* DDI3 - DP (type C) */
- .connector_type = DDI_DP,
+ .connector_type = DDI_DP_W_TYPEC,
.aux_index = DDI_AUX4,
.hdp_index = DDI_HDP4,
},
- { /* DDI4 - unused */
- .connector_type = DDI_UNUSED_TYPE,
+ { /* DDI4 - DP (type C) */
+ .connector_type = DDI_DP_W_TYPEC,
.aux_index = DDI_AUX5,
.hdp_index = DDI_HDP5,
}
diff --git a/src/mainboard/amd/birman/port_descriptors_phoenix.c b/src/mainboard/amd/birman/port_descriptors_phoenix.c
index a2c4557eae..df961bfce6 100644
--- a/src/mainboard/amd/birman/port_descriptors_phoenix.c
+++ b/src/mainboard/amd/birman/port_descriptors_phoenix.c
@@ -63,17 +63,17 @@ static fsp_ddi_descriptor birman_ddi_descriptors[] = {
.hdp_index = DDI_HDP2
},
{ /* DDI2 - DP (type C) */
- .connector_type = DDI_DP,
+ .connector_type = DDI_DP_W_TYPEC,
.aux_index = DDI_AUX3,
.hdp_index = DDI_HDP3,
},
{ /* DDI3 - DP (type C) */
- .connector_type = DDI_DP,
+ .connector_type = DDI_DP_W_TYPEC,
.aux_index = DDI_AUX4,
.hdp_index = DDI_HDP4,
},
- { /* DDI4 - unused */
- .connector_type = DDI_UNUSED_TYPE,
+ { /* DDI4 - DP (type C) */
+ .connector_type = DDI_DP_W_TYPEC,
.aux_index = DDI_AUX5,
.hdp_index = DDI_HDP5,
}