diff options
author | Vic Yang <victoryang@chromium.org> | 2013-04-27 01:17:10 +0800 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-04-26 12:36:26 -0700 |
commit | 92bd863d8dcd1d006d39b9f95547af5c7347c254 (patch) | |
tree | d7ce6b85722242f44b1aa0f51eb06316fead3f6c /include | |
parent | 79c3c04045ab4effb048e6acea6b80ea21769b0c (diff) | |
download | chrome-ec-92bd863d8dcd1d006d39b9f95547af5c7347c254.tar.gz |
Add new TPS65090 charge state REINIT and BAD_COND
Currently INIT state can mean different things. This change introduces
two new states to demultiplex INIT. Now, REINIT means charge state
machine is deciding the next state. BAD_COND means it's waiting for
acceptable charging condition. Note that the three states are doing the
same thing so there is no functional change.
BUG=chrome-os-partner:18914
TEST=none
BRANCH=spring
CQ-DEPEND=CL:49327
Change-Id: Ia783e76cf27e28103ef44fe7b8a43674dadccc54
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/49326
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/pmu_tpschrome.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/pmu_tpschrome.h b/include/pmu_tpschrome.h index 97f2b6fb09..bc348c7042 100644 --- a/include/pmu_tpschrome.h +++ b/include/pmu_tpschrome.h @@ -13,6 +13,8 @@ /* Non-SBS charging states */ enum charging_state { ST_IDLE, + ST_REINIT, + ST_BAD_COND, ST_PRE_CHARGING, ST_CHARGING, ST_CHARGING_ERROR, |