mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-11 02:15:14 +00:00
spring: Sense attached device type
This adds USB port control to charger task. For now, it only senses attached device type and log it to console. BUG=chrome-os-partner:14319 TEST=Attach/detach charger and see console output. BRANCH=none Change-Id: I1218d520c292d9d398c868122ae3876d3fc889bc Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/40078 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
This commit is contained in:
@@ -65,6 +65,7 @@ enum tsu6721_mux {
|
||||
#define TSU6721_TYPE_AUDIO2 0x000002
|
||||
#define TSU6721_TYPE_AUDIO1 0x000001
|
||||
#define TSU6721_TYPE_AUDIO3 0x008000
|
||||
#define TSU6721_TYPE_JIG_UART_ON 0x000400
|
||||
#define TSU6721_TYPE_U200_CHG 0x400000
|
||||
#define TSU6721_TYPE_APPLE_CHG 0x200000
|
||||
#define TSU6721_TYPE_NON_STD_CHG 0x040000
|
||||
|
||||
Reference in New Issue
Block a user