msm: 9625: Add HSUSB nodes to the NoC list

HSUSB nodes were missing causing USB client registration to
fail. Fix this by adding the nodes to NoC data.

Change-Id: Ia3d111c2f9a3220b9516d25323f92787ca8f3892
CRs-Fixed: 508722
Signed-off-by: Gagan Mac <gmac@codeaurora.org>
msm: camera: Add input interface in SOF event

For Start of frame event send to userspace,
we need to know whether it is coming from the
pixel interface or the raw interface.
This change add the code to populate the
interface information.

Change-Id: Ie81473d9797e4514394fb89c39f576396e8ff478
Signed-off-by: Peter Liu <pingchie@codeaurora.org>
ARM: dts: msm: Add devices for Qualcomm PMIC PMI8962

Add a new device tree include file which contains the SPMI
peripheral devices found inside of PMI8962 PMICs.

Change-Id: Ia76e87b8c2c84f55433db3c519616f5eb23bdecd
Signed-off-by: David Collins <collinsd@codeaurora.org>
regulator: qpnp-regulator: Add support for boost-bypass type regulators

Add support for QPNP PMIC boost-bypass type regulators.  This
type of regulator is designed to output a configurable minimum
voltage.  If the input voltage is above the set point voltage,
then the regulator automatically enters bypass mode such that the
output voltage is equal to the input voltage.  If the input
voltage is below the set point voltage, then it is boosted up to
the set point voltage.

Change-Id: I93704339b7cb730fae099471bf8ec872dae54c04
Signed-off-by: David Collins <collinsd@codeaurora.org>
usb: usb_bam: Code quality checking fix

Fixed a code-quality checking issue:
In usb_bam_a2_reset() function, the bam local variable is defined as
an unsigned char, but it is initialized by an enumeration value. Used a
conversion for fixing it.

Change-Id: I5f35476694ba6520eff77a6504d041eb70d7f5ac
Signed-off-by: Daniel Segal <dsegal@codeaurora.org>
mtd: nand: Add manufacturer ID for ESMT

Add manufacturer ID in the NAND ID table for
Elite Semiconductor Memory Technology (ESMT) Inc.

Change-Id: I5d951464862829a00a59dcc2201d3661f3bea3c4
Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
defconfig: msm8226: Enable gt9xx CTP driver

Enable Goodix gt9xx CTP driver for 8x26skuf.

Change-Id: I321b4d0ca77cf4512d8248057f006584b0fd8bef
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
arm/dt: Add OTP support for ov8825 on 8x26

Add OTP device tree for ov8825 on 8x26 platform.
OTP calibration enable for rear camera.

Change-Id: I5c0a77a16d7961846b9eb4c800cf148e55300e99
Signed-off-by: Ju He <juhe@codeaurora.org>
msm: camera: Add in-sensor mode support for eeprom

Add in-sensor mode calibration support for eeprom.
User are able to write back calibration settings
via ioctrl interface of the sensor.

Change-Id: I5fbfa8967885b683e498fe670a0c36d58d4b44e7
Signed-off-by: Ju He <juhe@codeaurora.org>
tty: serial: Use "no_log" readl/writel variants in hsl_read/write

hsl_read and hsl_write both directly call ioread32/iowrite32, which
leads to either a __raw_readl or __raw_writel call. These
readl/writel call are logged to the register trace buffer (RTB) by
default and generate a very large amount of output. This patch
directly calls __raw_readl_no_log and __raw_writel_no_log in
hsl_read and hsl_write to avoid logging these events to the RTB.

Change-Id: I9b3253996188f0642a4f6dedf449ec23fa1de05a
Signed-off-by: David Garibaldi <dgaribal@codeaurora.org>
msm: camera: Fix gc0339 power leak issue

1. Adjust the power on/up sequence.
2. Write analog power down register before power down.

Change-Id: Ibdccbf6f67682e998abff8fa32e153332c444538
Signed-off-by: wenbinw <wenbinw@codeaurora.org>
arm: dts: msm8610: fix SDC2 regulator to be turned-off

The LDO21 powering the SDC2 slot has been marked as
always-on. But this can be turned-off during
runtime/system suspend.

This patch removes the always-on attribute of this
regulator.

CRs-fixed: 511572
Change-Id: I9744a581ed2deb967da3f9cb4080de75160de236
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
msm: vidc: Increase maximum buffer count limit

Some clients want to allocate more buffers on decoder
input port than required (mainly for performance reasons).
Video decoder should honor the client request as long as
V4L2 framework permits.

CRs-fixed: 509088
Change-Id: Ic0da1b11ca49ebcd4498f8c8d93ba5b0e2dae8ba
Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>
msm: mdss: Make wait_for_complete calls uninterruptible

The wait_for_complete calls in the MDSS driver are associated
with an acceptable timeout value which would remove the need for
making them interruptible. Also, this prevents unwanted signal
interrupts before the call is finished.

Change-Id: If4013b0d74bc9f717c4a63d961f2a34753320e87
Signed-off-by: Sree Sesha Aravind Vadrevu <svadrevu@codeaurora.org>
msm: gpiomux: gpiomux configuration for skuf

Skuf use different GPIO configuration than MTP that need individual
configuration.

Change-Id: Iad4f55105232c3d0eb07d0f2a60f5046ba3875ef
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
input: makefile: Add makefile and kconfig for GT9xx CTP

Add Makefile and Kconfig to build Goodix GT9xx touchpanel driver.

Change-Id: Ibbcdcbb4563bc022d6e4034c37bc633eb9b34315
Signed-off-by: Figo Wang <figow@codeaurora.org>
mmc: core: Enable multiple urgent requests notification

At the moment if the block layer issues an URGENT request notification
before receiving a complete on the URGENT request currently handled by
the device driver - the system crashes with a BUG_ON().
This change enables multiple block layer urgent request notification to
be handled by MMC layer by removing single notification enforcement.

CRs-fixed: 517724
Change-Id: Idfa410d0c2286146f8d58a38b5abd6886036317c
Signed-off-by: Tatyana Brokhman <tlinder@codeaurora.org>
msm: kgsl: Wake up gpu on kgsl_ioctl_timestamp_event only if necessary

Any call of kgsl_ioctl_timestamp_event wakes up gpu. In some cases
(like retired timestamp) it's not necessary. Wake up gpu only if it's
necessary.

Signed-off-by: Vladimir Razgulin <vrazguli@codeaurora.org>
Change-Id: I845faf6e9c6e4c9882a68489b64223919be3d21c
msm: mdss: copy gamut conf tables from kernel mem

Read the gamut config data from hardware into kernel's
memory and copy back to user space address using copy_to_user
API. This prevents MDP PP driver from writing directly into
userspace virtual address to copy gamut config data.

CRs-Fixed: 516720
Change-Id: Ib1f53e949696f7d4a45410c529fe9375c502090f
Signed-off-by: Manoj Rao <manojraj@codeaurora.org>
msm: mdss: validate fb backlight inputs

Ensure backlight level is less than the max backlight
brightness and the backlight scaling factor is at most
1.

Change-Id: I424ed22af48ecae46371291fe88a114cf3fc7c31
CRs-Fixed: 516699
Signed-off-by: Manoj Rao <manojraj@codeaurora.org>