From c32c1ae24c398679edae807f9c1620eb91377003 Mon Sep 17 00:00:00 2001 From: Sam Hurst Date: Thu, 1 Aug 2019 09:09:10 -0700 Subject: pd: USB Power Delivery State Machine based on Revision 3.0 of the spec. Adds Power Delivery to the TypeC state machine as detailed in Revision 3.0, Version 1.2 of the specification. This CL passes the PD2.0 compliance tests and has been tested on several devices. Some areas such as handling Electronically Marked Cable information, creation of PIDs, and Host commands will be addressed in later CLs. BUG=b:130895206 BRANCH=none TEST=manual Port 0 on Hatch was used to run this CL, merged with PD functionality, on the PD2.0 Compliance tester. All tests pass except for a few physical layer tests. The test report has been added to the bug. Atlas was verified to work with Apple, Amazon, StarTech, MKDGO and several other generic docks. Atlas was verified to work with Google's and Apple's CTVPD. Signed-off-by: Sam Hurst Change-Id: Ia5e1988b0d81ec4cf9a7175e273197bd5a0865e4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1737899 Reviewed-by: Jett Rink Reviewed-by: Denis Brockus Tested-by: Jett Rink Commit-Queue: Denis Brockus --- common/usbc/build.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'common/usbc/build.mk') diff --git a/common/usbc/build.mk b/common/usbc/build.mk index e1a90cdb32..fea97cde43 100644 --- a/common/usbc/build.mk +++ b/common/usbc/build.mk @@ -14,6 +14,7 @@ all-obj-$(CONFIG_USB_PRL_SM)+=$(_usbc_dir)usb_prl_sm.o ifneq ($(CONFIG_USB_PE_SM),) all-obj-$(CONFIG_USB_TYPEC_VPD)+=$(_usbc_dir)usb_pe_ctvpd_sm.o all-obj-$(CONFIG_USB_TYPEC_CTVPD)+=$(_usbc_dir)usb_pe_ctvpd_sm.o +all-obj-$(CONFIG_USB_TYPEC_DRP_ACC_TRYSRC)+=$(_usbc_dir)usb_pe_drp_sm.o endif all-obj-$(CONFIG_USB_TYPEC_VPD)+=$(_usbc_dir)usb_tc_vpd_sm.o all-obj-$(CONFIG_USB_TYPEC_CTVPD)+=$(_usbc_dir)usb_tc_ctvpd_sm.o -- cgit v1.2.1