ARM: dts: msm: delete voltage raising properties for msm8926-v2

There is no need to change the default minimum and initial voltages for
msm8926-v2 chips. Hence remove the properties responsible for enabling the
uplift and conditional minimum voltage workarounds from the msm8926-v2
device tree.

CRs-Fixed: 607899
Change-Id: Ic5af7cf77299dc6d46000b620660620f34eec5cb
Signed-off-by: Ke Liu <keliu@codeaurora.org>
ARM: dts: msm: optimize CPR configurations for msm8226-v1/v2 and msm8926

Move common CPR regulator configurations for msm8226-v1, msm8226-v2, and
msm8926 into msm8226-regulator.dtsi. Move msm8226-v1 specific
configurations into msm8226-v1.dtsi since most CPR configuration parameters
are common between msm8226-v2 and msm8926.

Change-Id: I043a310aa433ba8f8cf4dd17dc1ef99de1f99b89
Signed-off-by: Ke Liu <keliu@codeaurora.org>
msm: cpr-regulator: modify how initial voltages and limits are specified

Currently, the initial voltage as well as the CPR ceiling and floor
voltages for each voltage corner are defined using these four device tree
properties: qcom,pvs-init-voltage, qcom,pvs-corner-ceiling-slow,
qcom,pvs-corner-ceiling-nom, and qcom,pvs-corner-ceiling-fast.
Unfortunately, since qcom,pvs-init-voltage only defines the initial
voltage for the turbo voltage corner for each PVS bin value, the initial
voltage used for the SVS and nominal corners must be calculated using a
complicated and potentially error prone algorithm using the four properties
mentioned earlier. Furthermore, the coarse slow/nom/fast binning leads to
wasted power for parts with intermediate PVS bin defined initial voltage
requirements when the CPR controller is disabled.

Therefore, replace the four properties listed above with the following
three properties: qcom,pvs-voltage-table, qcom,cpr-voltage-ceiling and
qcom,cpr-voltage-floor. The property qcom,pvs-voltage-table specifies a
mapping from a PVS bin value to the initial voltage for each voltage
corner. The properties qcom,cpr-voltage-ceiling and qcom,cpr-voltage-floor
specify the ceiling and floor for each voltage corner respectively.

Also, remove all usage of 'process' from inside of the cpr-regulator driver
since it has no meaning without the qcom,pvs-corner-ceiling-slow/nom/fast
properties.

CRs-Fixed: 606213
Change-Id: I7996074b39e1f80f6dc10e25428e09d7cb364192
Signed-off-by: Ke Liu <keliu@codeaurora.org>
msm: clock-8974: Update SDCC1 Apps clock frequency for MSM8974Pro

Update SDCC1 Apps clock frequency for MSM8974Pro to match latest software
frequency plan.

CRs-fixed: 613318
Change-Id: Id88259998862aade7492f1b56592e68beda6fd17
Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
ARM: dts: msm: Add HS400 support to SDHC1 for MSM8974Pro

Add device tree entries to enable HS400 support for SDHC1 instance on
MSM8974Pro platform.

CRs-fixed: 613318
Change-Id: I1284cf22b1f57c0d3ba43ab21cafb9ffcdccd237
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
ASoC: msm: qdsp6v2: Check for null data pointer

Add check for null data pointer in
aprv2_core_fn_q() and log error message if
true.

CRs-Fixed: 575228
Change-Id: I0d02913ced422ff3f396375c70ad6929908ee58d
Signed-off-by: Kenneth Westfield <kwestfie@codeaurora.org>
ASoC: msm: qdsp6v2: Check for null pointer

Add check for null pointer after kmalloc in
config_debug_fs_init() and log error message if
true.

CRs-Fixed: 575229
Change-Id: I9824ffa447153581efdf7cb87838538d1e99b0f2
Signed-off-by: Kenneth Westfield <kwestfie@codeaurora.org>
Merge "msm: mdss: Fix clk warnings for esc clk with dual-dsi panels"
Merge "mdss:display: add regulator control to dsi-1"
ARM: dts: msm8926: Add AB values to the GPU BIMC votes

At least a portion of the GPU's bus usage needs to be taken into
account on low end use cases to prevent underrun for other bus
users.  Add default votes to be taken into account in the BIMC
AB calculation.

Change-Id: I26068027087c0a177a4e0d6a2b15c8859af5c27f
Signed-off-by: Lucille Sylvester <lsylvest@codeaurora.org>
msm: mdss: Allow writeback panel to start overlay during handoff

There is no longer a need to delay the hardware initialization for WB.
Previously, iommu attach was done automatically in overlay_start,
which caused page faults. However, now the iommu is attached at the same
time as continuous splash handoff, which prevents any unwanted page
faults.

Change-Id: I79f021da1ada7e342b9db84167032df5ac840e4e
Signed-off-by: Benet Clark <benetc@codeaurora.org>
Merge "msm: clock-8974: Update SDCC1 Apps clock frequency for MSM8974Pro"
Merge "msm: cpufreq: Fix msm_cpufreq_get_freq() for sync CPUs"
ARM: dts: msm-pm8226: Switch VADC/IADC to polling

Switch VADC/IADC to use polling mode to check if the
conversion request is complete by checking the status
bits for the corresponding VADC/IADC registers to
indicate the conversion is complete.

Change-Id: Ibe71b382dae169aebcadccefda1705a4c1e2a023
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
msm: msm_bus: Don't divide RPM BW requests

When sending bandwidth requests to slave don't divide the request by
the number of ports as this is done at the RPM  driver.

CRs-Fixed: 611965
Change-Id: Ie6870b66d1621677d94e4441136aed89bbdb6595
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
msm: vidc: Suppress spammy log

Suppress a needlessly spammy log that shows up when secure content is
being played.  Also make some other logs print out something useful.

Change-Id: I971e8f45393730218bc7a6947bdd938aa6b0732c
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
Merge "ARM: dts: msm: delete voltage raising properties for msm8926-v2"
Merge "ARM: dts: msm: optimize CPR configurations for msm8226-v1/v2 and msm8926"
Merge "msm: cpr-regulator: modify how initial voltages and limits are specified"
Merge "ARM: dts: msm-pm8226: Switch VADC/IADC to polling"