PM / devfreq: Check for GPU busy time before sending the sample

Sometimes GPU busy time is very low during sampling. Accumulate
the statistics and send them with the next sample.

Change-Id: I77e568b48afc3a4922c7c341d9478705b7ae3a30
Signed-off-by: Suman Tatiraju <sumant@codeaurora.org>
mmc: core: Fix power class config for HS400

Use the correct power class field from the extended CSD register
for HS400 mode as defined in the eMMC5.0 specification.

CRs-fixed: 690341
Change-Id: Ie10e35941fd3c6ee49c686f721bf5af6fcd74862
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
qup_i2c: Initialize I2C resource before registering.

Due to mismatch in sequence of initializing the
I2C resources  and registering device,  issues seen
while probing clients. This patch corrects the sequence.

CRs-Fixed: 581007
Change-Id: I98f0e73ce1ed1213409d5700f7a78e722e451ec0
Signed-off-by: Sana Venkat Raju <c_vsana@codeaurora.org>

qup_i2c: Correct free memory call

Correct freeing of memory, which is allocated using
the devm prefixed API, to free it using devm_kfree rather
then kfree.

CRs-Fixed: 582597
Change-Id: If1aa9bcd86bb3a7d35adc5630ff19ad08bbdf762
Signed-off-by: Gilad Avidov <gavidov@codeaurora.org>

qup_i2c: dump gpio config on error

Dump the configuration of relevant GPIOs
on timeout error.

Change-Id: Iab5aa57befc146c232d12759990b0b8a23a68fe1
Signed-off-by: Gilad Avidov <gavidov@codeaurora.org>

qup_i2c: export qup_i2c_init_driver

Drivers like onsemi-ncp6335d and fan53555 are clients of i2c-qup driver.
In some targets, these clients have to initialize and probe early before
the i2c-qup driver is ready. Hence export qup_i2c_init_driver to make sure
i2c-qup driver is ready when its clients need to probe.

Change-Id: I0f866d1c4239f9c72f6753674c2283e97f3a3691
Signed-off-by: Ke Liu <keliu@codeaurora.org>

qup_i2c: improve PM functionality

Move system-PM functionality to noirq stage. Remove
the incorrect active-only clock path-voting setting.
Resolve synchronization of concurent transition of
system and runtime PM.

Change-Id: I2753557482da7a48a596e4b660165b4e2af0f854
Signed-off-by: Gilad Avidov <gavidov@codeaurora.org>

qup_i2c: support for configuarable noise rejection

allow to configure noise rejection value from device tree
which helps filter spikes in the i2c lines.

CRs-Fixed: 626250
Change-Id: If66132c8cc444294e4e6e275ece8b85108cf7abb
Signed-off-by: Ankit Gupta <ankgupta@codeaurora.org>

qup_i2c: Improve recovery from core and slave bad state

Unexpected noise, and/or unexpected behavior from a slave
may put the whole I2C bus in unworkable state. Clear I2C
bus state using HW command instead of bit-banging to avoid
assumption about GPIO recovery config.

Change-Id: I8d1d0002392f9ec9bc0db146aa0ce3e138334644
Signed-off-by: Gilad Avidov <gavidov@codeaurora.org>
ARM: dts: msm: Add CX regulator Phandle to MDP node

The Phandle might change for different versions of
the msm8974 chip. Add the proper Phandle of CX regulator
to 8974pro version.

Change-Id: If51fbac539922c55a5ce8583b21cc68419c6f0fc
Signed-off-by: Xiaoming Zhou <zhoux@codeaurora.org>
Add touch pressure support in synaptics touch driver.

Enabled touch pressure report in touch sensor. Read and report
pressure data to input class.

Change-Id: Idb4048725801cb14112e88ab9d23eb0813a229c8
Revert "Revert "input: touch: synaptics: Reset the device when blanking display""

It looks like this is still needed for a bit longer.

This reverts commit 7be7330da001462d1146c4a1c412a1b88666ad9f.

Change-Id: I16ed9f513bff844e99dbc381b85b0f2e83b29b50
input: touchscreen: Updated TP firmware

Change-Id: I0ba16ed0fb09644befbf6da46862553fd50e0398
Revert "Revert "Revert "input: touch: synaptics: Reset the device when blanking display"""

With the new firmware, this should finally not be needed.

This reverts commit 1ce0eaf5bc72b9f76ec44872f91b692ff2782427.

Change-Id: I2dafa35890d0de7704129e89093fe2e745a4bafa
drivers: video: Updated support for the truly panels

Change-Id: I85f6c5d21453cee9126a081caa6cb2ffdfae0b03
misc: Update kernel from SVN8864

1. update firmware to resolve fast charging ending when current is lower than 100mA

2. update touchscreen firmware to resolve when current increased when action slip change to click

Change-Id: Iccfda3d99fd00a4556c5c6bddd46f4a8281e56d2
bacon/find7: Enable CONFIG_HID_SONY

* Allows to use PS3 controller through OTG

Change-Id: If236bcfba9580bd3737083a4ac27339816e1a4bd
bacon/find7: Regenerate defconfigs

Change-Id: Id8fe611598d8d9c088cc14f184650d49cbf93dcc