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>
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>
input: synaptics: Add support for new firmware versions

- Add DS5 firmware update support
- Support polling mode in firmware update

Signed-off-by: Alexandra Chin <alexandra.chin@tw.synaptics.com>
Change-Id: Ibf9a6ffcd843866683b3b138af56f09545f3742c
Git-commit: e01cec21f08bc35ba3e97981b967bb4e2c52267a
Git-repo: git://github.com/synaptics-touch/msm-3.4.git
[amaloche@codeaurora.org: Changes due to base driver
differences]
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
input: synaptics: Support lockdown in firmware update

2013.07.29
- Support lockdown in firmware update
- Support write config area from a pure config file
- Skip entering bootloadermode when reading config area
- Use list_for_each_entry_safe if list item will be changed

Signed-off-by: Alexandra Chin <alexandra.chin@tw.synaptics.com>
Change-Id: I2d4fb52456088a1f769a7de4fcac6c3e4589a5a5
Git-commit: a1028858bd164b43e5a78fd2d55f153b84529591
Git-repo: git://github.com/synaptics-touch/msm-3.4.git
[amaloche@codeaurora.org: Changes due to base driver
differences]
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
input: synaptics: Add support for F12

2013-07-23
- Add F$12 support
- Correct data size in struct image_header_data
- use DECLARE_COMPLETION

Signed-off-by: Alexandra Chin <alexandra.chin@tw.synaptics.com>
Change-Id: Ie9c1be58f963467e10ff0355f2c7b5b0244ea003
Git-commit: ca4b0c286031245c28b1fa1aca1e1d1614d6c18e
Git-repo: git://github.com/synaptics-touch/msm-3.4.git
[amaloche@codeaurora.org: Changes due to base driver
differences]
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
leds: leds-qpnp: Enable flash torch mode on single LED PMIC

Flash LED torch mode is not supported from hardware perspective
on PMIC with single flash LED module. Enabling torch mode on such
PMIC chips requires detection of PMIC peripheral subtype and
use flash mode with a lower current to implement torch.

Change-Id: I77228068c2c0ec4a0ed5614f4a991a3bce5db013
Signed-off-by: Chun Zhang <chunz@codeaurora.org>
ARM: dts: msm: Utilize flash module for torch mode on PM8026

Flash LED torch mode is not supported on PM8026 chips. To
enable flash LED torch mode, flash module needs to be used with
a lower current.

CRs-fixed: 507563
Change-Id: Ifec6a9df3cf7fc56c9dda13a7ff33380d0cd13f9
Signed-off-by: Chun Zhang <chunz@codeaurora.org>
Merge "leds: leds-qpnp: Enable flash torch mode on single LED PMIC"
Merge "ARM: dts: msm: Utilize flash module for torch mode on PM8026"
mmc: card: CORRECTLY_PRG_SECTORS_NUM parsing fix

According to eMMC specification (4.5 onwards), CORRECTLY_PRG_SECTORS_NUM
field will reflect the accumulated packed sectors that were transferred
plus header. The header (1 sector size) is not actually written to NAND.

The fix will decrement correctly programmed sectors byte count by 1 sector
size.

CRs-fixed: 518341
Change-Id: I94a79903469c011308fcaf195fce5af5f0525026
Signed-off-by: Konstantin Dorfman <kdorfman@codeaurora.org>
Merge "mmc: core: Enable multiple urgent requests notification"
Merge "input: synaptics: Add support for new firmware versions"
Merge "input: synaptics: Add support for F12"
Merge "mmc: card: CORRECTLY_PRG_SECTORS_NUM parsing fix"
Merge "input: synaptics: Support lockdown in firmware update"
Merge "msm: restart: add support for SPMI PMIC arbiter shutdown"
Revert "msm: kgsl: Try to run soft reset on all targets that support it"

This reverts commit 7fd4a7812b98f1bd485790fb803e5cede3a414d2.

Change-Id: I5e132c42d29e79c3596058546845cb3ce528879c
Signed-off-by: Tarun Karra <tkarra@codeaurora.org>
Revert "msm: kgsl: Check for idle in the fault detection timer"

This reverts commit d487861627d45f0249ee09b41834096f880a6bf1.

Change-Id: I5f7ac5f83880dc5dbcfe4673343f45fdeed910a0
Signed-off-by: Tarun Karra <tkarra@codeaurora.org>
Revert "msm: kgsl: Improve the dispatcher issuecmds loop"

This reverts commit 6c468fc6b47bfbf5de9a7defb05c71451b4b5cbc.

Change-Id: I0c213e96a5ac3a53ae93c3e2d930be657a701eb6
Signed-off-by: Tarun Karra <tkarra@codeaurora.org>
Revert "msm: kgsl: Add support for KGSL_CMD_SYNCPOINT_TYPE_FENCE"

This reverts commit e4a13f8ecc300aeb12be524525a29597e63812cb.

Change-Id: I1202782313439afac9ee625f695d2b7ba957d8d7
Signed-off-by: Tarun Karra <tkarra@codeaurora.org>