omap5: panda: initialize vram via android-display

This patch adds logic to initialize vram via
android-display similar to OMAP4 Tablet and OMAP5 sEVM
so that the vram requirements are calculated using
the display size accurately rather than being hardcoded.

Also, the number of vram buffers have been increased
from 2 to 4 inorder to support blitter functionality
on secondary display.

Inorder to fully enable blitter, there is a corresponding
filesystem change in device/ti/panda5 that is required
to update the bootargs to not pass the vram sizes which
will override the android-display setting.

Change-Id: I490c22f154fac08eaaf481831fec135915253c1f
Signed-off-by: Sundar Raman <a0393242@ti.com>
Revert "ARM: try_to_freeze() called with IRQs disabled on ARM"

This reverts commit e565af075e6095b5186b65081a20e4de6637698e
due to the regression in the next CTS tests:

1. class:
   libcore.java.net.ConcurrentCloseTest

methods:
 - test_accept
 - test_recv

2. class:
   libcore.java.io.InterruptedStreamTest

methods:
 - testInterruptReadablePipeChannel
 - testInterruptReadableSocketChannel

Change-Id: I046ef6aba53618014aff3da92de350a142a8143f
Signed-off-by: Oleksandr Dmytryshyn <oleksandr.dmytryshyn@ti.com>
HACK: ARM: disable sleeping while atomic warning in do_signal

ARM disables interrupts in do_signal, which triggers a warning in
try_to_freeze, see details at https://lkml.org/lkml/2011/8/23/221.
To prevent the warnings, add try_to_freeze_nowarn and call it from
do_signal.

Change-Id: If7482de21c386adc705fa1ac4ecb8c7ece5bb356
Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: Oleksandr Dmytryshyn <oleksandr.dmytryshyn@ti.com>
omap-pwm-led: remove unused driver from 3.0 kernel

Change-Id: Ia6f0f43399223177c725f2e6b2126c6649d0e920
OMAP4: HDCP: Changes required for correct HDCP functionality thru AV receiver

This patch adds changes required for correct HDCP functionality
thru AV receiver. New config option was added - OMAP4_HDCP_SUPPORT.

Change-Id: I51de82d17f60bbea7865408cde1c4a6b1ea455e0
Signed-off-by: Victor Kleinik <x0150886@ti.com>
Signed-off-by: Sujeet Baranwal <s-baranwal@ti.com>
OMAPDSS: HDMI: Fix race condition after resume from suspend

Fix for OMAPS00294638. Race conditions appear during resume from suspend
when HDMI was pluged in suspend state.
This caused by hdmi_panel driver when it tries to call hdmi_read_valid_edid
method from hdmi driver when it not resumed yet. In this patch was added
additional check for hdmi_runtime_get result in hdmi_read_valid_edid method.

Signed-off-by: Oleksii.Zinchuk <oleksii.zinchuk@ti.com>
Change-Id: Iec63826b1d37ea60ffd1d233c89cdbc164f5d4c9
Merge remote-tracking branch 'origin/p-linux-omap-3.4' into p-android-omap-3.4

* origin/p-linux-omap-3.4:
  HACK: ARM: disable sleeping while atomic warning in do_signal
  Revert "ARM: try_to_freeze() called with IRQs disabled on ARM"

Change-Id: If9380ce74b80c07a6b228a9ffa12df4427d8453e
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Revert "apply spi patch: https://lkml.org/lkml/2012/5/10/157"

This reverts commit 31ab91a702d0c63ec3e040d0948e9b9e1bbb7ce4.
Merge branch 'p-android-omap-3.4' of git://git.omapzoom.org/kernel/omap into p-android-omap-3.4
Merge remote-tracking branch 'kf/p-android-omap-3.4' into p-android-omap-3.4