BackPort KSM from Linux 3.6.X
Fuel Gauge: Add fuel gauging algorithms

FG module takes voltage, current and coulomb counter
readings from the PMIC, executes fuel gauging algorithms,
and outputs estimated battery state of charge to the
sysfs interface.

Change-Id: I182acbdb0bb69380a7452c1b3a99f198031fdf64
Signed-off-by: Max Herman <mherman@fsisys.com>
POWER: TWL6030_BCI: Integrate Fuel Gauge

Change-Id: I7564fb0c3eb617c1beba2dc0162db25b5799a8e5
Signed-off-by: Max Herman <mherman@fsisys.com>

Conflicts:
	drivers/power/Kconfig
	drivers/power/Makefile
	drivers/power/twl6030_bci_battery.c
	include/linux/i2c/twl.h
OMAP4: board: power: Add Fuel Gauge configuration

Change-Id: I81b3865daee3241d34f9209888010e3ba1e8984e
Signed-off-by: Max Herman <mherman@fsisys.com>
Signed-off-by: Willi Ye <williye97@gmail.com>

Conflicts:
	arch/arm/configs/tuna_defconfig
	arch/arm/mach-omap2/board-44xx-power.c

Conflicts:
	arch/arm/configs/tuna_defconfig

Conflicts:
	arch/arm/configs/gk_tuna_defconfig
	arch/arm/configs/tuna_defconfig
OMAP: DSS2: Taal: Set first_vsync flag during panel poweron()

During poweron(), the first_vsync has not been received yet,
hence set the flag as false.

Change-Id: Iabc9c47952b84fa5b69ecd66b183357952f3be9c
Signed-off-by: Gilles-Arnaud Bleu-Laine <gilles@ti.com>
OMAP: DSS2: Fix callback completion issue in mgr->blank

Uncommitted callbacks were not completed yet eclipsed in mgr->blank.

Also fixed mgr index in ECLIPSED_CACHE callback.
This patch is co-authored with Muralidhar Dixit <murali.dixit@ti.com>

Change-Id: Ia20b79e9a6308441423d9900469e0c4adfc30eee
Signed-off-by: Lajos Molnar <lajos@ti.com>
Signed-off-by: Muralidhar Dixit <murali.dixit@ti.com>
OMAP: DSS: Add device latency constraint

Request a latency constraint on PM framework for DSS before
cutting module clocks.
Release the request upon enabling the clocks.

Change-Id: If257218a3cb8c3ea0d8451421f87e0a9ba199bb5
Signed-off-by: Gilles-Arnaud Bleu-Laine <gilles@ti.com>

Conflicts:
	drivers/video/omap2/dss/dispc.c