Copied caf 2.5.1 video/gpu genlock and rotator [WIP]

Conflicts:
	arch/arm/mach-msm/include/mach/kgsl.h
	drivers/base/sw_sync.c
	drivers/base/sync.c
	drivers/char/msm_rotator.c
	drivers/gpu/ion/ion.c
	drivers/gpu/ion/msm/msm_ion.c
	drivers/gpu/msm/Kconfig
	drivers/gpu/msm/a3xx_reg.h
	drivers/gpu/msm/adreno.c
	drivers/gpu/msm/adreno.h
	drivers/gpu/msm/adreno_a2xx.c
	drivers/gpu/msm/adreno_a2xx_snapshot.c
	drivers/gpu/msm/adreno_a3xx.c
	drivers/gpu/msm/adreno_a3xx_snapshot.c
	drivers/gpu/msm/adreno_debugfs.c
	drivers/gpu/msm/adreno_drawctxt.c
	drivers/gpu/msm/adreno_drawctxt.h
	drivers/gpu/msm/adreno_postmortem.c
	drivers/gpu/msm/adreno_ringbuffer.c
	drivers/gpu/msm/adreno_snapshot.c
	drivers/gpu/msm/kgsl.c
	drivers/gpu/msm/kgsl.h
	drivers/gpu/msm/kgsl_debugfs.c
	drivers/gpu/msm/kgsl_device.h
	drivers/gpu/msm/kgsl_events.c
	drivers/gpu/msm/kgsl_iommu.c
	drivers/gpu/msm/kgsl_iommu.h
	drivers/gpu/msm/kgsl_log.h
	drivers/gpu/msm/kgsl_mmu.c
	drivers/gpu/msm/kgsl_mmu.h
	drivers/gpu/msm/kgsl_pwrctrl.c
	drivers/gpu/msm/kgsl_pwrctrl.h
	drivers/gpu/msm/kgsl_pwrscale.c
	drivers/gpu/msm/kgsl_pwrscale_trustzone.c
	drivers/gpu/msm/kgsl_sharedmem.c
	drivers/gpu/msm/kgsl_sharedmem.h
	drivers/gpu/msm/kgsl_snapshot.c
	drivers/gpu/msm/kgsl_sync.c
	drivers/gpu/msm/kgsl_sync.h
	drivers/gpu/msm/kgsl_trace.h
	drivers/gpu/msm/z180.c
	drivers/gpu/msm/z180.h
	drivers/gpu/msm/z180_reg.h
	drivers/gpu/msm/z180_trace.h
	drivers/video/msm/Kconfig
	drivers/video/msm/external_common.c
	drivers/video/msm/hdmi_msm.c
	drivers/video/msm/lvds.c
	drivers/video/msm/lvds_chimei_wxga.c
	drivers/video/msm/lvds_frc_fhd.c
	drivers/video/msm/mdp.c
	drivers/video/msm/mdp4.h
	drivers/video/msm/mdp4_dtv.c
	drivers/video/msm/mdp4_overlay.c
	drivers/video/msm/mdp4_overlay_dsi_cmd.c
	drivers/video/msm/mdp4_overlay_dsi_video.c
	drivers/video/msm/mdp4_overlay_dtv.c
	drivers/video/msm/mdp4_overlay_lcdc.c
	drivers/video/msm/mdp4_overlay_writeback.c
	drivers/video/msm/mipi_dsi.c
	drivers/video/msm/mipi_dsi_host.c
	drivers/video/msm/mipi_truly_tft540960_1_e.c
	drivers/video/msm/mipi_truly_tft540960_1_e_cmd_qhd_pt.c
	drivers/video/msm/mipi_truly_tft540960_1_e_video_qhd_pt.c
	drivers/video/msm/msm_fb.c
	drivers/video/msm/msm_fb.h
	drivers/video/msm/msm_fb_panel.h
	drivers/video/msm/vidc/common/enc/venc.c
	include/linux/ion.h
	include/linux/ks8851.h
	include/linux/msm_kgsl.h
	include/linux/msm_mdp.h
	include/linux/sw_sync.h
	include/linux/sync.h
	include/trace/events/sync.h

Change-Id: I0935cec70bc40f5e95f6c01e481aae52e0075211
First raw of porting old to new ion api calls

Conflicts:
	drivers/misc/qseecom.c

Change-Id: I348f3e8718bf0bb60e0e13d273890cd93f6add33
Second row
Updated iommu/msm_bus

Conflicts:
	arch/arm/mach-msm/msm_bus/msm_bus_board_8930.c
	arch/arm/mach-msm/msm_bus/msm_bus_rpm.c
	drivers/iommu/msm_iommu.c

Change-Id: I3a5ad7991d912dcfe49d00687d1a610e987005ca
A bunch of crap. initial dcvs, some hacks in f_projector, a hack delaying writeback_panel init so that device one is inited first, some missing files, some board/devices things ..

Conflicts:
	arch/arm/mach-msm/acpuclock-krait.c
	arch/arm/mach-msm/board-m4-gpu.c
	arch/arm/mach-msm/board-m7-display.c
	arch/arm/mach-msm/board-m7.c
	arch/arm/mach-msm/devices-8064.c
	arch/arm/mach-msm/include/mach/ocmem.h

Change-Id: I7465d17e29e2e05a449d6fc107c4c7c7a58a667e
msm-3.4 (commit 35cca8ba3ee0e6a2085dbcac48fb2ccbaa72ba98) video/gpu/iommu .. and all the hacks that goes with that

Conflicts:
	drivers/gpu/ion/ion.c
	drivers/gpu/msm/adreno.c
	drivers/gpu/msm/kgsl.c
	drivers/video/msm/mdp4.h
	drivers/video/msm/mdp4_overlay_dsi_cmd.c
	drivers/video/msm/mdss/mdss_hdmi_mhl.h
	drivers/video/msm/vidc/1080p/ddl/vcd_ddl_vidc.c
	include/linux/msm_ion.h

Change-Id: I952d8cc258d5b03203cac7883cbb08f4b2b98534
More clock changes for iommu
Init wfd writeback panel later ..
kgsl and video/msm from msm8960 2.5 branch

Conflicts:
	drivers/video/msm/mdp4_overlay_dsi_cmd.c
	drivers/video/msm/mdp4_overlay_dtv.c
	drivers/video/msm/mipi_dsi_host.c
	drivers/video/msm/msm_fb.c

Change-Id: I956cea6e23ba593e0bebbb820915defc61976fcf
iommu and shit.

Conflicts:
	arch/arm/mach-msm/include/mach/board.h

Change-Id: I1ec7ed76ceeea8c4aad77e354ef92b4e8f930114
get rid of hci_get_drvdata
Fixing earpiece amplification in call.

HTC released a non-finished version of their kernel
that doesnt contain all the RCV amp parts.

Added a headset_amp call to htc_headset_mgr part,
so it can call the soundcard of m7 directly when
headset is plugged/unplugged.

Based on that states and the SPKR amp events
we use the GPIO commands to enable/disable
RCV part (earpiece amp) of the phone.

Thus earpiece audio is working while in call,
and switches on/off based on headset state
as well.

Conflicts:
	sound/soc/msm/apq8064.c

Change-Id: Ic97f0d5c85cd9e93199ed4458e0526c11aac2449
gadget: enable adb by default
Kbuild: copy msm headers

Conflicts:
	include/Kbuild
	include/linux/Kbuild
	include/media/Kbuild

Change-Id: I5cf5c65c0692569f00fad190789eb83494b7d70d
msm_rotator: bulk update from caf

Conflicts:
	drivers/char/msm_rotator.c

Change-Id: Ia51485ca62e4d4a92f032d69db13fefb76d1d872
bluetooth: bulk update to the CAF drivers

Conflicts:
	net/bluetooth/hci_event.c
	net/bluetooth/hidp/core.c
	net/bluetooth/l2cap_core.c
	net/bluetooth/mgmt.c

Change-Id: Id03f25793616c7748d566271473477257b3fda0c
Add bluedroid compatible bluesleep and utilize it.

Conflicts:
	arch/arm/mach-msm/board-m7-rfkill.c

Change-Id: I5dab155ecc79a8c51ad133058f3abd513c8306c8
pm8xxx-vibrator: show raw voltage level without strings
ion: ioctl compatibility with userland using old api

As far as I can tell, flags passed by userland are now used to determine
buffer caching.

Note in ION_IOC_ALLOC_COMPAT we are currently forcing uncached buffer
allocations (needed to make a choice here).  This
may need to change.

Conflicts:
	include/linux/ion.h

Change-Id: I6b25570691982742202cf28c0f35e99c1e70e371
rt5501: Reduce gain to -6dB, turn additonal noise gate on

Conflicts:
	drivers/i2c/chips/rt5501.c