diff options
author | Vic Yang <victoryang@chromium.org> | 2014-08-27 15:42:25 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-09-02 04:21:07 +0000 |
commit | 31a935f520210e71dc9bddc3ec06911a8af8140a (patch) | |
tree | 73612b185dfed5198401b2a1cd9d46765a74bca5 /board/plankton/board.h | |
parent | e523cf49b208593eefd76eec0b0d7f0d39bff00a (diff) | |
download | chrome-ec-31a935f520210e71dc9bddc3ec06911a8af8140a.tar.gz |
plankton: Update board configuration to Plankton V2
*** This breaks Plankton V1 support ***
This CL updates GPIO and PD configuration.
BUG=chrome-os-partner:31633
TEST=Build successfully. No board to test.
BRANCH=None
Change-Id: I9bbcde8aed15aa488e659a69dc87978532f33f13
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/214823
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'board/plankton/board.h')
-rw-r--r-- | board/plankton/board.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/board/plankton/board.h b/board/plankton/board.h index 045fa8b6c8..e5a036e7fe 100644 --- a/board/plankton/board.h +++ b/board/plankton/board.h @@ -29,7 +29,7 @@ #undef CONFIG_TASK_PROFILING /* I2C ports configuration */ -#define I2C_PORT_SLAVE 0 +#define I2C_PORT_MASTER 1 /* * Allow dangerous commands all the time, since we don't have a write protect @@ -48,6 +48,7 @@ /* ADC signal */ enum adc_channel { ADC_CH_CC1_PD = 0, + ADC_CH_CC2_PD, /* Number of ADC channels */ ADC_CH_COUNT }; @@ -55,6 +56,7 @@ enum adc_channel { enum board_src_cap { SRC_CAP_5V = 0, SRC_CAP_12V, + SRC_CAP_20V, }; /* Set USB PD source capability */ |