diff options
author | Vic Yang <victoryang@google.com> | 2012-01-10 15:29:26 +0800 |
---|---|---|
committer | Vic Yang <victoryang@google.com> | 2012-01-19 10:54:37 +0800 |
commit | af8026cdf99aeaa2db7ad6671ef9cad2cef60772 (patch) | |
tree | 1f555170c9f1ee5e10a29af991c7b540729906b3 /board/bds | |
parent | 37dcc1ab56c6817aae90e244f42ebff1d62bbfcb (diff) | |
download | chrome-ec-af8026cdf99aeaa2db7ad6671ef9cad2cef60772.tar.gz |
USB Charging control
Implement TPS2543 USB charging control.
It contains routine for setting each USB port as dedicated charging port
or standard downstream port. To allow us controlling the current
distributed to each port, we can select whether to allow 500mA or 1500mA
for each port.
BUG=chrome-os-partner:7476
TEST=Added USB port definition for BDS and tested GPIO output voltage
level is correct for all modes.
Change-Id: I19bc4b30d333aa802f868ebfc3a398b30e99ba0f
Diffstat (limited to 'board/bds')
-rw-r--r-- | board/bds/board.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/bds/board.h b/board/bds/board.h index 18e1c7b8b9..83e40804c1 100644 --- a/board/bds/board.h +++ b/board/bds/board.h @@ -58,6 +58,9 @@ #define KB_SCAN_ROW_IRQ LM4_IRQ_GPIOH #define KB_SCAN_ROW_GPIO LM4_GPIO_H +/* USB charge port */ +#define USB_CHARGE_PORT_COUNT 0 + /* GPIO signal list */ enum gpio_signal { /* Inputs with interrupt handlers are first for efficiency */ |