summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2016-07-26 11:07:52 +0200
committerchrome-bot <chrome-bot@chromium.org>2016-07-27 02:03:49 -0700
commitc48408f0baf852671d8c87f1f64890201335e1df (patch)
treea4fd406b7b4a0993b28d7d5431558c93b3c9530f /include/config.h
parente8a95db0597cba3ebfb93779b7a2a53b7224dec9 (diff)
downloadchrome-ec-c48408f0baf852671d8c87f1f64890201335e1df.tar.gz
pd: support CCD provided by an external chip
When the case close debug (CCD) feature is provided by an external chip (e.g security chip or TCPC), we still need to be able to detect debug accessory with Rd/Rd (by setting Rp/Rp when VBUS is detected without seeing Rp). Add a CONFIG_CASE_CLOSED_DEBUG_EXTERNAL configuration parameter for this case. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=none BUG=chrome-os-partner:55410 TEST=manual:on Kevin, enable CONFIG_CASE_CLOSED_DEBUG_EXTERNAL, plug a SuzyQ (with Rd/Rd) and verify that the device in debug mode when transitioning to S5. Change-Id: Ie04a000a7b0eb670e3808f7bca1180298dfcd9db Reviewed-on: https://chromium-review.googlesource.com/363400 Commit-Ready: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/config.h b/include/config.h
index d868d5671e..d3b15932cf 100644
--- a/include/config.h
+++ b/include/config.h
@@ -312,9 +312,11 @@
#undef CONFIG_BUTTON_COUNT
/*
- * Enable case close debug (CCD) mode.
+ * Enable case close debug (CCD) mode in the EC.
*/
#undef CONFIG_CASE_CLOSED_DEBUG
+/* The case close debug (CCD) feature is provided by an external chip. */
+#undef CONFIG_CASE_CLOSED_DEBUG_EXTERNAL
/*
* Capsense chip has buttons, too.