omap: panel: Fix firstboot logic

Change-Id: I3613a198a9672fbeb71b5f0fbfe33302a98a5f3b
Revert "omap: serial: disable serial port irq during suspend"

This reverts commit 0af4d0c479b8ec6d9b8bc329b193a07331672fea.

This change does not work well together with Motorola's changes
to drivers/tty/serial/omap-serial.c and causes sporadic problems
with the serial ports resulting in the message "UART0: sw fifo
not empty" after resuming from sleep and the port then getting
stuck in a bad state until the next reboot.

This also causes the connected modem not to be accessible until
the device is rebooted.

Change-Id: I1e7a488d5607f3af8e113aace2a16556fd2c126a
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_kernel_motorola_omap4-common into cm-11.0
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_kernel_motorola_omap4-common into cm-11.0
Intelliactive Governor

*faux123

intelliactive is based on Latest Google Interactive cpufreq governor from
Google.  The original Interactive provides smooth UI operations but suffers
slight battery drain due to its aggressive policies.  Intelliactive is an
improvement built on top of it.

It has the following enhancements added:
1. self-boost capability from input drivers (no need for PowerHAL assist)
2. two phase scheduling (idle/busy phases to prevent from jumping directly to
   max freq
3. Checks for offline cpus and short circuits some unnecessary checks to
   improve code execution paths
4. removed trace calls

Change-Id: If61f86c0cc085bd4aab84f0d5f7d5a23c0bf80f4
cpufreq: add interactiveX and nightmare

Change-Id: I66496d86641639d78c1c300301d8207cc2021d6c
cpufreq: add governor ondemandx and smartass2

Change-Id: I1464e740225ad0063ba48e15d5bec074c454640b
cpufreq: register governor by name order

Change-Id: Ic41a172d5122374fb3ff089fdacebe7b5dc994e3
backport omap_ehci_ulpi_{read,write} from p-android-omap-3.4

These functions are needed for bugfixes from p-android-omap-3.4.

Change-Id: I1c9fdc6774715172d1111d27f45737c83a02106c
usb: ehci-omap: configure default PHY settings on boot

usb: ehci-omap: configure default PHY settings on boot

[backported from p-android-omap-3.4]

On Blaze Tablet, USB PHY doesn't have ability to be
reset because its /RESET line is soldered to Vcc.

As a workaround, during OMAP EHCI initialization we
reset it using [Function Control].Reset=1 bit.
As per datasheet, this resets transceiver but not
the ULPI interface or register set. This means,
that PHY may store previous registers settings.

It is OK if we do 'cold' power ON of board because the PHY
is in its default state after that. However if we do reset
of the board by pressing the 'reset' button or as
result of kernel panic, PHY do not loose its power so PHY's
registers will hold old values that may be incorrect
and an USB device, connected to the PHY may be not enumerated
for example. In Blaze Tablet particular case, devices
are not enumerated after 'reset' button or kernel panic
till power OFF-ON sequence.

In this patch we configure default PHY settings after its
soft reset so EHCI controller will expect correct behavior.

Change-Id: I7747c0a39eb8e51d499bd62c3ac0d311d19a924d
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@ti.com>
mfd: Move omap-usb-host usbhs init before allocing child dev

mfd: Move omap-usb-host usbhs init before allocing child dev

[backported from p-android-omap-3.4]

There could be possible race condition where the host dev's
are alloced and added to platform dev just before usbhs_init.
Just move usbhs_init before adding child dev.

Change-Id: I3c54db97f39c7714427e738560fba8076283e66d
CC: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Govindraj.R <govindraj.raja@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
omap4-common: improve HDMI video-mode selection

Change-Id: If0fa25f8be2e629bf9ad3b7b79b4ed37747d7bfd
omap:hdmi: port hdmi toggle switch from jbx

Change-Id: I970ae36621f9707336ad669c387d99624ec30329
cpufreq: add governor ktoonservative

Change-Id: Icb93f3f21428b5d59a1334f26592428aedce9b3b
cpufreq: replace smartass2 governor with smartassH3

Change-Id: If1af00971b8966baa4236a8f40ab88dcb4537ca3
set governor default to ktoonservative

Change-Id: I2ceb1a0ece82d634e98dac40b955994af2203207
omap4-common: fix wake on unplug

Don't allow the device to enter deep sleep right after unplugging
an usb power-source. This allows userspace to wake the system up
if the corresponding option has been set.

Change-Id: I7a21fe7c438394cfbb923a3dc925287f292704b3
omap:hdmi: clean the unnecessary hdmi_toggle.h

Change-Id: I2e8bb097c3fd000f0a389e50b01b1bc25d534703
omap:hdmi: fix hdmi toggle off when pluged.

Change-Id: I844a90f6403cb6219cdae36cb8b5df6c67657353
Revert "omap4-common: fix wake on unplug"

This seems to cause SODs.

This reverts commit 9805968b21d58023668553219a50931900c567b6.

Change-Id: I2cfbf44311dbe8b275679f976c592cb66667b2ae