summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHyongbin Kim <hyongbink@nvidia.com>2013-07-16 14:12:27 +0900
committerGabby Lee <galee@nvidia.com>2013-07-16 03:43:13 -0700
commitbc22fb9693046386db9cf6bb616a1afbd78038c8 (patch)
tree41b7453945e1925fb8204ad66be7a5cc25d924ee /include
parentf8204b6aa8312b1de10d0fe829d81eef8422cf7f (diff)
power: bq2419x: add charging current check for check charging complete
When charging current is below 256mA, stop charging for preventing over charge and safety of battery. Change-Id: Ib6bd3f8a4951364e2653b77f7eb0f2eedadda1e8 Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com> Reviewed-on: http://git-master/r/249536 Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/power/bq2419x-charger.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/power/bq2419x-charger.h b/include/linux/power/bq2419x-charger.h
index 48155c985906..4f821e043a9b 100644
--- a/include/linux/power/bq2419x-charger.h
+++ b/include/linux/power/bq2419x-charger.h
@@ -120,6 +120,7 @@ struct bq2419x_charger_platform_data {
int (*battery_check)(void);
int (*soc_check)(void);
int (*vcell_check)(void);
+ s32 (*current_check)(void);
int max_charge_volt_mV;
int max_charge_current_mA;