diff options
author | Hyongbin Kim <hyongbink@nvidia.com> | 2013-08-14 15:31:02 +0900 |
---|---|---|
committer | Gabby Lee <galee@nvidia.com> | 2013-08-19 18:51:40 -0700 |
commit | a5be573cc8f1280b4ec9fb5a639c84ebbcc7dc7c (patch) | |
tree | af5d6bcf8c78b349a72125448ff7c473bbbe0cae /include | |
parent | e313ddcbc64ed5095fa6b62b2a09c0724d799622 (diff) |
power: bq2419x: Support set charging complete SOC
Add sysfs for set charging complete SOC in user space.
When soc value is not 100%, just check soc and cut charger power
when charging is done.
Set value should be between 60 and 100.
Make foraml way to use SOC check charging done.
Bug 1342684
Change-Id: Ia45a585e4709d0d109788018e38d24ffa1e42c09
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/261486
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/power/bq2419x-charger.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/power/bq2419x-charger.h b/include/linux/power/bq2419x-charger.h index 4f821e043a9b..dbf68067f9cb 100644 --- a/include/linux/power/bq2419x-charger.h +++ b/include/linux/power/bq2419x-charger.h @@ -131,7 +131,6 @@ struct bq2419x_charger_platform_data { struct regulator_consumer_supply *consumer_supplies; int chg_restart_time; int chg_complete_soc; - bool cut_pwr_chg_complete; }; /* |