From 19ee2c44c566ccd9b9e26490e48cbdfc027a2c78 Mon Sep 17 00:00:00 2001 From: Vic Yang Date: Thu, 25 Jul 2013 08:30:18 +0800 Subject: [PATCH] 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 Reviewed-on: https://gerrit.chromium.org/gerrit/63297 Reviewed-by: Jeremy Thorpe Reviewed-by: Vincent Palatin Reviewed-on: https://gerrit.chromium.org/gerrit/64273 --- common/extpower_usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: