mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 17:41:54 +00:00
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 <rachelsn@google.com> Reviewed-on: https://chromium-review.googlesource.com/823211 Commit-Ready: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
b4e6b8eef9
commit
ae00aa8022
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user