OMAP4: DPLL cascading: Added dummy symbols to support external modules

The DPLL cascading is used in external modules, so if the DPLL cascading is
disabled, the external modules couldn't be added by reason the lack of
needed symbols.

Change-Id: I5d5e54e04dddbb20e60d2115c81f2c4362eccc5b
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
OMAP4: DPLL cascading: ASoC: ABE DSP: DPLL cascading: Add initial support

DPLL cascading mode can be entered when the following conditions
are met:
 - System is in early suspend (screen is off)
 - Multimedia Low-Power port is active (ping-pong)
 - OPP is 50 or less (DL1 path only)

ABE DSP driver will leave DPLL cascading mode when:
 - Screen is on
 - Any other port apart from Multimedia Low-Power is used
 - Stream is closed

[Andrii Tseglytskyi <andrii.tseglytskyi@ti.com>:
Ported and adapted to p-android-omap-3.0]

Change-Id: Ib239730806e44456f45611c6eca1150733635470
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@ti.com>
omap: uart: scr register restore

Since the scr register is used in either cases i.e. DMA
and non DMA. The scr register needs restoration in either
case as well.

Change-Id: I850c518beb8062303bad1c1a1386bcefc60f008b
Signed-off-by: Ruchika Kharwar <ruchika@ti.com>
Revert "tty: serial: omap-serial: fix tx fifo writes"

Fill the TX FIFO with 16 bytes instead of 64 bytes to avoid
FIFO overruns.

This reverts commit 56b0c634c4ca2dc8da7a159cc8db68c9d3652f82.
Signed-off-by: Leed Aguilar <leed.aguilar@ti.com>
OMAP4: DPLL cascading: applying hold/release API to serial driver

Serial driver can block DPLL cascading only form non-atomic
context, if any external device uses UART.

Change-Id: I56d31a296b8a644cb2cf066b4aa7b22d2c07027a
Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@ti.com>
OMAP4: DPLL cascading: Recalibrate Baud Rates for UARTs when the DPLL freq changes

This patch attached the callbacks to DPLL framework to recalib.
the baud rates of all the UART's base on the functional clock
chnages in the DPLL cascading Low Power mode.

[Andrii Tseglytskyi <andrii.tseglytskyi@ti.com>:
Ported and adapted to p-android-omap-3.0]

Change-Id: If60b3287934f8d780b72b3aa68cbeccd52f99658
Signed-off-by: Ruchika Kharwar <ruchika@ti.com>
Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@ti.com>
gpu: ion: export needed functions for PVR SGX

Make ion symbols visible to kernel modules. The SGX DDK
in modular form requires these symbols to be exported.

The reason for the code movement of ion structs is due to
EXPORT_SYMBOL’s requirement that the storage size of all
function parameters is known. This is so that the kernel can
sanity-check the size of data structures at module load time.

Change-Id: I2b9efe285557268da3baf258af09b56917add920
Signed-off-by: Rogelio Garcia <rgarcia@ti.com>
Input: omap4-keypad - cleanup keypad driver

Long key press is not needed on android since it
is simulated on user space. Extra interrupts may
leave userspace confused.

Use bitfiled instead of hardcoded values to set
KBD_CTRL, and change PVR divisor to 0x6, which
would allow a debouncing time of ~10ms.

Set mpu irq to level instead of edge, since if mpu
is in low power a edge detection may be lost if
the event is a wkup event.

Change-Id: I2b96abdfa573614a5a669b13eed8c60baf2b07af
Signed-off-by: Andrii Danylov <x0158318@ti.com>
Signed-off-by: Axel Haslam <axelhaslam@ti.com>
Fix whitespace