summaryrefslogtreecommitdiff
path: root/src/acpi
diff options
context:
space:
mode:
authorPrashant Malani <pmalani@chromium.org>2022-04-21 18:01:40 +0000
committerFelix Held <felix-coreboot@felixheld.de>2022-05-04 13:15:30 +0000
commitda6e9a047241fb414c24c3e7f5829d62df3c114c (patch)
tree7237f19b2a3b2f4aedcb67cf92b4232da9f91b4f /src/acpi
parent688105bc60e0a352b2f89e51bc34fd9b04d495c7 (diff)
ec/google/chromeec: Add retimer handle to Type C conn
Some platforms have retimers which can be configured via the EC. Add a handle to these retimer devices to the Type C connector device, using devicetree references. BUG=b:208883648 TEST=Verify disassembled SSDT on brya. BRANCH=None Signed-off-by: Prashant Malani <pmalani@chromium.org> Change-Id: Ic0480b08c6d6a7562cca57192e49b8ea2a33b51e Reviewed-on: https://review.coreboot.org/c/coreboot/+/63793 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/acpi')
-rw-r--r--src/acpi/acpigen_usb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/acpi/acpigen_usb.c b/src/acpi/acpigen_usb.c
index e32dfc46b6..e71e6dabb5 100644
--- a/src/acpi/acpigen_usb.c
+++ b/src/acpi/acpigen_usb.c
@@ -106,6 +106,7 @@ static void add_device_references(struct acpi_dp *dsd,
add_device_ref(dsd, "orientation-switch", config->orientation_switch);
add_device_ref(dsd, "usb-role-switch", config->usb_role_switch);
add_device_ref(dsd, "mode-switch", config->mode_switch);
+ add_device_ref(dsd, "retimer-switch", config->retimer_switch);
}
void acpigen_write_typec_connector(const struct typec_connector_class_config *config,