mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-05 06:21:53 +00:00
Fizz: Remove power control of V3P3_USBPD
PU62 used to be used to turn on power to PS8751 but it's been removed. PS8751 is powered directly from PP3300_EC. So, EC doesn't need to enable it. BUG=b:65212601 BRANCH=none TEST=On Kench EVT SKU5, verify type-c port is powered. Change-Id: I2a1ce28efe09212a4ce7e7b57c0560e42e137cec Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/826256 Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
b9939cf42b
commit
b4e6b8eef9
@@ -221,14 +221,9 @@ void board_tcpc_init(void)
|
||||
{
|
||||
int port, reg;
|
||||
|
||||
/* Only reset TCPC if not sysjump */
|
||||
if (!system_jumped_to_this_image()) {
|
||||
/* Power on PS8751 */
|
||||
gpio_set_level(GPIO_PP3300_USB_PD, 1);
|
||||
/* TODO(crosbug.com/p/61098): How long do we need to wait? */
|
||||
msleep(10);
|
||||
/* Only reset TCPC in RO boot. */
|
||||
if (!system_jumped_to_this_image())
|
||||
board_reset_pd_mcu();
|
||||
}
|
||||
|
||||
/*
|
||||
* Wake up PS8751. If PS8751 remains in low power mode after sysjump,
|
||||
|
||||
@@ -47,9 +47,6 @@ GPIO(POWER_RATE, PIN(7, 1), GPIO_INPUT) /* High: i3/5/7. Low: Celeron */
|
||||
/* Fizz specific pins */
|
||||
GPIO(LAN_PWR_EN, PIN(8, 3), GPIO_OUT_HIGH) /* Ethernet power enabled */
|
||||
|
||||
/* TODO(crosbug.com/p/61098): Make use of these GPIOs */
|
||||
GPIO(PP3300_USB_PD, PIN(6, 7), GPIO_OUTPUT)
|
||||
|
||||
GPIO(PP5000_DX_NFC, PIN(1, 5), GPIO_OUTPUT)
|
||||
|
||||
GPIO(PP3300_DX_CAM, PIN(1, 0), GPIO_OUT_HIGH)
|
||||
|
||||
Reference in New Issue
Block a user