diff options
author | Diana Z <dzigterman@chromium.org> | 2018-08-16 12:07:54 -0600 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-08-17 20:39:08 -0700 |
commit | 78edde263c28c58f679008964c1b6dde0cbaca42 (patch) | |
tree | 249d9e76e54655d95795302cc8e8a8fdf831931a /baseboard/octopus | |
parent | b64a23b55d321b3af683119a532b5204908c58b3 (diff) | |
download | chrome-ec-78edde263c28c58f679008964c1b6dde0cbaca42.tar.gz |
bobba: update EC GPIOs for Bobba EVT
- added volume button inputs to bobba's GPIO interrupts
- removed USB_OTG pin from the baseboard code since it is unused
- changed USB_OTG to USB_C0_PD_RST
- added CAM_SOC_EC_SYNC as input for now
Since most of the bobba protos use yorp firmware, it seems unlikely we
will need to support the proto boards with this change.
BRANCH=None
BUG=b:112354316
TEST=builds
Change-Id: I5a05a55ae731a6cdf293e93535c9256e5eb67520
Signed-off-by: Diana Z <dzigterman@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1178480
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'baseboard/octopus')
-rw-r--r-- | baseboard/octopus/usb_pd_policy.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/baseboard/octopus/usb_pd_policy.c b/baseboard/octopus/usb_pd_policy.c index 0078a027cd..4c30f5967b 100644 --- a/baseboard/octopus/usb_pd_policy.c +++ b/baseboard/octopus/usb_pd_policy.c @@ -105,9 +105,7 @@ int pd_check_vconn_swap(int port) void pd_execute_data_swap(int port, int data_role) { - /* On Octopus, only the first port can act as OTG */ - if (port == 0) - gpio_set_level(GPIO_USB2_OTG_ID, (data_role == PD_ROLE_UFP)); + /* Do nothing - functionality moved to the AP for octopus */ } int pd_is_valid_input_voltage(int mv) |