arm/dt: msm8610: Remove audio ION heap

Remove audio heap from ION device tree. Audio clients should
allocate from system heap (system memory) instead.

Change-Id: I74b79a58097c70a8d852e8f68fd3867c8e7ab947
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
arm/dt: msm8226: Add SDHC device nodes

Add SDHC device nodes and update all required properties for
each device.

Change-Id: I9733a5dced12a1516f538a5642a6de0046a66528
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
msm: board-8226: Add AUX data for SDHC devices

This is required for Android boot scripts that expect the
msm_sdcc.x sysfs entries.

Change-Id: I0ed90f0adfae84da22d2def5e37e3dae1a74899f
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
arm/dt: msm8226: Switch to SDHC by default

This changes disables SDCC devices and enables SDHC devices
thus switching to SDHC driver by default.

Change-Id: I7b84c269708b8cf9d1c9ad002ee76c1c6f9ff25c
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
msm: camera: Request ispif_ahb_clk in ISPIF driver

ISPIF device needs to have "ispif_ahb_clk" clock when, there is a
register accesses. If this clock is not turned on and a register access
happens the following L2 master port error will happen:

  <1> L2 Error detected!
  <1> **L2ESR    = 0x00010001
  <1> **L2ESYNR0 = 0x19002008
  <1> **L2ESYNR1 = 0x00409508
  <1> **L2EAR0   = 0x00028106
  <1> **L2EAR1   = 0x00000001
  <1> **CPU bitmap = 0x1
  <1> L2 master port decode error
  <6> coresight-tmc fc307000.tmc: TMC aborted
  <0> Kernel panic - not syncing: L2 master port error detected

Before this patch this request was left to be done by the CSID and
CSIPHY drivers, as they also need this clock. This provides a
possibility of a race condition, where the userspace, might request not
in sync the drivers and they might not enable the clocks in the correct
order. In such a case the ISPIF device might be left without clocks
being enabled, while a transaction to its register is about to be done,
which will result in the above kernel panic. To prevent this issue, the
ISPIF driver requests the required clock on its own without depending on
other drivers to do so.

Change-Id: I3f9f6239c4aaa75a9672ab3a0032ecf9ea455cf1
Signed-off-by: Vladislav Hristov <vhrist@codeaurora.org>
ASoC: mdm9625: Add support for Multimedia2 session

Add Multimedia2 session support in DAI link for MDM9625.
Multimedia2 is used for playback and recording of PCM similar
to Multimedia1 session.

CRs-fixed: 462489
Change-Id: Ibdc3c4f3f8ec1776036f61c8847609724ef29623
Signed-off-by: Venkat Sudhir <vsudhir@codeaurora.org>
ASoC: wcd9320: Remove duplicate controls

Remove duplicate ADC volume controls from the
codec driver. ALSA framework will fail the amix commands
if there are duplicate entries.

Change-Id: I3052dcc030f97fee6fd6ea6bb876e5265c7d94a8
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
mfd: wcd9xxx: Get list of supplies from device tree

The wcd9xxx codec driver doesn't know what supplies need to be enabled for
different hardwares.  Therefore currently driver maintains list of supplies
for each individual codec hardwares which isn't good practice.
Get name of supplies from device tree as device tree already knows what
supplies are configured to get rid of hardcoded supply lists from driver.

Change-Id: Id5640c0f4636c7b7a6c79f14457adb52062095f4
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
ASoC: wcd9xxx: Add support on-demand supplies

There are supplies only need to be enabled on-demand based on the codec's
functional activity.  Discriminate on-demand supplies from static ones and
pass list of supplies to codec driver in order for driver can enable only
when the supplies are needed.

Change-Id: I91b3356e33fa89fb3ba12f36688f207c9e7a8e02
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
ASoC: wcd9320: Add support on-demand spkdrv supply

The wcd9320 codec requires enabled spkdrv supply during playback on the
speaker path.  Enable supply only when it's needed.

Change-Id: Ib06300396efdf5628ad92499ae17683e05165d39
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
ASoC: WCD9320: Fix the sequence for Compander enable

Fix the compander enable and disable sequence to be more
optimized for the codec.

Change-Id: I0c8bca33a74e6fa321b32388f02cd79923093445
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
ASoC: wcd9320: Update wavegen timeout based on compander

In order to acheive optimized click and pop values on
headphone path, the wavegen timer needs to be set to
20msec when compander is OFF and to 5msec whe compander
is ON. Update the wavegen timer based on compander status

Change-Id: I9c1b18981d5c5edf29895d03be88a3a2b8a5d283
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
ASoC: wcd9320: Fixes for headphone path click and pop

Fix the register sequence for optiomizing the click and pop
on headphone path

Change-Id: Ifa0af84e15f38a96b7eddbec5c90b4461fbd71ac
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
ASoC: wcd9xxx: Fix the clock enable sequence

The register sequence for the clock enable to codec is not correct.
Fix the register sequence accordingly.

Change-Id: I928c22f1a13cf8a60655d069d486b7f167498682
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
arm/dt: use correct binding name for frame rate

frame rate specified in driver is mdss-pan-dsi-frame-rate
but not mdss-pan-frame-rate.

Change-Id: I9840e392751f7039f882a011c560ea81896e3cf8
Signed-off-by: Ray Zhang <rayzhang@codeaurora.org>
msm: memory: Use phys_addr_t as the return type for ebi functions

On LPAE systems, ebi allocations may be greater than 32-bits.
Use phys_addr_t as the return type for these allocations.

Change-Id: I35a4f66d2c322869f2619253f99f339b6de7464a
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
lib: memory_alloc: Support 64-bit physical addresses

The current memory allocation code does not support physical
addresses above 32-bits, meaning that LPAE is not supported.
Change the types of the code internally to support 64-bit
physical addresses. Full 64-bit virtual addresses may not be
fully supported so this code will still need an update when
that happens.

Change-Id: I0c4a7b76784981ffcd7f4776d51e05f3592bb7b8
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
ASoC: msm8974: Acquire MCLK using standard clock APIs

Add support for acquiring and setting Codec MCLK using
the standard clock APIs for MSM8974
Also, update the Device Tree document by removing the
reference to the clock

Change-Id: I1af80cd24cb94c942f73655d644272b6765d61d8
CRs-fixed: 458454
Signed-off-by: Banajit Goswami <bgoswa@codeaurora.org>
arm/dt: msm8974: Remove unused entry for PMIC Div1 clock

Remove unused entry for PMIC Div1 clock in device tree for MSM8974
used as MCLK source for Codec. This clock will be accessed/acquired
using standard clock APIs from now on.

Change-Id: Ia56f1e8529d1175a8c2f14f2718f2f15a4640f3a
Signed-off-by: Banajit Goswami <bgoswa@codeaurora.org>
ufs: Add Platform glue driver for ufshcd

This patch adds Platform glue driver for ufshcd.

Change-Id: Ibe13b8042e4df1e95db71b193da9b042492aaef8
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Namjae Jeon <linkinjeon@gmail.com>
Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
Reviewed-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
Tested-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Vinayak Holikatti <vinholikatti@gmail.com>
Signed-off-by: Santosh Yaraganavi <santoshsy@gmail.com>
Patch-mainline: linux-scsi@vger.kernel.org @ 02/26/2013, 12:46
[sthumma@codeaurora.org: Fixed trivial merge conflicts]
Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>