diff options
author | Todd Broch <tbroch@chromium.org> | 2014-10-07 09:55:11 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-10-08 05:07:29 +0000 |
commit | c1714dac125bc8f0483e0e63ae17f0ce630097ca (patch) | |
tree | df229ce42c74e80da83d01d69d5cb0eefe830f8d /board/hoho | |
parent | 7f55a51ced7a714c1765116a0d279b9d97847b02 (diff) | |
download | chrome-ec-c1714dac125bc8f0483e0e63ae17f0ce630097ca.tar.gz |
dingdong: Initial board and USB PD support.
Allows dingdong to receive initial USB PD communication (source
capabilities payload) and with some manual manipulation (see 'TEST=')
drive DPout.
CL is based heavily off hoho dongle where all files were copied from
board/hoho:
7b1e58c ectool: Add host command support to set fan RPM for each
fan separately
Files gpio.inc, board.h & board.c were modified but others should
be identical.
BRANCH=none
BUG=chrome-os-partner:31193
TEST=manual,
When attaching dingdong to samus_pd and configured via
'pd dualrole source'
I see following on samus_pd console:
C1 st9
Switch to 5000 V 900 mA (for 900/900 mA)
C1 st10
C1 st11
C1 st12
showing power constract and transition to SRC_RDY:
> pd 1 state
Port C1, Enabled - Role: SRC Polarity: CC1 State: SRC_READY
> typec 1 dp
Also if I connect in CC1 configuration and get access to dingdong
console I can
> gpioset PD_SBU_ENABLE 1
And see dingdong drive external monitor
Change-Id: I30ef6f8503a3fb015cfb8806bc36fb98f5150e40
Signed-off-by: Todd Broch <tbroch@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/221913
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'board/hoho')
-rw-r--r-- | board/hoho/board.c | 2 | ||||
-rw-r--r-- | board/hoho/board.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/board/hoho/board.c b/board/hoho/board.c index c30cbfd3a2..35bd123bc5 100644 --- a/board/hoho/board.c +++ b/board/hoho/board.c @@ -2,7 +2,7 @@ * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ -/* Twinkie dongle configuration */ +/* Hoho dongle configuration */ #include "adc.h" #include "adc_chip.h" diff --git a/board/hoho/board.h b/board/hoho/board.h index a7677d333a..1d330fa4dd 100644 --- a/board/hoho/board.h +++ b/board/hoho/board.h @@ -3,7 +3,7 @@ * found in the LICENSE file. */ -/* Twinkie dongle configuration */ +/* Hoho dongle configuration */ #ifndef __BOARD_H #define __BOARD_H |