ARM: dts: msm: Modify bus vector for RNG client on msm8974

Modify the RNG (Random Number Generator) bus vector to use a different
originating master id, this change helps alleviate some slowdowns in boot
time noticed in targets where CPU is artificially bus throttled below a
threshold frequency.

Change-Id: Idf2a1d128f56e6aafebcbf0184ef2454d385be34
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
Revert "ARM: dts: msm: change emmc clock line drive strength"

This reverts commit 1da6b37497a7a80323994be13eacb0d439e47154.
This change caused regression that was fixed by commit
644bc429bce7e109475701a5f49477b97a8811ae "ARM: dts: msm: Reduce drive
strength on SDC1 clk for MSM8974Pro AB MTP" which reduced the drive
strength to 10mA addressing data corruptions. This commit was introduced
to address potential CRC issues that could rise due to the low drive
strength. This isssue will be revisted if there are any CRC errors
reported later on.
Update copyright year.

CRs-Fixed: 600184
Change-Id: I767f9fade577e2b7865bc3d78adf830f14bdb77a
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
msm: kgsl: Force the ME off before reading the microcode

On A3XX reading the microcode while the CP is running is dangerous
beyond words.  By setting the offset address for the read, we are
essentially changing the instruction pointer for the ME while it
is running causing opcode errors, gpu faults and/or system errors.

We do not want to stop the CP at the beginning of the snapshot
process beacuse doing so changes the RBBM status and the state of
the CP registers which may damage the debug effort.  But by the
time we get to the microcode read we no longer care about the state
of the registers so we can freely halt the ME just before starting
the read.

CRs-fixed: 585449
Change-Id: Ic0dedbad85d7ec26915f054dd597e226e8101a29
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
msm: Fix RDI1 interface for VFE32

The RDI registers are not defined properly
for VFE32. Fixing this issue by making the
register addresses properly.

Change-Id: I19fb50a53ae239b5fc306684b5bb6c6f65c61382
Signed-off-by: Abhishek Kondaveeti <akondave@codeaurora.org>
Merge "ARM: dts: msm: Add cpu clock device for 8610"
Merge "Merge "msm: reap unused audio files""
msm: display: hdmi: vic search

When looking for vic code, get the one that can
match the basic timing if cannot get the one matches
all.

Change-Id: Id054b1c7586d2bfe420443d94c8d5750c96c64d8
Signed-off-by: Ken Zhang <kenz@codeaurora.org>
power: qpnp-charger: add vbatdet-maxerr-mv option

To allow trimming the vbatdet resume voltage more
add the optional qcom,vbatdet-maxerr-mv parameter.

If this parameter is not defined in a given
devicetree a default value of 50 mV will be used
by the driver.

CRs-Fixed: 596975
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
Change-Id: I83a309fdd7843f312e1aab1128f32befaa19b67a
msm: kgsl: Add arch_mmap_check() stub definition

Add a stub definition for arch_mmap_check() in kgsl.c for
situations where the function is not defined, similar to the
stub definition in mm/mmap.c

Change-Id: I2d0f7f8c76f35cbec1554893433199e256f76df4
Signed-off-by: Shrenuj Bansal <shrenujb@codeaurora.org>
msm: kgsl: Remove cpu_is_msm8960() check

The check in the code will always evaluate to true now that we
don't support A-family and does not affect the if statement that
uses it.

Change-Id: Ifdf88cc0305eb64a6a50f72a23e69239173ee4c6
Signed-off-by: Shrenuj Bansal <shrenujb@codeaurora.org>
USB: dwc3_msm: Disable all events before error recovery for Erratic event

Currently as part of Erratic event handling, dumping all relevant registers
and then scheduling work for block reset. This does lead to erratic event
getting fired continuously and might result in watchdog crash. Hence
disable all events in DEVTEN regiser before doing block reset and reenable
the events once block reset is completed.

Change-Id: Ib2644ea8471cb87792a9524dc5103b61b2d0a74c
Signed-off-by: Wesley Cheng <wcheng@codeaurora.org>
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
msm: mdss: Correct element name for dtsi parsing

Color order was mistakenly updated without the qcom,
prefix, so the dtsi entry will have no effect.
Change updates the parse function so field will
be parsed correctly.

Change-Id: I69030f3a267572cc90bd33a53162deae34a4f168
Signed-off-by: Casey Piper <cpiper@codeaurora.org>
msm: mdss: fix IGC access for calibration service

Fix IGC address range access on DSPP and SSPP pipes
for calibration service.

Change-Id: I5601f0da1088ea9c31d98e13d0cc5f9c7e33ce3b
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
kernel/msm: Add qrngp header file

Add qrngp header file, required for external/qrngd project.

Change-Id: Iac27ff57df91efe370ec749451142942289b23a8
Signed-off-by: Hariprasad Dhalinarasimha <hnamgund@codeaurora.org>
Merge "Merge "Merge "msm: reap unused audio files"""
msm: vidc: do not send release buffer to f/w in dynamic buffer mode

In dynamic buffer mode, the output buffers are not registered
with the firmware. So the v4l2 video driver does not need
to send release buffer command for output buffers to firmware.

Change-Id: I3b8f37fafe9fa07a45a68ded1de77e90f2764f6c
Signed-off-by: Arun Menon <avmenon@codeaurora.org>
Merge "Merge "ARM: dts: msm: Add cpu clock device for 8610""
Merge "sd: call blk_pm_runtime_init before add_disk"
Merge "scsi: Allow auto suspend override by low-level driver"
Merge "usb: storage: enable scsi auto-suspend for USB UICC devices"