ASoC: OMAP ABE: Remove extra OPP100 transition

There is no need of doing a OPP100 transition when AESS stream
is open, required OPP is calculated based on the active audio
routes.

Change-Id: I178058827c448aa6d300724a2baeb5f44ac9a690
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
ASoC: OMAP ABE: Fix MM_UL format capability

MM_UL port supports up to 6 channels, 32-bits per sample, 16-bits
per sample is no longer supported hence removed from DAI capabilities.

Change-Id: I1c9940609e5f087f5df83b9a8c6261d2306512dd
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
ASoC: ABE: Add hw_rule for 250us period constraint

Audio Backend requires period time in steps of 250us.

Change-Id: I9df1893ec557d883d435d77d24e019a054272c11
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
ASoC: ABE: Hide DL2 equalizers if DL2 is not configured

Change-Id: I5935a7d338c10c1b739cbd531d2340a21264689c
Signed-off-by: Jyri Sarha <jsarha@ti.com>
ASoC: OMAP ABE: Add "450Hz High-pass" to DL1 Equalizer

For the ABE configured in DL1-only, the DL1 Equalizer can be used
when audio is routed to speaker, so an appropriate profile for that
output must be added. The "450Hz High-pass" has been chosen, its
coefficients were taken from the corresponding profile for DL2
Equalizer.

Change-Id: I6a58a20499d29f06418b82ba1d499a57f945c962
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
OMAP: DSSCOMP: Use vmalloc for large allocations

Use vmalloc for large allocations that do not need to be
contiguous.  This keeps more memory for kmalloc.

Change-Id: I76290a16498f8846e58559b867013b62bfa3662e
Signed-off-by: Lajos Molnar <lajos@ti.com>
OMAPDSS: DSSCOMP: move device to omap plat to configure tiler1d slot

Different devices will have varying requirements on tiler resources. This
change moves the platform device registration for dsscomp to the omap
platform level so at device initialization time we can set the appropriate
Tiler1D slot size.

Change-Id: I5edf5b7cfb056a45ab038b244d2efc758a840b00
Signed-off-by: Tony Lofthouse <a0741364@ti.com>
Signed-off-by: Lajos Molnar <lajos@ti.com>
omap: fix dsscomp platform default to configure a 16MB slot size

Initial commit over allocated the default tiler slot

Change-Id: Ic5ac1048a9f4e43f44c2d568de0903aa7f33a5ba
Signed-off-by: Tony Lofthouse <a0741364@ti.com>
omap: rpmsg: switch over vring memory to use dynamic pool for dsp

The carveout memory for DSP is being switched over to use the
dynamically reserved memory pool. The memory addresses used to
configure the vring memory is therefore being switched over to
use the dynamic memory pool.

The vring memory is allocated in the rpmsg layer, while the
memory for other firmware sections is assigned by the remoteproc
driver. The remoteproc driver adjusts for the utilization of
this memory automatically through the presence of the vring
carveout section as the first of the carveout sections in the
resource table.

Change-Id: I5156028450fc7aec813bf3ce9b328acf06059de1
Signed-off-by: Jesse Villarreal <jesse.villarreal@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
omap: ion: make tiler heap to use dynamic pages if carveouts are not available

Tiler heap uses pages from tiler secure,non-secure carveouts.
Since 512MB have zero-size carveouts, get dynamic pages from
kernel via page_alloc() calls and use it to pin to tiler.
No change for 1GB systems where carveouts are used as usual.

Change-Id: I3d491efddb57ad002b247dd8c229bffd507c59d7
Signed-off-by: Devaraj Rangasamy <dev@ti.com>
OMAP4 DSS: Fix to return 24bit as the recommended bpp for 18bit panels

Display driver logic to calculate the recommended bpp for FB has been modified
to recommend 24bit for all panels above 16bit mode.

DRT# OMAPS00259536 - ICS R0: App Tray disappears on Hi Res display (1920x1200)

Change-Id: I16aad396083d0ad416e035c59a93089df20d6d82
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
omap4-common.h: fix annoying repetitive warning
board-tuna.c: fix warnings
[PATCH] ARM: fix warning on uninitialized offset.un
This patch fixes the following warning:

arch/arm/mm/alignment.c: In function 'do_alignment':
arch/arm/mm/alignment.c:327:15: warning: 'offset.un' may be used
uninitialized in this function [-Wmaybe-uninitialized]
arch/arm/mm/alignment.c:749:21: note: 'offset.un' was declared here

The fix is to promote the initialization of offset into do_alignment().

Signed-off-by: Cyril Chemparathy <cyril at ti.com>
omap_hwmod_44xx_data.c: fix warning
omaplfb: If the framebuffer is in VRAM avoid mapping into Tiler1D

Calculate whether we get an address which lies in the range of the frame
buffer, if we do pass this on directly to dsscomp.

Previously the framebuffer was accidentally being mapped into Tiler1D,
which could cause some composition scenarios to fail to render because
HWC calculations assumed exclusive use of the tiler 1d slot for itself.

Change-Id: I7c90e4adb9bee25e6a3825d456653af088803f83
Signed-off-by: Tony Lofthouse <a0741364@ti.com>
OMAP4: MFD: Add resources assignments for the TWL6032

This patch adds definition and initialization of the resources
assignments (LDOs, SYSEN, SMPS, etc) for the TWL6032.

Change-Id: Icdca2129d0ca552fae8f8b0849489d9d1c77f526
Signed-off-by: Oleksandr Dmytryshyn <oleksandr.dmytryshyn@ti.com>
MFD: TWL6032: fix typo in power resources assignments table

There was an typo in the TWL6032 power resources assignments
table. This patch corrects it.

Change-Id: Ie270bceb62dee4cb67790eb7194eeb52e86b8dea
Signed-off-by: Oleksandr Dmytryshyn <oleksandr.dmytryshyn@ti.com>
OMAP4: MFD: Modifying operational code to adjust for the compilation issue

Modifying operational code to adjust for the compilation issue:
drivers/mfd/twl6030-poweroff.c:28: warning: "TWL6030_PHOENIX_DEV_ON"
redefined include/linux/i2c/twl.h:473: note: this is the location
of the previous definition drivers/mfd/twl6030-poweroff.c

Change-Id: Ifa344bbdcf1348024c9f06ee83ca802f7de40407
Signed-off-by: Oleksandr Dmytryshyn <oleksandr.dmytryshyn@ti.com>
MFD: TWL6030: Fix the interrupt mapping for GPADC

The GPADC_SW_EOC interrupt offset was incorrectly specified in
the twl6030 interrupt mapping table. Fix the same.

Change-Id: I4bbfe4f6685da46d3e27f62c3821653505726509
Signed-off-by: Mohan V <mohanv@ti.com>
Signed-off-by: Maulik Mankad <maulik@ti.com>