ec: Support MAX17055 battery / gas gauge |
|||
Issue descriptionLet'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
,
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
,
Aug 10 2017
,
Jan 22 2018
|
|||
►
Sign in to add a comment |
|||
Comment 1 by philipchen@chromium.org
, Jul 10 2017Status: Started (was: Untriaged)