diff options
author | Scott Collyer <scollyer@google.com> | 2020-05-21 22:10:36 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-09-29 23:52:36 +0000 |
commit | cf21f6fc6e182fb39447686934efc2be1d79de7a (patch) | |
tree | 82e8897a9e8ba65ed3f4949b017d13c492978a59 /chip/stm32/build.mk | |
parent | 77d86a6161e9388c48a607c654844ec2798a017d (diff) | |
download | chrome-ec-cf21f6fc6e182fb39447686934efc2be1d79de7a.tar.gz |
stm32g4: Initial UCPD driver for type-c functionality
The STM32G4 contains a UCPD block that includes similar functions as a
TCPC. This CL contains an initial version of the driver required to
use this function.
This CL adds register block definitions and the implementation of
tcpci driver functions required to support type-c operation. This CL
does not include support for USB-PD functionality.
BUG=b:167601672
BRANCH=None
TEST=verfied type-c attaches properly on quiche
Signed-off-by: Scott Collyer <scollyer@google.com>
Change-Id: I3e7912f33efa716501896b1f96b4c6d67db0f573
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2213840
Tested-by: Scott Collyer <scollyer@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Scott Collyer <scollyer@chromium.org>
Diffstat (limited to 'chip/stm32/build.mk')
-rw-r--r-- | chip/stm32/build.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chip/stm32/build.mk b/chip/stm32/build.mk index a951c0eb21..f2d5720961 100644 --- a/chip/stm32/build.mk +++ b/chip/stm32/build.mk @@ -98,3 +98,4 @@ chip-$(CONFIG_USB_ISOCHRONOUS)+=usb_isochronous.o chip-$(CONFIG_USB_PD_TCPC)+=usb_pd_phy.o chip-$(CONFIG_USB_SPI)+=usb_spi.o endif +chip-$(CONFIG_USB_PD_TCPM_STM32GX)+=ucpd-stm32gx.o |