diff options
author | Hyongbin Kim <hyongbink@nvidia.com> | 2013-06-28 11:10:24 +0900 |
---|---|---|
committer | Gabby Lee <galee@nvidia.com> | 2013-06-30 19:12:58 -0700 |
commit | 0ead9ef8b70d3aa82a51afe540fafe71763c2093 (patch) | |
tree | 56fd2ea03aca45392b6823176f2668c26c81b20b /include/linux | |
parent | 44cb7a367eef615a80fc33d0118d6950d2716d66 (diff) |
power: bq2419x: Not use charging termination
Tegratab system can draw over charger power (5V*2A), unexpect
charging termination happen under 99% SOC.(around 93%~98%).
BQ charger occur charging termination when Vbatt is above
recharge threshold voltage(4208mA - 100mV = 4108mA) and
current is below ITERM(256mA).
So we need to disable charging termination and control charger
enable/disable with check SOC.
When SOC over 100%, disable charging and under 99% SOC, enable charger.
Bug 1310558
Bug 1316010
Change-Id: Ic3463f004171f580661595d6cd1ad2b94eb538bf
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/243270
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/power/bq2419x-charger.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/power/bq2419x-charger.h b/include/linux/power/bq2419x-charger.h index 5f61243a1220..1166b4d0810c 100644 --- a/include/linux/power/bq2419x-charger.h +++ b/include/linux/power/bq2419x-charger.h @@ -108,6 +108,7 @@ struct bq2419x_vbus_platform_data { struct bq2419x_charger_platform_data { void (*update_status)(int, int); int (*battery_check)(void); + int (*soc_check)(void); int max_charge_volt_mV; int max_charge_current_mA; |