EM/Battery: Compute battery health from fuel gauge
authorRamakrishna Pallala <ramakrishna.pallala@intel.com>
Tue, 24 Apr 2012 09:45:37 +0000 (15:15 +0530)
committerbuildbot <buildbot@intel.com>
Wed, 25 Apr 2012 18:54:20 +0000 (11:54 -0700)
commit0b7d4131ddc0c01d717f94e21b6e53a13c4eee0a
treee0751f318061d522af4c98610e0da9018f438dd2
parent4a64f34280b6da1a3b26358b2a134bc9ad26710e
EM/Battery: Compute battery health from fuel gauge

BZ: 32795

This patch disables the power supply registration for
battery from smb347 charger driver and adds the capability
to compute battery health from max17042 fuel gauge driver.

Change-Id: I71150bbad8c914edfbae34d5ded0f7e744ce8568
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Reviewed-on: http://android.intel.com:8080/44357
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Reviewed-by: Jena, TapanX <tapanx.jena@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
arch/x86/platform/intel-mid/device_libs/platform_max17042.c
drivers/power/max17042_battery.c
drivers/power/smb347-charger.c
include/linux/power/max17042_battery.h
include/linux/power/smb347-charger.h