New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 736603 link

Starred by 4 users

Issue metadata

Status: Archived
Owner:
Closed: Aug 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

ec: Support MAX17055 battery / gas gauge

Project Member Reported by sha...@chromium.org, Jun 24 2017

Issue description

Let's add a battery driver for MAX17055 (which seems to somewhat follow the SB spec, but not completely) and make sure virtual battery works.

https://datasheets.maximintegrated.com/en/ds/MAX17055.pdf
http://pdfserv.maximintegrated.com/en/an/AN6358.pdf
 
Owner: philipchen@chromium.org
Status: Started (was: Untriaged)
Project Member

Comment 2 by bugdroid1@chromium.org, Jul 27 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/ec/+/19bd0659b3f4c00c9826b3b0005649f8f716d32a

commit 19bd0659b3f4c00c9826b3b0005649f8f716d32a
Author: Philip Chen <philipchen@google.com>
Date: Thu Jul 27 22:44:01 2017

battery/max17055: Add max17055 fuel gauge driver

BUG= chromium:736603 
BRANCH=none
TEST=Follow the steps below
1) add MAX17055 config to Scarlet and build the code
2) hook up max17055 eval board and a single cell battery
3) battery command from ec console shows reasonable numbers
   for temperature, voltage, and charge percentage

Change-Id: I3f838ff92c591665e9f1d0a7ba636ff83d9b7612
Signed-off-by: Philip Chen <philipchen@google.com>
Reviewed-on: https://chromium-review.googlesource.com/578300
Commit-Ready: Philip Chen <philipchen@chromium.org>
Tested-by: Philip Chen <philipchen@chromium.org>
Reviewed-by: Shawn N <shawnn@chromium.org>

[modify] https://crrev.com/19bd0659b3f4c00c9826b3b0005649f8f716d32a/include/config.h
[add] https://crrev.com/19bd0659b3f4c00c9826b3b0005649f8f716d32a/driver/battery/max17055.c
[modify] https://crrev.com/19bd0659b3f4c00c9826b3b0005649f8f716d32a/driver/build.mk
[modify] https://crrev.com/19bd0659b3f4c00c9826b3b0005649f8f716d32a/common/build.mk

Status: Fixed (was: Started)

Comment 4 by dchan@chromium.org, Jan 22 2018

Status: Archived (was: Fixed)

Sign in to add a comment