msm: smd: Add notifier chain to generate SMSM driver state notifications

This enables drivers to register for and receive any SMSM driver state
change notifications, including the initialization of SMSM driver.

CRs-Fixed: 338264
Change-Id: I090d19140f3bc46205566cd0431ed90edf440c02
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
msm: smem_log: Initialize SMEM_LOG SMEM entries independent of modem

SMEM_LOG SMEM entries are allocated by modem and consumed by APPs.
In modem-less SoCs, SMEM logs can be used between APPs and other
subsystems. Hence allow APPs SMEM log driver to allocate and initialize
the SMEM_LOG SMEM entries once APPs SMSM is initialized.

CRs-Fixed: 338264
Change-Id: Idf3aff7df0dba910a7cf1351ac6d8f57c0b29144
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
msm_fb: display: Enable timing generator during first update

During first display update through pan_display or overlay_play,
enable the timing generator for pull modes like LCDC, DSI Video
and DTV interfaces

Change-Id: Icec5b28f0df04a1223119222a1aad5129111f676
Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>

Conflicts:

	drivers/video/msm/mdp4_overlay.c
	drivers/video/msm/mdp4_overlay_dsi_video.c
	drivers/video/msm/mdp4_overlay_lcdc.c
msm_fb: display: Wait for external vsync before turning off DTV

Wait for external vsync interrupt before turning off the timing generator
for DTV display

CRs-Fixed: 341400
Change-Id: Ibd380f8e20a7ebb250669fcabf4233e9e526d22f
Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>

Conflicts:

	drivers/video/msm/mdp4.h
msm_fb: display: Add IOMMU support to MDP and rotator driver

Add IOMMU support to MDP and rotator driver for operating with
virtual addresses instead of physical addresses

Change-Id: Ia5afcf33220e0e75e92948649c2bd4d7ef32917d
Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>

Conflicts:

	drivers/video/msm/mdp4.h
	drivers/video/msm/mdp4_overlay.c
	include/linux/msm_mdp.h
msm: clock: Hook into clock tracepoints

Tracepoints already exist for clk_enable(), clk_disable(), and
clk_set_rate(). Add callbacks for these tracepoints so that we
can easily trace clock operations in the kernel.

For example:
 # pwd
 /sys/kernel/debug/tracing
 # echo 1 > events/power/clock_enable/enable
 # cat trace
 <lots of clock enables>

Change-Id: I3b845653be427ff4b33bb31b5b82f73c4695d230
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

Conflicts:

	arch/arm/mach-msm/clock.c
mistake....