summaryrefslogtreecommitdiff
path: root/driver/ppc/rt1739.h
diff options
context:
space:
mode:
authorwangganxiang <wangganxiang@huaqin.corp-partner.google.com>2023-05-09 16:23:21 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-05-15 08:19:45 +0000
commite89f731318700b04bc3d4872d88223d97c2e0270 (patch)
tree8f2ed8bf02a516c361e8c2164c2437e2c6f8736d /driver/ppc/rt1739.h
parent926f0b68e18c4fc5c8ed48efe2bb7640cb8a391c (diff)
downloadchrome-ec-e89f731318700b04bc3d4872d88223d97c2e0270.tar.gz
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 <mike5@huaqin.corp-partner.google.com> Commit-Queue: Ganxiang Wang <wangganxiang@huaqin.corp-partner.google.com> Reviewed-by: Sung-Chi Li <lschyi@chromium.org> Tested-by: Ganxiang Wang <wangganxiang@huaqin.corp-partner.google.com>
Diffstat (limited to 'driver/ppc/rt1739.h')
-rw-r--r--driver/ppc/rt1739.h2
1 files changed, 2 insertions, 0 deletions
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) */