msm_fb: display: add mipi dsi video i2c driver

mipi dsi video panels or bridge chips can be configured through i2c
bus, so this generic dsi video i2c driver is added to implement basic
i2c read/write and call back functions for display peripheral
controls.  Later the specific configuration of dsi and i2c peripheral
sequence for a specific panel can be added.

Change-Id: Ie5eb1219b9b0855ff7a6c8a36a9197c459341b97
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
Staging: android: binder: More offset validation.

Make sure offsets don't point to overlapping flat_binder_object
structs.

Conflicts:
	drivers/staging/android/binder.c

Change-Id: I425ab0c46fbe2b00ed679c5becf9e8140395eb40
Signed-off-by: Arve Hjønnevåg <arve@android.com>
Git-commit: 457c3cd05958b8397211ae1f6dd3c3d325f4c0ea
Git-repo: https://android.googlesource.com/kernel/common/
Signed-off-by: Neeti Desai <neetid@codeaurora.org>
Signed-off-by: Ajay Dudani <adudani@codeaurora.org>
Signed-off-by: Nirmal Abraham <nabrah@codeaurora.org>
Signed-off-by: Prados Das <prados@codeaurora.org>
Merge "Staging: android: binder: More offset validation."
Merge "msm_fb: display: add mipi dsi video i2c driver"
msm: board-8064: amend camera initialization in adp-m platfrom

The camera is powered up, configured and powered down every time the camera
switch is enabled or disabled. The change will power up and configure
the camera on first trigger. After that, based on the switch status the
camera preview will be enabled or disabled.

Change-Id: I45642c7d55b290790a51d7df34921b459e4566de
Signed-off-by: Joveen Joseph Thomas <joveenthomas@codeaurora.org>
switch: fix the blank screen before camera preview

The uevent for hwc is triggered before the camera is initialized
which caused mdp to display blank screen. The change will delay the
trigger of uevent until the camera is completely initialized.

Change-Id: Ie98e6081565c4c9ac19cb625e638a4a16574ac1d
Signed-off-by: Joveen Joseph Thomas <joveenthomas@codeaurora.org>
msm: board-8064: show guidance lane over camera preview

The lane guidance not shown from the second preview as the
mdp pipe was freed after the first preview and not re allocated
for the later previews. Modified the logic to allocate and free
the mdp pipe always when the preview is enabled or disabled.

Change-Id: Ibbc8ed2b850b1839c7a6bccffb51ab55d96a3ffd
Signed-off-by: Joveen Joseph Thomas <joveenthomas@codeaurora.org>
Merge "msm: board-8064: amend camera initialization in adp-m platfrom"
Merge "switch: fix the blank screen before camera preview"
cfg80211: Allow use_mfp to be specified with the connect command

The NL80211_ATTR_USE_MFP attribute was originally added for
NL80211_CMD_ASSOCIATE, but it is actually as useful (if not even more
useful) with NL80211_CMD_CONNECT, so process that attribute with the
connect command, too.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Git-commit: cee00a959c0a86571e6f99cf42f0261d7e54d2ae
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
CRs-Fixed: 680922
Change-Id: I63e7e4a2adbf8044372a05fb23951d9be387351d
Signed-off-by: Manjunathappa Prakash <prakashpm@codeaurora.org>
Merge "cfg80211: Allow use_mfp to be specified with the connect command"
Merge "msm: board-8064: show guidance lane over camera preview"
msm_fb: display: add panel data for dsi video 480p

These panel data are used to configure dsi as 480p resolution to drive
a 480p panel or a peripheral bridge chip.

Change-Id: I793c4296b6b1dc7387e5a3be6a85a3a2f7a1a8ee
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
msm_fb: display: add panel data for dsi video 720p

These panel data are used to configure dsi as 720p resolution to drive
a 720p panel or a peripheral bridge chip.

Change-Id: Ie0fe263371059a178592fa32f67d74ce2dd2fefd
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
Merge "msm_fb: display: add panel data for dsi video 480p"
Merge "msm_fb: display: add panel data for dsi video 720p"