From 2300ecc611e3995767ae0c1a3e82a45d69e968d6 Mon Sep 17 00:00:00 2001 From: Vincent Palatin Date: Tue, 26 Jul 2016 11:17:08 +0200 Subject: kevin: reef: enable CCD provided by an external chip The case close debug (CCD) feature is provided by the external security chip. We add CONFIG_CASE_CLOSED_DEBUG_EXTERNAL to be able to detect debug accessory with Rd/Rd (by setting Rp/Rp when VBUS is detected without seeing Rp). Signed-off-by: Vincent Palatin BRANCH=none BUG=chrome-os-partner:55410 TEST=manual:on Kevin, plug a SuzyQ (with Rd/Rd) either in S5 or transition the device to S5 afterwards and see the debug USB endpoint works. Change-Id: Icef4209470463be77d43f4a46e32769ebf58f558 Reviewed-on: https://chromium-review.googlesource.com/363401 Commit-Ready: Vincent Palatin Tested-by: Vincent Palatin Reviewed-by: Shawn N --- board/kevin/board.h | 1 + board/reef/board.h | 1 + 2 files changed, 2 insertions(+) diff --git a/board/kevin/board.h b/board/kevin/board.h index d98b39aab8..e81bc4677d 100644 --- a/board/kevin/board.h +++ b/board/kevin/board.h @@ -72,6 +72,7 @@ #define CONFIG_LID_ANGLE_SENSOR_LID LID_ACCEL /* USB PD config */ +#define CONFIG_CASE_CLOSED_DEBUG_EXTERNAL #define CONFIG_CHARGE_MANAGER #define CONFIG_USB_POWER_DELIVERY #define CONFIG_USB_PD_ALT_MODE diff --git a/board/reef/board.h b/board/reef/board.h index 7831c90dfb..541eada0c6 100644 --- a/board/reef/board.h +++ b/board/reef/board.h @@ -36,6 +36,7 @@ #define CONFIG_USB_CHARGER /* USB PD config */ +#define CONFIG_CASE_CLOSED_DEBUG_EXTERNAL #define CONFIG_USB_PD_ALT_MODE #define CONFIG_USB_PD_ALT_MODE_DFP #define CONFIG_USB_PD_CUSTOM_VDM -- cgit v1.2.1