power: bq2471x: Enable charging through fuel gauge broadcasts
authorDarbha Sriharsha <dsriharsha@nvidia.com>
Wed, 27 Nov 2013 09:22:11 +0000 (14:22 +0530)
committerLaxman Dewangan <ldewangan@nvidia.com>
Thu, 28 Nov 2013 09:06:23 +0000 (01:06 -0800)
commite39427dbeb6ce9a5c252a7dc180948b2634aff1a
tree08299f6a2a6d2b7d30ad9a3ac4d824a4c1758538
parent01c281d49c54793eccfdbe71d35135c8461f8429
power: bq2471x: Enable charging through fuel gauge broadcasts

On some platforms, battery charging is not enabled and configured
by directly programming the charger registers via i2c, but by
enabling charging current and charging voltage broadcast mode
on the fuel gauge chipset. Enable this feature in the bq24715
charger driver.

Bug 1271064

Change-Id: I9a58fd1545e19bf094238f0ecfd822b9af02a79f
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/336178
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/power/bq2471x-charger.c
include/linux/power/bq2471x-charger.h