From e89f731318700b04bc3d4872d88223d97c2e0270 Mon Sep 17 00:00:00 2001 From: wangganxiang Date: Tue, 9 May 2023 16:23:21 +0800 Subject: starmie: Improve RT1739 dead battery voltage issue Add RT1739 initialization during EC boot. This modification is optimized for dead battery voltage issues. BUG=b:281606949 TEST=zmake build starmie The board can power on normally under AC only mode. Change-Id: I1843b9bce231bc730ad1c4ccb69d74fe3d7beb65 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4516061 Reviewed-by: Mike Lee Commit-Queue: Ganxiang Wang Reviewed-by: Sung-Chi Li Tested-by: Ganxiang Wang --- driver/ppc/rt1739.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'driver/ppc/rt1739.h') diff --git a/driver/ppc/rt1739.h b/driver/ppc/rt1739.h index f4c5e44354..48256da202 100644 --- a/driver/ppc/rt1739.h +++ b/driver/ppc/rt1739.h @@ -134,4 +134,6 @@ extern const struct bc12_drv rt1739_bc12_drv; void rt1739_interrupt(int port); +int rt1739_init(int port); + #endif /* defined(__CROS_EC_PPC_RT1739_H) */ -- cgit v1.2.1