From ae00aa80225ed725d2962dfb608019d3fb70b314 Mon Sep 17 00:00:00 2001 From: Rachel Nancollas Date: Tue, 12 Dec 2017 12:37:40 -0800 Subject: [PATCH] zoombini: Add support for P1 PPC (port 1 and 2) Added code to support port 1 and 2 power path controller since we didn't have the parts on rev 0. BUG=None BRANCH=None TEST=make board=zoombini, make board=meowth TEST=Make sure Zoombini can charge in on all ports. TEST=Make sure Zoombini can charge out on all ports. Change-Id: Idf174125cc5a617ad77378ce65d5c0f6cbb9fce4 Signed-off-by: Rachel Nancollas Reviewed-on: https://chromium-review.googlesource.com/823211 Commit-Ready: Aseda Aboagye Reviewed-by: Aseda Aboagye --- board/zoombini/board.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/board/zoombini/board.c b/board/zoombini/board.c index d9c36d375b..fbcb221dd4 100644 --- a/board/zoombini/board.c +++ b/board/zoombini/board.c @@ -189,6 +189,18 @@ const struct ppc_config_t ppc_chips[] = { .i2c_addr = SN5S330_ADDR0, .drv = &sn5s330_drv }, +#ifdef BOARD_ZOOMBINI + { + .i2c_port = I2C_PORT_TCPC1, + .i2c_addr = SN5S330_ADDR0, + .drv = &sn5s330_drv + }, + { + .i2c_port = I2C_PORT_TCPC2, + .i2c_addr = SN5S330_ADDR0, + .drv = &sn5s330_drv + } +#endif /* defined(BOARD_ZOOMBINI) */ }; const unsigned int ppc_cnt = ARRAY_SIZE(ppc_chips);