ASoC: ABE: Increase volume ramps for DMic's

Most digital microphones need about 10 ms to settle after setting bias
and clocks.  The OMAP DMic module is not able to set the clocks before
beginning the transfer, creating a full-scale pop at the beginning of
the transfer.

This patch works around this behavior by increasing the volume ramp
from 2ms to 50ms for DMic's.

Change-Id: I55fe727fb624965ad22c0f9087c8b426b18080ef
Signed-off-by: Gabriel M. Beddingfield <gabrbedd@ti.com>
ARM: OMAP4: Tablet: Add new board revision

Adding new (2158-004) board revision for Tablet2.

Change-Id: I9e3c914f8c79d8b29cd1ebb76509210ecccb33e2
Signed-off-by: Volodymyr Riazantsev <v.riazantsev@ti.com>
OMAPDSS: DSSCOMP: Add GPL license information

GPL license information was missing in gralloc.c

Change-Id: I9da3b0cc8a4ad28439483bdc6fdc19587d1ad200
Signed-off-by: Victor Kleinik <x0150886@ti.com>
gcx: split in several files by function.

Also added GC_SHOW_TIME switch.

Change-Id: I8ee648d4bd21147402f9fd2d1848578ef266be3c
Signed-off-by: Alexei Shlychkov <x0177296@ti.com>
gcx: added scaling support.

Includes support for nv12 source.

Change-Id: I218d59fecb75bcae1a924a925cc4aa3cce666c6c
Signed-off-by: Alexei Shlychkov <x0177296@ti.com>
gcx: fix mmu context switch issues.

On an mmu context switch, an mmu flush is required.

When the mmu is enabled after a power off, the mmu context
at the head of the cmd buffer queue is made current but the
cached current context was not updated so the next process
to try a commit would throw an l3 bus error.

Change-Id: I21414576c574d5cdeebd917f5b02d8d1e4ce3115
Signed-off-by: Craig Stout <craig.stout@ti.com>
gcx: fixed pulse skipping init bug.

Change-Id: I20e3091df86cdcea10559f181a01d3959a323443
Signed-off-by: Alexei Shlychkov <x0177296@ti.com>
gcx: validate dest rect after clipping

According to bltsville spec, rectangles should not be checked
for validity until clipping has been applied.  So we must clip
the dest rect before validating it.  Removed the error checking
from the generic rect converter macro.  Added error checking
specifically for clip rect and dest rect, post clipping. Proper
validity checking of other rects is TBD.

Change-Id: I13854c150b2549fd5a91895c7d594d00045affec
Signed-off-by: Craig Stout <craig.stout@ti.com>
gcx: adjust cache rect based on orientation

Change-Id: I542f015e7ce79098143057f21ffb2b8341e03c86
Signed-off-by: Jack Yen <jyen@ti.com>
gcx: update version to 2.2.

Change-Id: I6adb0ebb2a5a74ba90a1c7e56a3db97668d2f1f5
Signed-off-by: Craig Stout <craig.stout@ti.com>
gcx: change uvshift for NV12 rotation to work properly

90/270 degree rotation is fixed by adjusting the uv plane
address to get the proper uvplane starting address after the
rotation.

Change-Id: If4068d2866c00ca34c30137a417ca4b8faa9aefd
Signed-off-by: Jack Yen <jyen@ti.com>
gcx: added gcpwr_get_speed function and cur_freq debugfs entry.

Determines the current speed of GC320 in megahertz.

Change-Id: Ia1b17d4ac1fa4df403fc6c4bebdc574e39419ee0
Signed-off-by: Alexei Shlychkov <x0177296@ti.com>
gcx: added generic format parser.

RGB and YUV formats are now generically supported.

Change-Id: Ife091091ffb538cdc449385060d3919d7375e267
Signed-off-by: Alexei Shlychkov <x0177296@ti.com>
gcx: error handling improvements and fixes.

Change-Id: I4255b5935d070e47d7f286c2bfadb74f93d275a8
Signed-off-by: Alexei Shlychkov <x0177296@ti.com>
gcx: destination setup enhanced.

Separated common setup shared between all
operations from parameters that only apply
for bitblt. Scaler will have different setup
for those parameters (for ex. rotation).

Change-Id: Id28a62d30110b0fed4ff8abdbe5b6a6976a5316c
Signed-off-by: Alexei Shlychkov <x0177296@ti.com>
gcx: fix format parsing/usage dependency.

Change-Id: I00799cbb2507f29a9362e7fdbdd7339d8ad17832
Signed-off-by: Alexei Shlychkov <x0177296@ti.com>
gcx: added generic YUV programming for the blitter.

Change-Id: I8c0fc1d4611de4248cf48c492fb21163a219f20c
Signed-off-by: Alexei Shlychkov <x0177296@ti.com>
gcx: scaler update.

Added special handling for rotation.
Added bandwidth optimizations.
Bug fixes.

Change-Id: I72dd10938b2a6f37048e3fcd4b3515bbf4840233
Signed-off-by: Alexei Shlychkov <x0177296@ti.com>
gcx: added geometry check.

An additional geometry check to prevent the user
from supplying invalid geometry and causing L3 errors.

Change-Id: I91cb717fa862b711f0e05dcd9269fcb49e9960c3
Signed-off-by: Alexei Shlychkov <x0177296@ti.com>
gcx: fix main thread looping.

If the thread has no work scheduled and is
kicked off by a soft trigger, it would start
looping until the next work gets scheduled.

Change-Id: I8c274c635c98c0af0b5732c5b442130be1fd9c0a
Signed-off-by: Alexei Shlychkov <x0177296@ti.com>