leds: leds-qpnp: Correctly terminate of_device_id array

Add missing NULL terminator for device match table in drivers leds-qpnp.c.
Without this, of_dev_lookup() may run off the end of the array looking
for bogus data.

Change-Id: Ie6c61b4500a5fbe792e3154a761c235573c7e6bf
CRs-Fixed: 582141
Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org>
ARM: DT: MSM: APQ8084: correct mount angle imx135

Correct the mount angle for IMX135 camera on APQ8084
liquid device

Change-Id: I4d2b9134713a487189ce3f8ccaee100e630cbd78
Signed-off-by: Shivaramraje Nimbalkar Joshi <nimbalkars@codeaurora.org>
msm: vidc: add NV12 multi-view top-bottom color definition

H.264 MVC codec provides a NV12 color format output with
top-bottom layout, this is not consider as a new color
format by the firmware or driver. The change provides the
definition and helper functions to handle this layout.

Change-Id: I008d772c52e145214c95c3a0f673955cd7cdb33e
Signed-off-by: Jorge Solano Altamirano <jsolano@codeaurora.org>
msm: camera2: cpp: Release vb2 buffer in cpp driver on error

When duplicate output is enabled, there is potential issue if
error is encountered in second output buffer. Under error condition
related to second output buffer is hit, the first output buffer is
not released properly.

Change-Id: I56f375a5783c54c450f5673818d15b393f469ef1
Signed-off-by: Rajakumar Govindaram <rajakuma@codeaurora.org>
clock: 8084: Add SATA and SATA PHY clock lookup entries

Add new entries for SATA and SATA PHY clock lookup.

Change-Id: I620e89808465f0250b40ad3ca58d37a5ccd54aa0
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
input: atmel_maxtouch_ts: Add latest Atmel driver support

Git-commit: 482584a6c0d863e04a03837a79c1e79b2769aaee
Git-repo: git://github.com/atmel-maxtouch/maxtouch-v3.0.git
Change-Id: Ifdd872d1aacd5752aab1a218e18e2cbc1582c17f
Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
defconfig: msmkrypton: enable RNDIS_IPA Network Interface Driver

This defconfig change enables RNDIS_IPA driver.
This network interface configures the IPA driver
to allow RNDIS tethering via USB core.

Change-Id: I582047dd566bfd9e1907840ea596e4da3d8758cc
Signed-off-by: Talel Atias <tatias@codeaurora.org>
spmi: pmic-arb: Dump values of dbg regs on transfer err

Dump values of core HW debugging registers on an error
in transfer. These values are valuable for root cause
analysis.

Change-Id: I206c4a2232f44480220e795a8d8e946d8352ba19
Signed-off-by: Gilad Avidov <gavidov@codeaurora.org>
msm: boot_stats: remove use of MSM_IMEM_BASE

Move to getting address for boot_stats region of IMEM from the device tree
and mapping via ioremap.  This removes a usage of MSM_IMEM_BASE which will
allow removal of the static IO mappings.

Additionally move to using io accessors since we are accessing IO memory
instead of direct pointer manipulation.

Change-Id: Ib3d3494612b37e7ee9903d270c80ea929d6a7435
Signed-off-by: Kumar Gala <galak@codeaurora.org>
msm: cache_erp: remove use of MSM_IMEM_BASE

Move to getting address for cache_erp region of IMEM from the device tree
and mapping via ioremap.  This removes a usage of MSM_IMEM_BASE which will
allow removal of the static IO mappings.

Change-Id: Id1e3d1964fe07654e1751131ee49389b79e5d8b6
Signed-off-by: Kumar Gala <galak@codeaurora.org>
msm: mdss: Support demo mode for post processing

Add demo mode feature for numerous post processing features. In dual pipe
case, demo mode allows for either the left or right pipe's feature to be
disabled to showcase its effects. Features supported include assertive
display, gamut mapping, panel gamma correction, inverse gamma correction,
dithering, picture adjustment (v2 only), and polynomial color correction.

Change-Id: I8bceeffc11967ff23497df7739e6f99c30d2b10f
Signed-off-by: Carl Vanderlip <carlv@codeaurora.org>
Signed-off-by: Ping Li <quicpingli@codeaurora.org>
ARM: dts: msm: Add stop_ack gpio support for lpass and pronto

The stop ack IRQ is a SMP2P GPIO interrupt that is triggered
when a subsystem acknowledges the receipt and processing of the
force stop gpio.
Currently, only modem uses this and is the only one with the
stop_ack gpio property in its dt entry. Add the property to LPASS
and PRONTO subsystem dt entries.

Change-Id: I731d39b7cbc7dbcc0fc574862d4dfc88fb26b729
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
msm: msm_memory_dump: remove use of MSM_IMEM_BASE

Move to getting address for msm_memory_dump region of IMEM from the device
tree and mapping via ioremap.  This removes a usage of MSM_IMEM_BASE which
will allow removal of the static IO mappings.

Change-Id: I99ec8a87c782b1d30e22606bf849b538bb95815e
Signed-off-by: Kumar Gala <galak@codeaurora.org>
qseecom: Replace kzalloc with ion_alloc

Allocate memory to common lib through kzalloc issues no page errors due to
higher order memory request. So allocate the memory from the heap specially
dedicated to QSEECOM.

Change-Id: Ice4a609d6791ce5adc84b9882231def31674f461
Signed-off-by: AnilKumar Chimata <anilc@codeaurora.org>
defconfig: fsm9900: Enable NULL algorithm for ipsec

Enable NULL algorithm and CTR, CTS, ECB mode for ipsec for fsm9900.

Change-Id: I9768e013468855fdc7e554570420fb1a9c64a56b
Acked-by: Kaushik Sikdar <ksikdar@qti.qualcomm.com>
Signed-off-by: Niranjana Vishwanathapura <nvishwan@codeaurora.org>
power: qpnp-bms: always release output locks in bms driver

If a SPMI read error occurs, there can be a situation where the
BMS_HOLD_OREG bit is not set and the bms param lock is never released.
This can cause deadlocks and battery SoC to never move. Fix this by
releasing the locks after handling an error.

Change-Id: I880b8e1ed2ff1ec3ce701f1e9922c9aac353766a
Signed-off-by: Xiaozhe Shi <xiaozhes@codeaurora.org>
power: qpnp-bms: fix coulomb counter selection

There is a bug in the BMS code right now where reading the coulomb
counter actually reads the shadow coulomb counter and vice versa. Fix
this by correctly specifying the coulomb counter to be read.

Change-Id: Ica703d1e426e595e9ff6cd9fc45bade743740238
Signed-off-by: Xiaozhe Shi <xiaozhes@codeaurora.org>
msm: vidc: enable deferred probe support for Q6

Add support to defer probe for Q6 driver. Also fixes
a bug in venus hfi, whereby probe for venus hfi fails
if the core_id is not zero.

Change-Id: I67269107132bf352186fad1e177e4099cf9f4534
Signed-off-by: Arun Menon <avmenon@codeaurora.org>
ARM: dts: msm: Update device tree for venus on mpq8092

Update vbif and IOMMU domain settings for venus on mpq8092.

Change-Id: I93156efae21740ca41f86af4fb26c3f1b223dad3
Signed-off-by: Jayasena Sangaraboina <jsanga@codeaurora.org>
defconfig: apq8084: Enable TSPP demux plugin

Enable demux support for apq8084 required
in broadcast applications.

Change-Id: Ic4d4ecee85e944e93d07a3f8ee087a8581409517
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>