From db3de77a474e2a0ffddcfc78822e5a74c5ae39f3 Mon Sep 17 00:00:00 2001 From: Caveh Jalali Date: Wed, 17 Jun 2020 19:08:00 -0700 Subject: ps8xxx: patch ps8815 A1 chip Device ID this adds a config option for the ps8815 to override the TCPCI Device ID field based on the chip hardware revision reported in vendor defined registers. early ps8815 A1 firmware still reports the same Device ID value as the A0 chip which makes the two chips indistinguishable using standard methods. so, we check a vendor defined register to distinguish the two parts and "patch" the Device ID. newer ps8815 firmware will correct this, so after we have flushed out early firmware, we can disable this override feature. BRANCH=none BUG=b:158857815,b:159289062 TEST=reflashed FW on ps8815 A0 and A1 Change-Id: I2db3150740c15a77836dea0e9db72e5d99fdc050 Signed-off-by: Caveh Jalali Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2254992 Tested-by: Keith Short Reviewed-by: Keith Short Commit-Queue: Keith Short --- baseboard/volteer/baseboard.h | 1 + 1 file changed, 1 insertion(+) (limited to 'baseboard/volteer') diff --git a/baseboard/volteer/baseboard.h b/baseboard/volteer/baseboard.h index 677a988ac9..0e6e47bca8 100644 --- a/baseboard/volteer/baseboard.h +++ b/baseboard/volteer/baseboard.h @@ -163,6 +163,7 @@ #define CONFIG_USB_PD_TCPM_TCPCI #define CONFIG_USB_PD_TCPM_TUSB422 /* USBC port C0 */ #define CONFIG_USB_PD_TCPM_PS8815 /* USBC port USB3 DB */ +#define CONFIG_USB_PD_TCPM_PS8815_FORCE_DID #define CONFIG_USB_PD_TCPM_MUX #define CONFIG_HOSTCMD_PD_CONTROL /* Needed for TCPC FW update */ #define CONFIG_CMD_USB_PD_PE -- cgit v1.2.1