diff options
author | Ruibin Chang <Ruibin.Chang@ite.com.tw> | 2019-08-20 13:07:20 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-08-21 06:44:12 +0000 |
commit | 7e6b31e8823f26ebd90e61c528d973a2095cbf55 (patch) | |
tree | 57685b66374c0e676ecc3d4744c6dda9d7d64625 /board | |
parent | e1debcba165515eae87ea36034c43a8b58bff58f (diff) | |
download | chrome-ec-7e6b31e8823f26ebd90e61c528d973a2095cbf55.tar.gz |
driver/tcpm/it83xx: Enable TCPC receive SOP'
Enable TCPC receive SOP' for communication with cable, when
we are Vconn source role.
BUG=None
BRANCH=None
TEST=test on board: ampton and reef_it8320
1.SRC connects to SNK via E-mark cable, sources Vconn successfully,
and receives cable's ack of discover id request.
2.SRC connects to SNK via E-mark cable, but not source Vconn to
cable, and receives nothing of discover id request
(this isn't effect on request SNK flow).
3.console cmd pdcable 0
2019-07-30 11:43:40 > pdcable 0
2019-07-30 11:43:45 Cable Type: Passive
2019-07-30 11:43:45 Connector Type: Type C
2019-07-30 11:43:45 Cable Current: 5A
2019-07-30 11:43:45 USB Superspeed Signaling support: Gen 1
Change-Id: Icd2e6f8481bb7a4e0b922460d46b831f36112738
Signed-off-by: Ruibin Chang <Ruibin.Chang@ite.com.tw>
Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1728669
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/dragonegg/board.h | 2 | ||||
-rw-r--r-- | board/it83xx_evb/board.h | 1 | ||||
-rw-r--r-- | board/reef_it8320/board.h | 2 |
3 files changed, 0 insertions, 5 deletions
diff --git a/board/dragonegg/board.h b/board/dragonegg/board.h index c03d98b6b3..59feb9dc4f 100644 --- a/board/dragonegg/board.h +++ b/board/dragonegg/board.h @@ -79,8 +79,6 @@ enum battery_type { BATTERY_TYPE_COUNT, }; -void board_pd_vconn_ctrl(int port, int cc_pin, int enabled); - #endif /* !__ASSEMBLER__ */ #endif /* __CROS_EC_BOARD_H */ diff --git a/board/it83xx_evb/board.h b/board/it83xx_evb/board.h index 6ac5e9f8ae..34cae4c144 100644 --- a/board/it83xx_evb/board.h +++ b/board/it83xx_evb/board.h @@ -107,7 +107,6 @@ enum adc_channel { /* delay to turn on/off vconn */ #define PD_VCONN_SWAP_DELAY 5000 /* us */ -void board_pd_vconn_ctrl(int port, int cc_pin, int enabled); void board_pd_vbus_ctrl(int port, int enabled); #endif diff --git a/board/reef_it8320/board.h b/board/reef_it8320/board.h index ef1a3361e1..a34392173c 100644 --- a/board/reef_it8320/board.h +++ b/board/reef_it8320/board.h @@ -201,8 +201,6 @@ enum reef_it8320_board_version { /* Reset PD MCU */ void board_reset_pd_mcu(void); int board_get_version(void); -/* Turn on/off vconn power switch. */ -void board_pd_vconn_ctrl(int port, int cc_pin, int enabled); #endif /* !__ASSEMBLER__ */ |