mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 02:35:28 +00:00
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
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user