Revert "ARM: dt: msm: Turn off eMMC LDO17 during sleep for 8610"

This reverts commit 81fd27930de7f7b349ec9c07644ea0cb0152ab5f.
Some eMMC cards can get damaged permanently if the VCC is turned
off during sleep and a sudden system soft reset (PMIC is not reset)
occurs. The bootloader assumes VCC is on and accesses the eMMC
causing permanent damage.

Change-Id: I16cbaac94d43c76e69c83e5ad7b2ea43396cfa14
Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
Merge "Revert "ARM: dt: msm: Turn off eMMC LDO17 during sleep for 8610""
input: sensor: add kconfig and makefile entity for stk3x1x driver

Kconfig and makefile entity is required to build Sitronix stk3x1x
light/proximity sensor driver.

Change-Id: I8a64d6b11ef7bae72af09744346ab90b762e1c33
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
(cherry picked from commit 54a96b1190f00afcc8c1f93ddfacc7238d470a44)

Signed-off-by: Gopal G Goberu <ggober@codeaurora.org>
input: sensor: add stk3x1x light/proximity sensor driver

Add Sensortek (formerly Sitronix) stk3x1x series ambient light and
proximity 3-in-1 sensor driver.

Change-Id: I88f76c1fdc57869b4113b6c27dcbccff979d78fa
Git-commit: c9f105c3ebba39131a037dd2ad8f81ce0f86e949
Git-repo: https://www.codeaurora.org/cgit/external/thundersoft/ihvjointlab/sensor-driver/
[bingzhec@codeaurora.org: added more detail to commit text]
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
Signed-off-by: Pan Fang <fangpan@codeaurora.org>
(cherry picked from commit b7673aa2f1a2f40f5e45f6c6c6858049e6831871)

Signed-off-by: Gopal G Goberu <ggober@codeaurora.org>
input: sensor: stk3x1x driver code cleanup

Minor cleanup, only change those may cause potential problem.

Change-Id: I507135f0a24e831f00dc9217b80cba7f8e069f73
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
(cherry picked from commit 440b835032ce5be1cd55182fea23aa8f27660db0)

Signed-off-by: Gopal G Goberu <ggober@codeaurora.org>
input: sensor: Add device tree support for stk3x1x

Add device tree parser and binding document for Sensortek stk3x1x
series ambient light/proximity sensor.

Change-Id: I8e553da2856ecd42629a409347659e71dcdd8f2f
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
(cherry picked from commit 1ccffb7d29f69909eb9cfa8946dc55dd41e928ad)

Signed-off-by: Gopal G Goberu <ggober@codeaurora.org>
input: sensor: Add power init and enable/disable function for stk3x1x

Power control function is required to request regulator and
configure supply voltage for device.
Power enable/disable function will be called to turn ON/OFF device
power supply.

Change-Id: Ie5dd587fdee06b2dbdf15941468838c4f46933c2
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
(cherry picked from commit 2b32b50754e3d81974fd7925413bfb1c84179056)

Signed-off-by: Gopal G Goberu <ggober@codeaurora.org>
input: sensor: Modify filesystem node attribute for HAL access

Sensor HAL library control sensors by read/write certain filesystem
node. So we need to change the attribute of these filesystem node
in sensor driver that HAL layer can access them.

Change-Id: I7fc9f93ace78755e913e42145b88cd84de236584
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
Signed-off-by: Pan Fang <fangpan@codeaurora.org>
(cherry picked from commit 552a6d0928bf40da95384e8bd0b9ba8bd8789251)

Signed-off-by: Gopal G Goberu <ggober@codeaurora.org>
ARM: dts: msm: Add light and proximity sensor for QRD8612

Add device tree to support Sensortek stk3310 P/L sensor for
QRD8x12.

Change-Id: Ifcc0db29722560f111ca7b9fb6259a505e415254
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
(cherry picked from commit ce61d4c628c9a981fe2419ecfda12a09895b93eb)

Signed-off-by: Gopal G Goberu <ggober@codeaurora.org>
ASoC: msm8x10-wcd: Enable lineout path

Update the audio codec RX paths so that audio stream can routed
to lineout and speaker properly.

Change-Id: I0a9107982f9c7f6f7f9cb0124349ee1e506e5dc3
Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org>
(cherry picked from commit 78468f1455be840c624b0f0c310adfba3bfe7f54)

Signed-off-by: Gopal G Goberu <ggober@codeaurora.org>
Merge "input: sensor: add kconfig and makefile entity for stk3x1x driver"
Merge "input: sensor: add stk3x1x light/proximity sensor driver"
Merge "input: sensor: stk3x1x driver code cleanup"
Merge "input: sensor: Add device tree support for stk3x1x"
Merge "input: sensor: Add power init and enable/disable function for stk3x1x"
Merge "input: sensor: Modify filesystem node attribute for HAL access"
Merge "ARM: dts: msm: Add light and proximity sensor for QRD8612"
Merge "ASoC: msm8x10-wcd: Enable lineout path"
ARM: dts: msm: Update memory map for msm8610

The base address and size of some of the subsystems were updated.
The device tree is updated to reflect this change.

Change-Id: I98fd05230aadb64b63e80a299446db9caed53244
Signed-off-by: Neeti Desai <neetid@codeaurora.org>
(cherry picked from commit 8349e9c70412adb4f115fabe2ae402d42d874410)

Signed-off-by: Gopal G Goberu <ggober@codeaurora.org>
ARM: dts: msm: change and add the msm8610 v1 and v2 chip

rename and add device tree to support msm8610 v1 and v2 chip

Change-Id: Ifeabea7691043aa94253a82ef8942eddc65cd0da
Signed-off-by: Pan Fang <fangpan@codeaurora.org>
(cherry picked from commit 4525af1343e855879665147b7f10f56ba396b7d4)

Signed-off-by: Gopal G Goberu <ggober@codeaurora.org>