Scott 6b52c9cf58 eve: Modify 1.5 vs 3.0 current limit setting for P1B boards
P1B adds 2 new GPIO signals to explicitly control the 1.5 vs 3.0
current limit selection. In addition, the use case for the 5V enable
gpio changes to on/off and no longer needs to be toggled between input
and output.

This change is tied to the board version so that the operation for P1
and older boards is unaffected.

BUG=chrome-os-partner:61431
BRANCH=none
TEST=Manual
Connected display adapter into C0 port and verified gpio signals:
  1  USB_C0_5V_EN
  0* USB_C1_5V_EN
  1* EN_USB_C0_3A
  0  EN_USB_C1_3A
Then connect another adapter to C1:
  1  USB_C0_5V_EN
  1* USB_C1_5V_EN
  0* EN_USB_C0_3A
  0  EN_USB_C1_3A
Remove adapter from C0:
  0* USB_C0_5V_EN
  1  USB_C1_5V_EN
  0  EN_USB_C0_3A
  1* EN_USB_C1_3A

Also tested P1 system to verify that the correct board version is read
and the signals match the expected value.

Change-Id: Iebab84304a33282c766b8963dba4a56052a295c7
Signed-off-by: Scott <scollyer@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/447866
Commit-Ready: Scott Collyer <scollyer@chromium.org>
Tested-by: Scott Collyer <scollyer@chromium.org>
Reviewed-by: Todd Broch <tbroch@chromium.org>
2017-03-01 09:31:28 -08:00
2016-11-10 21:28:33 -08:00
2017-03-01 05:04:04 -08:00
2012-05-11 09:11:52 -07:00
2014-04-02 19:58:53 +00:00
2015-12-08 20:05:05 -08:00

For an overview of the Embedded Controller firmware, refer to

http://www.chromium.org/chromium-os/2014-firmware-summit

For instructions on building from source, refer to

http://www.chromium.org/chromium-os/ec-development/getting-started-building-ec-images-quickly
Description
No description provided
Readme 1.4 GiB
Languages
C 64.7%
Lasso 20.7%
ASL 3.6%
JavaScript 3.2%
C# 2.9%
Other 4.6%