diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-10-18 16:44:06 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2013-10-21 21:10:40 +0000 |
commit | 1d6687429c1ea236bf09ac32d4936888a36730e6 (patch) | |
tree | 8efe4e10affdc11c6d288bec17faeb0efe37c093 /board | |
parent | d9530449fd75650a53d2ee8d9cfdc8ef063781b5 (diff) | |
download | chrome-ec-1d6687429c1ea236bf09ac32d4936888a36730e6.tar.gz |
rambi: Support USB port power control
Rambi shares several of the control signals (CTL1, ILIM_SEL) between
both ports, and hard-wires some of the others (CTL2, CTL3). It still
has separate enable lines for each port.
BUG=chrome-os-partner:18343
BRANCH=none
TEST=boot system; gpioget shows (in part)
1 USB_CTL1
0 USB_ILIM_SEL
1 USB1_ENABLE
1 USB2_ENABLE
Then do 'apshutdown' and gpioget shows
1 USB_CTL1
0 USB_ILIM_SEL
0 USB1_ENABLE
0 USB2_ENABLE
Change-Id: Ib3d321ca2b0aa7dce08ddd6633810a75641bc9a8
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/173737
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Vic Yang <victoryang@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/rambi/board.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/rambi/board.h b/board/rambi/board.h index 2cc95f1fb1..4531bdfc8d 100644 --- a/board/rambi/board.h +++ b/board/rambi/board.h @@ -26,6 +26,7 @@ #define CONFIG_TEMP_SENSOR #define CONFIG_TEMP_SENSOR_G781 #define CONFIG_TEMP_SENSOR_POWER_GPIO GPIO_PP3300_DX_EN +#define CONFIG_USB_PORT_POWER_SMART #define CONFIG_WIRELESS /* TODO(rspangler): port these to Rambi, or remove if not needed */ @@ -38,7 +39,6 @@ #define CONFIG_CHARGER_INPUT_CURRENT 4032 /* mA, about half max */ #define CONFIG_CHARGER_SENSE_RESISTOR 10 /* Charge sense resistor, mOhm */ #define CONFIG_CHARGER_SENSE_RESISTOR_AC 10 /* Input sensor resistor, mOhm */ -#define CONFIG_USB_PORT_POWER_DUMB #endif #ifndef __ASSEMBLER__ |