diff options
author | Chaitanya Bandi <bandik@nvidia.com> | 2013-11-21 15:36:05 +0530 |
---|---|---|
committer | Laxman Dewangan <ldewangan@nvidia.com> | 2013-12-04 22:41:56 -0800 |
commit | ed98a14290be5e8c1efc953c025c011ca295760c (patch) | |
tree | a30720387833a53428ddfb3f670f9d61c09e4859 /include | |
parent | f8396520e86619b997e14f72307754d4939d48b4 (diff) |
power: bq27441: Add support to update battery prop
Added support to update design energy, taper rate,
voltage at charge termination, terminate voltage
properties in Bq27441. Also fixed minor compilation
warnings.
Bug 1344962
Change-Id: I0c4d17497c86da5953f6319bcb34581bcee7afbd
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/336057
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/power/bq27441_battery.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/power/bq27441_battery.h b/include/linux/power/bq27441_battery.h index 8f3ab2e02b65..b323a83fb367 100644 --- a/include/linux/power/bq27441_battery.h +++ b/include/linux/power/bq27441_battery.h @@ -18,7 +18,11 @@ #define __BQ27441_BATTERY_H_ struct bq27441_platform_data { - unsigned long full_capacity_in_mAh; + unsigned long full_capacity; /* in mAh */ + unsigned long full_energy; /* in mWh */ + unsigned long taper_rate; + unsigned long terminate_voltage; /* in mV */ + unsigned long v_at_chg_term; /* in mV */ const char *tz_name; }; |