summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevin Lu <Devin.Lu@quantatw.com>2014-09-01 10:40:17 +0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-09-02 06:18:59 +0000
commit42b6fe59fc72a3a209c2c717d4272e291f69060e (patch)
tree9d09ea6c1c24dc5b7cd2bd5e84a5bb0c65b24a58
parent9e1890416526bb391494cb0b516e3c532a24119f (diff)
downloadchrome-ec-42b6fe59fc72a3a209c2c717d4272e291f69060e.tar.gz
Candy: Modify adpater input current and battery configuration
Set input current to 3072mA for 65w adpater and config battery configuration for candy. BUG=None BRANCH=rambi TEST=manual build ec and flash to candy board, Verify input current with 'adc' console command while system charging the battery and under heavy load. verify battery works. Change-Id: I3a104ab4e29a8d055c9ee5d4713bbfef82025757 Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/215811 Reviewed-by: Marc Jones <marc.jones@se-eng.com>
-rw-r--r--board/candy/battery.c12
-rw-r--r--board/candy/board.h2
2 files changed, 7 insertions, 7 deletions
diff --git a/board/candy/battery.c b/board/candy/battery.c
index 192a87248f..ad8811cbb8 100644
--- a/board/candy/battery.c
+++ b/board/candy/battery.c
@@ -16,16 +16,16 @@
#define SB_SHUTDOWN_DATA 0x0010
static const struct battery_info info = {
- .voltage_max = 8400, /* mV */
- .voltage_normal = 7400,
- .voltage_min = 6000,
+ .voltage_max = 13050, /* mV */
+ .voltage_normal = 11400,
+ .voltage_min = 9000,
.precharge_current = 256, /* mA */
.start_charging_min_c = 0,
- .start_charging_max_c = 45,
+ .start_charging_max_c = 50,
.charging_min_c = 0,
- .charging_max_c = 45,
+ .charging_max_c = 50,
.discharging_min_c = 0,
- .discharging_max_c = 60,
+ .discharging_max_c = 65,
};
const struct battery_info *battery_get_info(void)
diff --git a/board/candy/board.h b/board/candy/board.h
index 93b8e7cbb1..cf2eabf5a8 100644
--- a/board/candy/board.h
+++ b/board/candy/board.h
@@ -16,7 +16,7 @@
#define CONFIG_CHARGER
#define CONFIG_CHARGER_BQ24715
#define CONFIG_CHARGER_DISCHARGE_ON_AC
-#define CONFIG_CHARGER_INPUT_CURRENT 1894 /* 90% of 40 W adapter @ 19 V */
+#define CONFIG_CHARGER_INPUT_CURRENT 3072 /* 65 W adapter, 19 V, 3.072 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