diff options
author | Wai-Hong Tam <waihong@google.com> | 2020-08-31 16:26:46 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-09-02 01:45:20 +0000 |
commit | fb769f0964178cc2e700eec363a8604312174a0b (patch) | |
tree | 4002537be9d92d2f419e89982f727d16e4d6c713 /common/charge_ramp.c | |
parent | 20b99a7070220a3ef191ca20a4b1155b0acc4e18 (diff) | |
download | chrome-ec-fb769f0964178cc2e700eec363a8604312174a0b.tar.gz |
lazor/limozeen: Support DA9313 and LN9310 switchcaps
Dynamic detect the present of LN9310 by probing the I2C device.
If LN9310 not present, fallback to use DA9313. Initialize the
switchcap in different ways, like its enable pin, interrupt,
power good, etc.
BRANCH=None
BUG=b:163867792, b:151393598
TEST=Built Lazor image, checked DA9313 detected, booted into kernel.
Change-Id: I661282e27a09af1bf30e5b7acba32772a6a8885d
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2386482
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Diffstat (limited to 'common/charge_ramp.c')
0 files changed, 0 insertions, 0 deletions