From ed98a14290be5e8c1efc953c025c011ca295760c Mon Sep 17 00:00:00 2001 From: Chaitanya Bandi Date: Thu, 21 Nov 2013 15:36:05 +0530 Subject: 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 Reviewed-on: http://git-master/r/336057 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan --- include/linux/power/bq27441_battery.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include') 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; }; -- cgit v1.2.3