summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2013-07-25 08:30:18 +0800
committerChromeBot <chrome-bot@google.com>2013-08-01 18:15:45 -0700
commit19ee2c44c566ccd9b9e26490e48cbdfc027a2c78 (patch)
tree3111107e4f86b68d503cc7508e506dfdcabff2eb
parent075006c603eac8ce2b2998893811f85bac31587e (diff)
downloadchrome-ec-19ee2c44c566ccd9b9e26490e48cbdfc027a2c78.tar.gz
spring: Increase CABLE_DET voltage threshold
With this, we can more precisely distinguish a video dongle and an USB host. The downside is that old boards with ID_OUT connected instead of CABLE_DET will lose the ability to use a video dongle. BUG=chrome-os-partner:21310 TEST=Plug in USB host in S5 and see it's detected correctly. BRANCH=Spring Change-Id: I26856593a9fc1ef99c60b27aef3a53538e96f482 Original-Change-Id: I1116ac447bbc0b491f88fa38c16ff57501fe0288 Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/63297 Reviewed-by: Jeremy Thorpe <jeremyt@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/64273
-rw-r--r--common/extpower_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/extpower_usb.c b/common/extpower_usb.c
index 957ad649b5..e7ec5e710c 100644
--- a/common/extpower_usb.c
+++ b/common/extpower_usb.c
@@ -45,7 +45,7 @@ enum ilim_config {
#define TOAD_DEVICE_TYPE (TSU6721_TYPE_UART | TSU6721_TYPE_AUDIO3)
/* Voltage threshold of D+ for video */
-#define VIDEO_ID_THRESHOLD 250
+#define VIDEO_ID_THRESHOLD 1300
/*
* Mapping from PWM duty to current: