bluetooth: LE conn whitelist implementation

Add support to create connection to LE devices using
whitelist. With this, the Controller can try to connect
to multiple devices at the same time. The following
interfaces are added.
1. Add/Remove device from whitelist
2. Clear all the devices from whitelist
3. Create Connection to devices from whitelist
4. Cancel create connection to whitelist devices

CRs-fixed: 388980
Change-Id: I3900c71255e754f80bb2873ae19a41b94cca76c3
Signed-off-by: Sunny Kapdi <sunnyk@codeaurora.org>
leds: leds-pm8xxx: Add CABC support for backlight control

Content adaptive backlight control (CABC) support is needed to
control backlight by external PWM.  It can be enabled by setting
"cabc_en = true" in the platform data wled_cfg structure.

CRs-fixed: 379347
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
(cherry picked from commit c366d5bfc380183e1c4f9877b2c8558098bd4281)

Change-Id: I6bc581a5fa06ea579f40a547093aea42ac330b74
Signed-off-by: Sivasri Kumar Vanka <sivasri@codeaurora.org>
msm_fb: wfd: power off overlay 2 block on overlay2 done

Need to call mdp_pipe_ctrl with overlay 2 block off on overlay2
done otherwise the clocks will never go off on suspend.

CRs-Fixed: 431720
Change-Id: I6ae9a7ea9754473aef52443ce352e8f114d767eb
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
vidc: skip meta buffer header initialization in secure session

Accessing meta buffer allocated from secure heap causes EBI errors due to
permissions. Meta buffer header initialization not required in secure
session, skip to initialize.

(cherry picked from commit ad602ee37a66d0dd2e23991fbc6a65f3cb296c12)

CRs-Fixed: 418217
Signed-off-by: Riaz Ur Rahaman <riazr@codeaurora.org>
(cherry picked from commit f1920fbe893fb59754fe1302bf1b6d36ee251d6f)

Change-Id: Ia34ed6d8a3798df6dcce47f24d898097b732f22e
Signed-off-by: Sivasri Kumar Vanka <sivasri@codeaurora.org>
Change priority of kernel message to avoid message flooding in logs.

kernel logs are flooded with info message from mdp4_overlay_mdp_perf_upd,
so changed the priority of message to debug.

Change-Id: Ia2ac181477ddc18df358a9419d6317e6122600d0
Signed-off-by: Sangani Suryanarayana Raju <csuryan@codeaurora.org>
msm_fb: display: wait4vsync after turned off timing generator.

When continuous splash is enabled, timing generator is enabled at
bootloader, it then needs to be turned off at mdp4_dsi_video_on()
to switch displayed content from frame buffer. wait4vsync after
timing generator is turned off is necessary to make sure DMAP has
finished fetching splash logo from original splash buffer. Otherwise,
DMAP iommu page fault may happen.

Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Signed-off-by: Vivek Panwar <vpanwa@codeaurora.org>
(cherry picked from commit 8a75142736832a895e42eb0b7d1c94406219ab5a)

Conflicts:

	drivers/video/msm/mdp4_overlay_dsi_video.c

Change-Id: I55f595473034dbd97ed3d03486b143d16c0ee8d8
Signed-off-by: Sivasri Kumar Vanka <sivasri@codeaurora.org>
msm: display: Add delay during system suspend to resolve blank line issue.

During system suspend, need add some delay to take the effect of pipe free and
to make sure no blank line appears on the screen by continuous power key hits.

Change-Id: I0401070bdc1271db735f61127e49bac9427536f3
Signed-off-by: Suryanarayana Raju Sangani <csuryan@codeaurora.org>
msm_fb: Shutdown MDP clock in mdp_on() during boot up

When continuous splash screen is enabled, call the mdp_clk_ctrl()
function in mdp_on() to disable MDP clock during boot up. This is
to maintain the ref count of MDP clock properly for command
mode panels.

CRs-fixed: 452169
Change-Id: If5efea9fe3177ffe1aad5f9684fbceec16055ab1
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>