ARM: dts: msm-pm8110: 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: I32e70e7b20c84fe67c174d499fc0865e42ac3aff
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
thermal: qpnp-adc-tm: Remove VADC_TM EOC

VADC_TM is used currently only for monitoring high/low
thresholds. Therefore remove registering for end of conversion
interrupts as we do not use this mode on VADC_TM.

Change-Id: Idf4afd23fa12439667f868666515c01eb7acbfad
Signed-off-by: Siddartha Mohanadoss <smohanad@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: mdss: add BL_DCS_CMD on 8x10

Support BL_DCS_CMD function to adjust brigtness in 8x10/12.

Change-Id: If7cf7eff9509c043af4be6e6ec5f0039346f8e0a
Signed-off-by: Shuo Yan <shuoy@codeaurora.org>
Merge "ARM: dts: msm-pm8110: Switch VADC/IADC to polling"
Merge "thermal: qpnp-adc-tm: Remove VADC_TM EOC"
msm: restart: add support for SPMI PMIC arbiter shutdown

Add a secure monitor call into the V2 restart and shutdown paths
which disables the SPMI PMIC arbiter immediately before the
PS_HOLD signal is lowered to restart or shutdown the target.
This feature is used to avoid PMIC SPMI lockups that occur on
certain PMIC chips if PS_HOLD is lowered in the middle of an
SPMI transaction.

Change-Id: I0d689cb99d6cc04879baa3dea05fa70cf00fb2ef
CRs-Fixed: 517979
Signed-off-by: David Collins <collinsd@codeaurora.org>
defconfig: 8610: disable mousedev for defconfig and perf-defconfig

Disable mousedev from defconfig to avoid it being
opened by the native sensors hal library.

There are occasions when it does not return from the open
system call on its node /dev/input/mice and android boot
hangs in system_server process indefinitely.

Change-Id: I05c15eb424e22c697dfc5cc308e716aa3e2b7a78
Signed-off-by: Sanrio Alvares <sanrioalvares@codeaurora.org>
I2C: Master id, sda and scl update

Change-Id: I5c3ac74273c45c1f4869c8473c1cb915656098b8
Signed-off-by: Mallesh Koujalagi <malles@codeaurora.org>
Merge "mmc: core: Enable multiple urgent requests notification"
Merge "msm: mdss: add BL_DCS_CMD on 8x10"
Merge "msm: restart: add support for SPMI PMIC arbiter shutdown"
Merge "defconfig: 8610: disable mousedev for defconfig and perf-defconfig"
msm:mpu3050 fix i2c slave not connected issue

The irq interrupt and i2c transfer should only happen when the device boots up.

CRs-fixed:519828
Change-Id: I28ec1d79e13b11137e2c009b5dcae765161ee9aa
Signed-off-by: Oliver Wang <mengmeng@codeaurora.org>
Merge "I2C: Master id, sda and scl update"
Merge "msm:mpu3050 fix i2c slave not connected issue"
input: sensor: add driver support for cm36283

Modify Capella cm36283 ambient light/proximity sensor to compatible
with the kernel structure.

Change-Id: I23d7916480d1924b4a0a8121b2a587993a1d4b61
Signed-off-by: Oliver Wang <mengmeng@codeaurora.org>
(cherry picked from commit 8bf0cf187744c159dbe42b0017ecedc368830be5)
kconfig: add makefile and kconfig for cm36283

Add Kconfig and makefile to build Capella cm36283 ALPS driver.

Change-Id: I4e217d2b75ec6cf72b5a6534d5736be949534cd5
Signed-off-by: mengmeng <mengmeng@codeaurora.org>
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
Signed-off-by: Sanrio Alvares <sanrioalvares@codeaurora.org>
ARM: dts: msm: enable cm36283 LP sensor

Device tree for Capella cm36283 LP sensor.

Change-Id: I86abf45ab95c8117066557ee70282fcb263e2c86
Signed-off-by: mengmeng <mengmeng@codeaurora.org>
(cherry picked from commit 89da68873e6cd55d11db212caf17225e00882d99)
defconfig: msm8610: enable cm36283 LP sensor

Enable Capella cm36283 ambient light and proximity sensor for
8610MTP.

Change-Id: Idf97bf5aade7f8d46736ba39f31c2de0b93ee298
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
Signed-off-by: Sanrio Alvares <sanrioalvares@codeaurora.org>