drivers/video/msm: restore update_lcdc_lut capabilities for MDP devices

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
Signed-off-by: Lens-F <tnoah12@gmail.com>
mach-msm/Kconfig: add LCDC LUT

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
Signed-off-by: Lens-F <tnoah12@gmail.com>

Conflicts:
	arch/arm/mach-msm/Kconfig
drivers/video/msm/mdp.c: fix merge derp!

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
Signed-off-by: Lens-F <tnoah12@gmail.com>
video: msm: Maintain histogram LUT state through suspend resume

Make sure LUT state is maintained after suspend resume. Required to ensure
HistLUT and backlight scale are in sync.

CRs-Fixed: 476491
Change-Id: Icc999aa0b04cad93ceed334426f61b71cbdd0a13
Signed-off-by: Carl Vanderlip <carlv@codeaurora.org>
Signed-off-by: Mekala Natarajan <mekalan@codeaurora.org>
Signed-off-by: flar2 <asegaert@gmail.com>
Signed-off-by: Lens-F <tnoah12@gmail.com>
msm_kcal_ctrl: initial code for generic MSM LCD temperature calibrations

this should be compatible with all MDP devices from Qualcomm

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
Signed-off-by: Lens-F <tnoah12@gmail.com>
MSM KCAL: add sRGB LUT for better color space profiling

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
Signed-off-by: Lens-F <tnoah12@gmail.com>
MSM KCAL: add lut edit capability

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
Signed-off-by: Lens-F <tnoah12@gmail.com>
MSM KCAL: add checksum and data integrity checks

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
Signed-off-by: Lens-F <tnoah12@gmail.com>
MSM KCAL: add reset lut capability

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
Signed-off-by: Lens-F <tnoah12@gmail.com>
msm_kcal: add late resume drivers to autoload the lut

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
Signed-off-by: Lens-F <tnoah12@gmail.com>
msm_kcal: delay late resume to be last to resume

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
Signed-off-by: Lens-F <tnoah12@gmail.com>
DEFCONFIG: enable MSM KCAL (color control)

Signed-off-by: Lens-F <tnoah12@gmail.com>
DRIVERS: CPUFREQ: import smartmax and tune some values

Signed-off-by: Lens-F <tnoah12@gmail.com>