From 4cdd14d07b5a9abb402cb4d33c2031abde6a5a53 Mon Sep 17 00:00:00 2001 From: Vijay Hiremath Date: Mon, 27 Jun 2016 17:45:07 -0700 Subject: [PATCH] BD99955: Change the minimum charging current value If the battery is not yet ready to provide the power or battery is not present and the charging current is set to 64mA then the charger voltage regulation is transient. ROHM recommended 512mA of minimum charging current for this issue, hence changed the minimum charging current from 64mA to 512mA. BUG=chrome-os-partner:54821 BRANCH=none TEST=Manually tested on Amenia. a. Until the battery is initialized from cut-off mode, charging voltage doesn't drop below battery voltage max. b. With 15W charger (5V, 3A) without the battery, charger voltage is regulated to battery voltage max. Change-Id: I44172d4e9152b699976137bf070d618097c8cef7 Signed-off-by: Vijay Hiremath Reviewed-on: https://chromium-review.googlesource.com/356570 Commit-Ready: Vijay P Hiremath Tested-by: Vijay P Hiremath Reviewed-by: Shawn N --- driver/charger/bd99955.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver/charger/bd99955.h b/driver/charger/bd99955.h index 5d96c8a962..86f438553c 100644 --- a/driver/charger/bd99955.h +++ b/driver/charger/bd99955.h @@ -32,7 +32,7 @@ enum bd99955_charge_port { #define CHARGE_V_MIN 3072 #define CHARGE_V_STEP 16 #define CHARGE_I_MAX 16320 -#define CHARGE_I_MIN 64 +#define CHARGE_I_MIN 512 #define CHARGE_I_OFF 0 #define CHARGE_I_STEP 64 #define INPUT_I_MAX 16352