| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PPC NX20P3483 needs EN_SNK asserted to sink. This isn't a issue
on most cases except for the dead battery case. When dead battery
happens, the nx20p3483_init tries to enable sink from VCHG, but however,
the EN_SNK was controlled by the RT1718S's universal GPIO, and the
control was tight to charge_manager:board_set_active_charger_port().
The charge_manager wasn't ready at the very beginning moment of boot
up, and also the NX20P3483 won't response to I2C command when it was
in dead battery mode, so it has difficulty to interact to charger_manager
from PPC driver. So when NX20P3483 exits dead battery mode, due to the
EN_SNK was not asserted, the board is browned-out.
This CL moves the control from charge_manager to TCPC driver so
it's easier for NX20P3483 to ask RT1718S to enable EN_SNK pin.
BUG=b:214146359
TEST=Boot Kingler without battery with sinking from C1.
BRANCH=none
Change-Id: I032c020a958bd9d1cec1a6b10766c90ebd102f3b
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3386982
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Eric Yilun Lin <yllin@google.com>
Tested-by: Eric Yilun Lin <yllin@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
C0: ANX3447 integrated TCPC
C1: PS8743 redriver
BUG=b:203739613
TEST=Mux is able to switch to SS and DP
BRANCH=none
Change-Id: I830b431b371c956ee4452c430cd06f1f25ec3262
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3359163
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Eric Yilun Lin <yllin@google.com>
Tested-by: Eric Yilun Lin <yllin@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable C0 RT1718S and C1 PI3USB9201 BC12 driver.
BUG=b:211363424
TEST=Test C0 and C1 that DCP/CDP/SDP can be detected respectively
BRANCH=none
Change-Id: Iaf6afe6c4b59ae1598bfbccbfd3a15ee17f73926
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3353053
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Eric Yilun Lin <yllin@google.com>
Tested-by: Eric Yilun Lin <yllin@google.com>
|
|
This CL configures USB-C and charger drivers:
- TCPC C0: RT1718S, C1: ANX3447
- PPC C0/C1: NX20P3483
- Charger ISL9238C
- ChargeManager
BUG=b:203739613
TEST=Battery can be charged. C0/C1 can act as SNK and SRC.
BRANCH=none
Change-Id: I83c87c0059fbe3d9880fdd2a9d214782cfa12a31
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3306759
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Eric Yilun Lin <yllin@google.com>
Tested-by: Eric Yilun Lin <yllin@google.com>
|