summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2016-07-26 11:17:08 +0200
committerchrome-bot <chrome-bot@chromium.org>2016-07-27 02:03:51 -0700
commit2300ecc611e3995767ae0c1a3e82a45d69e968d6 (patch)
treed3825cf1dc97b6b924b3ea6983079f32b6caedf3
parentc48408f0baf852671d8c87f1f64890201335e1df (diff)
downloadchrome-ec-stabilize-8647.B.tar.gz
kevin: reef: enable CCD provided by an external chipstabilize-8647.B
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 <vpalatin@chromium.org> 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 <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
-rw-r--r--board/kevin/board.h1
-rw-r--r--board/reef/board.h1
2 files changed, 2 insertions, 0 deletions
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