acpi: Add new file for implementing Type-C Connector class
commit92d96e84c4f115a5b2ffdc2a20b456170b08752a
authorTim Wawrzynczak <twawrzynczak@chromium.org>
Tue, 19 May 2020 18:38:43 +0000 (19 12:38 -0600)
committerDuncan Laurie <dlaurie@chromium.org>
Thu, 28 May 2020 23:54:43 +0000 (28 23:54 +0000)
treed9991e0e8a63fb6887c282293e304fcf39b22835
parent6046739b9d349d43f6d064660aaf9df49a99cc5f
acpi: Add new file for implementing Type-C Connector class

The USB Type-C Connector Class in the Linux kernel is not specific to
the ChromeOS EC, so this functionality is now split out into a separate
file, acpigen_usb.c. Documentation about the kernel side is available at
https://www.kernel.org/doc/html/latest/driver-api/usb/typec.html.

Change-Id: Ife5b8b517b261e7c0068c862ea65039c20382c5a
Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41539
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/acpi/Makefile.inc
src/acpi/acpigen_usb.c [new file with mode: 0644]
src/include/acpi/acpigen_usb.h [new file with mode: 0644]