ARM: dts: msm: decrease prepare time to fix display flicker

Current T_HS_PREPARE setting doesn't meet nt35521's requirement,
this produces display flicker issue in some case, e.g. there
is shift in DSI data channel when system is idle, this shift
results in shift exceeds timing limitation.

CRs-fixed: 537517
Signed-off-by: Ray Zhang <rayzhang@codeaurora.org>
Change-Id: I154865ec14c3b1502f35fb180a6cc3084063910c
msm: rpm-smd: add missing kvp in sleep set

If there is a KVP that was not present in first sleepset
request and sent later, the same KVP is not updated to
the node in tree internally maintained

the kvp is added to the existing node

CRs-fixed: 546434
Change-Id: I43301f93fb48535e3d4a0833333568488a2c33d3
Signed-off-by: Venkat Devarasetty <vdevaras@codeaurora.org>
Merge "ARM: dts: msm: decrease prepare time to fix display flicker"
Merge "msm: rpm-smd: add missing kvp in sleep set"
msm: mdss: Fix slower clocks during histogram and hist LUT accesses

Slower CNOC clock rates cause histogram and hist LUT access to take
longer time. Fix CNOC clock configuration at optimum rate in order
to avoid slow accesses to histogram and hist LUT.

Change-Id: I066bae9fd0b4261b71248cffea65d8949ff6aae2
Signed-off-by: Ping Li <quicpingli@codeaurora.org>
msm: mdss: Reorder code to avoid null pointer dereference

Set mdss_res to NULL after mdss_mdp_pp_term function in err
case inside mdss_mdp_probe function. This change can avoid
null pointer dereference if err occurs during mdss_mdp_probe.

Change-Id: I90b289e03f2711d45dcb80d9fa6eeb78b447cfd4
Signed-off-by: Ping Li <quicpingli@codeaurora.org>
msm: mdss: Revert changes for separating out PP flushes from commits

MDP flush behavior on MSM8974 needs to have single flush in given vsync
cycle, more than one flushes in same vsync cycle can cause unexpected
behavior such as blank screens, incorrect frame updates on LCD or some
visual artifacts. Currently post processing and frame updates have
independent flush mechanisms which in certain cases can cause visual
artifacts or blank screen. So revert changes to independently flush
MDP registers so that post processing piggybacks on flushes for frame
updates.

CRs-Fixed: 494856
Change-Id: Iaa0f6f123487f57abb1b56f7d0946fa3abfe3058
Signed-off-by: Ping Li <quicpingli@codeaurora.org>
Merge "msm: mdss: Fix slower clocks during histogram and hist LUT accesses"
Merge "msm: mdss: Reorder code to avoid null pointer dereference"
Merge "msm: mdss: Revert changes for separating out PP flushes from commits"
defconfig: msm8226: add VPN support for msm8226

Add the defconfig for VPN on msm8226 platform.

Signed-off-by: Xiaocheng Li <lix@codeaurora.org>
Merge "defconfig: msm8226: add VPN support for msm8226"