msm: camera: Disable gesture driver

Disable gesture driver for SKUD prime device bringup.

Change-Id: Ib433de74b81996a161ad31caeef7b69fb3c77125
Signed-off-by: Aparna Mallavarapu <aparnam@codeaurora.org>
msm: msm8625: Add support for SKUD prime device

Adds support for MSM8625 based SKUD prime device.

Change-Id: I81b59b09b167313f948b2aa588a43f0ae6ab49b5
Signed-off-by: Aparna Mallavarapu <aparnam@codeaurora.org>
msm_fb: Add support for Truly HX8389B panel

Add support for Truly HX8389B panel drivers and display
board file support for SKUD prime target.

Change-Id: Ibb94cc7a1077f22f00dce0952f34583ebe95a670
Signed-off-by: Aparna Mallavarapu <aparnam@codeaurora.org>
board-msm7627a: msm: Add support for continuous splash screen.

This change adds support for continuous splash screen on SKUD
prime device on MIPI HX3839B panel.

Change-Id: Idd1da7a44188ed78b08e68e856e9a58d922722e2
Signed-off-by: Aparna Mallavarapu <aparnam@codeaurora.org>
msm_fb: Avoid multiple disable calls for vsync interrupt

For LCDC and DSI Video mode panels, there seem to be multiple
disable calls for Vsync interrupt term. Change to avoid this
issue by proper synchronization of vsync term and DMA term.

Change-Id: Iaf11ba92cc7db55c6196add2d7dea581cb29fc8a
Signed-off-by: Aparna Mallavarapu <aparnam@codeaurora.org>
msm_fb: Enable MIPI video mode interface on 8x25 EVB/SKU5

Change to enable MIPI video mode on EVB/SKU5. Initialize the
need_wait variable to zero to make sure that during suspend,
we wait for MIPI_CMD_DONE interrupt only when the command
mode engine is busy.

Change-Id: I61a9132a9a9343d136ddc70ce76d8682f9ecf7bc
Signed-off-by: Aparna Mallavarapu <aparnam@codeaurora.org>
input: Makefile: Add support for QRD SKUD

During the merge of msm-3.4, the TS driver got ommitted
from compilation. The same is added here for QRD SKUD.

Change-Id: I511c2856310595d9e1ad94c1247d168ec40312ca
Signed-off-by: Aparna Mallavarapu <aparnam@codeaurora.org>
arm: board-msm7627a: Add TS support for 8x25 SKUD

Add TS support for 8x25 QRD since it uses a different
irq_gpio.

Change-Id: Ic32a1a7f0a0c0486e9271375c2b163c4debae5e0
Signed-off-by: Aparna Mallavarapu <aparnam@codeaurora.org>
msm: rpc: add shutdown and restart handler for rpc

Add shutdown and restart handler for rpcrouter. The
shutdown handler take care of calling the
msm_rpcrouter_close function with a pre defined
priority. PM no longer handle rpc close in the shutdown/reboot
sequence.

CRs-fixed: 396641
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
Signed-off-by: Angshuman Sarkar <angshuman@codeaurora.org>
(cherry picked from commit 0975c60881a90c0adf36bac4739b812e34acb813)

Conflicts:

	arch/arm/mach-msm/smd_rpcrouter.c

Change-Id: I3dd21a72eb624273b16f5a300b55b068a02d509b
Signed-off-by: Gopal Goberu <ggober@codeaurora.org>
input: Makefile: Add support for QRD SKUD

During the merge of msm-3.4, the TS driver got ommitted
from compilation. The same is added here for QRD SKUD.

Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
(cherry picked from commit 6d7c6e56600708636c8d3c33ff91a44c19ef12d5)

Change-Id: I7683ced29064ea81e6325bdc5290ca1811bd8dbc
Signed-off-by: Gopal Goberu <ggober@codeaurora.org>
msm: devices-msm7x27a: add new perf level for 8x25Q

Updating new turbo level based on the clock plan for 8x25Q.

Change-Id: I1116dd0dc3b4151b06a70fef765c517298217243
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
msm: kgsl: Add CP_WAIT_FOR_IDLE packet before updating timestamp

HW workaround to resolve MMU pagefault caused by memory
freeing early before GPU completes it.

This is race condition where timestamp is getting updated
and the event handler runs before the GPU actually got done
with the timestamp, hence freeing the buffer early while GPU
still not completed with it.

Signed-off-by: Anshuman Dani <adani@codeaurora.org>
(cherry picked from commit faf69cfeeede0883b9556e532d720ab4dc95b01d)

Change-Id: I7db96e3cd1c4497986faa3cfc222be0af6213309
Signed-off-by: Gopal Goberu <ggober@codeaurora.org>
Merge "msm: kgsl: Add CP_WAIT_FOR_IDLE packet before updating timestamp"
msm: cpr: Turn on messages on fuse value

The fuse values are needed for debug purposes so turn
them on. The default verbosity level kept in the driver
since keeping it at highest, fills up the kernel log
suppresing other useful information.

Change-Id: I93097f5e21cba11e553100b77999d2e9cd42a6c4
Acked-by: Gopi Krishna Nedanuri <gnedanur@qti.qualcomm.com>
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
Signed-off-by: Gopal Goberu <ggober@codeaurora.org>
Merge "msm: cpr: Turn on messages on fuse value"
msm: msm-batt: report fake usb disconnection when cur_volt < batt_min

Android doesn't initiate graceful shutdown if USB connected even
if battery voltage is less than minimum operating voltage. To work
around this behavior, let the battery module report fake usb
disconnection when voltage is very low.

CRs-Fixed: 410647
Signed-off-by: Krishna Vanka <kvanka@codeaurora.org>
(cherry picked from commit 3775173e3c8b95c9ae1e3e6e2445ae89afef5df8)

Change-Id: Ia099dca16a1c2b6f1e6719ef5fabcc855f7f00d8
Signed-off-by: Gopal Goberu <ggober@codeaurora.org>
Merge "msm: msm-batt: report fake usb disconnection when cur_volt < batt_min"
Bluetooth: Kernel panic fix when marimba->client is NULL

dev_err cause kernel panic when marimba->client is NULL to
avoid panic replace dev_err with pr_err.

Signed-off-by: Juffin Alex Varghese <jalex@codeaurora.org>
(cherry picked from commit 1949cbd75ae5210af4c2a0a568c9eadd4e1baa10)

Change-Id: If2b229ccd6843fc913ea5e441819428e8137e657
Signed-off-by: Gopal Goberu <ggober@codeaurora.org>
USB: f_rmnet_smd: Process rmnet_disable on usb disconnect, if smd_open fail

If smd_open fails during USB connect and when "adb root" command is
executed, USB gets disconnected, and since the online flag is 0,
the disconnect process will not be carried out and the platform driver
is not unregistered. On USB connect, as the the_pdrv_used flag is reset
to 0, we endup in registering the platform_driver multiple times because
of which crashes are observed.

Hence, in rmnet_disable() function, don't check for the online flag, so
that the disconnect work will get processed during USB disconnect and
platform driver unregister is carried out.

CRs-Fixed: 414886
Signed-off-by: Rajkumar Raghupathy <raghup@codeaurora.org>
(cherry picked from commit 28930dc7bebbec841fbff380082067d596f15b22)

Change-Id: I5f616567120ed73c7f7c1f961b994ce6b2f00ffd
Signed-off-by: Gopal Goberu <ggober@codeaurora.org>
msm:devices-msm7x27a: Add SPM platform data for 8x25Q

Add SPM platform data to support for Quadcores on 8x25Q

Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
(cherry picked from commit f194f6847cfab3ed5ab2bc29c5608164e756ccf6)

Signed-off-by: Gopal Goberu <ggober@codeaurora.org>
(cherry picked from commit 56556f515f403a7fd666cc034aa3d01d666b48dc)

Change-Id: Ief9a387806ac097b13ba179a1c3d17b79f5c2234
Signed-off-by: Gopal Goberu <ggober@codeaurora.org>