summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHyongbin Kim <hyongbink@nvidia.com>2013-07-05 11:26:16 +0900
committerGabby Lee <galee@nvidia.com>2013-07-08 22:51:07 -0700
commit937585b3edc56d3d1d6cf6ce00a7c3699ac4269b (patch)
treefe90a12bc516bc04581a256341563ffd0d02f375 /include
parent192234c773905a2d926a9b62fb8c6211acc2099e (diff)
power: bq2419x: Cut power of charger when charging complete for factory mode.
Pull out EN_HIZ clear fuction from bq2419x_reset_wdt(). It clear EN_HIZ every 40 sec. When cut_pwr_chg_complete flag set, Forced set EN_HIZ when charging complete. Bug 1316646 Change-Id: I8d169fcef5f62d01a29b543a607e03a2f59622d9 Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com> Reviewed-on: http://git-master/r/245235 GVS: Gerrit_Virtual_Submit Reviewed-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 77d136f5c8ce..cefbeadfa8c0 100644
--- a/include/linux/power/bq2419x-charger.h
+++ b/include/linux/power/bq2419x-charger.h
@@ -120,6 +120,7 @@ struct bq2419x_charger_platform_data {
struct regulator_consumer_supply *consumer_supplies;
int chg_restart_time;
int chg_complete_soc;
+ bool cut_pwr_chg_complete;
};
/*