diff options
author | Devin Lu <Devin.Lu@quantatw.com> | 2014-04-01 14:47:37 +0800 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-04-02 17:04:12 +0000 |
commit | d98dd1b27c82d0a583a3419b8a9548e8ff09016b (patch) | |
tree | 0a3a2d189b3448bb0f60f220beef36c56a861d07 | |
parent | 056a0fb14a133a2ea82b8c5b445a3d6ef45b8072 (diff) | |
download | chrome-ec-d98dd1b27c82d0a583a3419b8a9548e8ff09016b.tar.gz |
Kip: Modify adpater input current and battery configuration
Set input current to 2048mA for 45w adpater and config battery configuration for kip.
BUG=chrome-os-partner:26767
BRANCH=rambi
TEST=manual
build ec and flash to kip board,
Verify input current with 'adc' console command
while system charging the battery and under heavy load.
verify battery works.
Change-Id: I10c4574b141236a0dd23dec0c4687e18ebdb2d98
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Reviewed-by: Dave Parker <dparker@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/192560
Commit-Queue: Dave Parker <dparker@chromium.org>
Tested-by: Dave Parker <dparker@chromium.org>
-rw-r--r-- | board/kip/battery.c | 6 | ||||
-rw-r--r-- | board/kip/board.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/board/kip/battery.c b/board/kip/battery.c index 192a87248f..15df43b36c 100644 --- a/board/kip/battery.c +++ b/board/kip/battery.c @@ -16,9 +16,9 @@ #define SB_SHUTDOWN_DATA 0x0010 static const struct battery_info info = { - .voltage_max = 8400, /* mV */ - .voltage_normal = 7400, - .voltage_min = 6000, + .voltage_max = 12900, /* mV */ + .voltage_normal = 11400, + .voltage_min = 8250, .precharge_current = 256, /* mA */ .start_charging_min_c = 0, .start_charging_max_c = 45, diff --git a/board/kip/board.h b/board/kip/board.h index acc682f52e..3541b6cc5a 100644 --- a/board/kip/board.h +++ b/board/kip/board.h @@ -16,7 +16,7 @@ #define CONFIG_CHARGER #define CONFIG_CHARGER_BQ24715 #define CONFIG_CHARGER_DISCHARGE_ON_AC -#define CONFIG_CHARGER_INPUT_CURRENT 1700 /* 33 W adapter, 19 V, 1.75 A */ +#define CONFIG_CHARGER_INPUT_CURRENT 2048 /* 45 W adapter, 19 V, 2.048 A */ #define CONFIG_CHARGER_SENSE_RESISTOR 10 /* Charge sense resistor, mOhm */ #define CONFIG_CHARGER_SENSE_RESISTOR_AC 10 /* Input senso resistor, mOhm */ #define CONFIG_CHIPSET_BAYTRAIL |