summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2013-07-25 08:30:18 +0800
committerChromeBot <chrome-bot@google.com>2013-07-24 23:02:13 -0700
commit0b4a84929e065103498735f4a47817de1eccc61f (patch)
tree7efdbf6c1e765f520755cde7109286804359004b
parent76070804b0ebfa4e297d51ef01ed028d575e8e39 (diff)
downloadchrome-ec-0b4a84929e065103498735f4a47817de1eccc61f.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: 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>
-rw-r--r--board/spring/usb_charging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/spring/usb_charging.c b/board/spring/usb_charging.c
index eb47f92eba..4d810ce441 100644
--- a/board/spring/usb_charging.c
+++ b/board/spring/usb_charging.c
@@ -39,7 +39,7 @@
#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: