msm: board-8064: Place the movable zone

Locating the unstable zone and placing the movable zone need
to be coupled together to get correct system behavior. The
placing of the movable zone was missing on 8064. Place the
movable after locating the unstable zone to ensure consistency
of the system.

Change-Id: I3fdbd5fc6d5bf996d6187d6b64cf8d50eefd3ff4
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
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>
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>
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>
Merge changes I5e18b610,I3ab9288f into msm-3.0

* changes:
  mmc: msm_sdcc: data CRC errors are expected during HS200 tuning
  mmc: core: capture performance numbers only when asked
Merge "msm: mpm-8625: Disable interrupts for Idle PC" into msm-3.0
Merge "USB: Set AHB HPROT Mode to allow posted data writes" into msm-3.0
Merge "msm: copper: Add Android USB platform device" into msm-3.0
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>
msm: clock-8960: program PLL15 on 8930

Bootloader does not configure PLL15 since PLL15 is only
enabled/disabled by linux kernel code. Therefore, configure
PLL15 during clock init.

Change-Id: I536325362a9ab9f054b6f65390052a3b8c720e08
Signed-off-by: Tianyi Gou <tgou@codeaurora.org>
Merge changes I2cabb2d6,Idffba143 into msm-3.0

* changes:
  ASoC: msm8960: properly protect external mclk control function
  ASoC: wcd9310: Add plug detection through mechanical switch
Merge "msm: board-8064: Place the movable zone" into msm-3.0
Merge "msm: 9x15: Don't build PIL (Peripheral Image Loader) driver" into msm-3.0
Merge changes I3984d747,I9a436f63 into msm-3.0

* changes:
  msm: board-8930-pmic: Add default configuration for LED anode power source
  power: pm8921-charger: Add feature to use charger LED
Merge "ARM: local timers: Add A15 architected timer support" into msm-3.0
USB: OTG: Migrate to devm_regulator_get()

Clean up some error paths and simplify the code by
moving to devm_regulator_get().

Change-Id: I782569d2d5aec077ea18516db7eba92897698bce
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
gpu: ion: Map a range into the IOMMU

Instead of mapping 1 4K page at a time into the IOMMU create a
scatterlist and map everything at once. This will be more efficient.

Change-Id: I8e83066869dd6f7a479bad22a66e4c70cc5973b5
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
Merge changes I16f522e7,Ifa5b3bc2 into msm-3.0

* changes:
  Merge branch 'google-android' into msm-3.0
  locking, kprobes: Annotate the hash locks and kretprobe.lock as raw