OMAPDSS: DISPC: Remove reduntant code for passing plane info

overlay id is being retrived from overlay that was not initialized during probe.
This will cause NULL pointer exception when accessing the ovl->id
directly when initializing the DISPC without initializing the
overlas/managers during probe.

overlays/managers are being initialized during probe with a call
to omapdss_compat_init(). This call is being made from dsscomp or omapfb
probe. if either of these components are not used by the rendering engine
then it will cause NULL pointer exception when accessing overlays frmo DISPC.

Change-Id: I2c98aa5de4f3bf2a4ea6206f0f605d24343e9996
Signed-off-by: Srinivas Pulukuru <srinivas.pulukuru@ti.com>
WIP: add initial otter files
Revert "ARM: DRA7: hwmod: Fix HDMI irq number"

This reverts commit 3617904a2b12714fa50e475afafc76421141fbe3.

IRQ_CROSSBAR_96 maps to irq #101 and not #96, which is mmc4's irq.

Change-Id: I9aecf8e08abeda5917817aea38634edd0f84b721
Signed-off-by: Ido Yariv <ido@wizery.com>
Signed-off-by: bvijay <bvijay@ti.com>
ARM: DRA: hwmod: Rename dma line names for mmc4

Similar to bb281116 ("ARM: DRA: hwmod: Correct the dma line names for mmc"),
rename the dma line names of mmc4.

Signed-off-by: vijay <bvijay@ti.com>
[added commit message]
Signed-off-by: Ido Yariv <ido@wizery.com>

Change-Id: I3ca5a1efa1a52158711b0f43715ae28c40f050fd
Signed-off-by: bvijay <bvijay@ti.com>
ti-st: add device tree support

When using device tree, driver configuration data need to be read from
device node.
Add support for getting the platform data information from the device
tree information stored in the .dtb file in case it exists.

Change-Id: I74f7f869fc257a057edb9f35c5fd8cbafb810164
Signed-off-by: Eyal Reizer <eyalr@ti.com>
Signed-off-by: bvijay <bvijay@ti.com>
btwilink: add minimal device tree support

Add minimal device tree support to the btwilink driver that is used
for binding bluetooth with the ti-st shared transport driver.

Change-Id: I301c49d29046f20f8868bebb14347e82c12c8140
Signed-off-by: Eyal Reizer <eyalr@ti.com>
Signed-off-by: bvijay <bvijay@ti.com>
ARM: omap5-uevm: add bluetooth device-tree support

The wilink module is a combo wireless connectivity module based on
Texas Instrument's wl18xx solution.

Add support for the bluetooth capabilities of this module by muxing the
relevant gpio enable line, and setting the required shared transport
platform data.

Change-Id: I87629af7329c745d35a7238b64f9b380314976fc
Signed-off-by: Eyal Reizer <eyalr@ti.com>
Signed-off-by: bvijay <bvijay@ti.com>
ARM: dra7: add bluetooth device-tree support

The wilink module is a combo wireless connectivity module based on
Texas Instrument's wl18xx solution.

Add support for the bluetooth capabilities of this module by muxing the
relevant gpio enable line, and setting the required shared transport
platform data.

Change-Id: Idd14284f5521efdbc25e4dbae44026772fd214f2
Signed-off-by: vijay <bvijay@ti.com>
Signed-off-by: bvijay <bvijay@ti.com>
ARM: dra7: Add support for ST driver and Bluez

The wilink module is a combo wireless connectivity module based on
Texas Instrument's wl18xx solution.

Add support for shared transport driver, btwilink and bluez

Change-Id: I43b0eebb6ab530d9fa45ef207478dea532afc1ab
Signed-off-by: vijay <bvijay@ti.com>
Signed-off-by: bvijay <bvijay@ti.com>
mmc: omap_hsmmc: add DT power properties

Allow passing MMC_CAP_POWER_OFF_CARD and MMC_PM_KEEP_POWER capabilities
from DT.

Change-Id: I74d1cb179a01592ffcd8d48ac75fd4e3e41f2d30
Signed-off-by: Ido Yariv <ido@wizery.com>
Signed-off-by: bvijay <bvijay@ti.com>
mmc: omap_hsmmc: Power down capable mmc slots

Even with DT, some slots can (and should) be powered off, as not all
slots rely on pbias cell programming.

Use the POWER_OFF_CARD capability to signal that it's OK to power down
the card. Cards which rely on pbias should not have this capability set.

Change-Id: I02763063cfc6991706cb2ee91cfbfadc7436d3df
Signed-off-by: Ido Yariv <ido@wizery.com>
Signed-off-by: bvijay <bvijay@ti.com>
arm: edma: fix dt array parsing

edma_of_read_u32_to_s16_array() parsed dt arrays wrong -
it used incorrect size (parsed the array as u16 instead
of u32) and always overrode the first elemts with
termination values, resulting in empty array.

Fix it by using an intermediate u32 array.

NOTE: the same should be done for edma_of_read_u32_to_s8_array.

Change-Id: I2b8e91ae3b06d00b9af75d5611229b07eaa422ff
Signed-off-by: Ido Yariv <ido@wizery.com>
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: bvijay <bvijay@ti.com>
ARM: omap5-uevm: Add wilink/wlan support

The wilink module is a combo wireless connectivity sdio card based on
Texas Instrument's wl18xx solution.
It is a 4-wire, 1.8V, embedded sdio wlan device with an external irq
line and is power-controlled by a gpio-based fixed regulator.

Add support for the wlan capabilities of this module by muxing the
relevant mmc and gpio lines, and setting the required platform data.

Change-Id: Iff980f8863cdb765c96733f8b8cc2cea36587a35
Signed-off-by: Ido Yariv <ido@wizery.com>
Signed-off-by: bvijay <bvijay@ti.com>
ARM: DRA7: Add wlan support for DRA7

The wilink module is a combo wireless connectivity sdio card based on
Texas Instrument's wl18xx solution.
It is a 4-wire, 1.8V, embedded sdio wlan device with an external irq
line and is power-controlled by a gpio-based fixed regulator.

Add support for the wlan capabilities of this module by muxing the
relevant mmc and gpio lines, and setting the required platform data.

Change-Id: Id362627c3038306876be72020ddaefd0989d70c3
Signed-off-by: Ido Yariv <ido@wizery.com>
Signed-off-by: bvijay <bvijay@ti.com>
omapdrm: Expose the OMAP global alpha property through DRM

Added support for global alpha changes through DRM plane properties

Change-Id: I5ec2af517e370be104986b95f757edcbe6f8df24
Signed-off-by: alaganraj <alaganraj.s@ti.com>
omapdrm: Expose the OMAP pre-multiplied alpha property through DRM

Added support for pre-multiplied alpha changes through DRM plane properties

Change-Id: I37e5ca378593390463cca0c7a44f49f79d538729
Signed-off-by: alaganraj <alaganraj.s@ti.com>
v4l2: vpe: Renamed VPE driver to ti-vps directory

This is to create one directory for VIP and VPE drivers
Also, the vpdma code can be shared by both drivers.

Change-Id: Ic78b085622fdcd98bf6c997440ed6d5636950b20
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Modified vpdma channel number handling

For VIP, lot of channel numbers are present, they are being calculated
from a base channel number.

Instead of using enum vpdma_channel, and getting the actual
channel number from an array, now channel numbers are passed directly.

Also, cstat offsets (needed for VPE) are taken from an array indexed by
actual channel number.

Change-Id: Ifb607ec26a2be1d51ba3013ec256b127b11ad052
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
[Fixed checkpatch errors]
Signed-off-by: Somnath Mukherjee <somnath@ti.com>
VIP: Initial version of DRA7xx VIP driver

This is a very preliminary version of the driver based
on what was given by Dale Farnsworth and the LCPD team.

Change-Id: Iff588c128f4e483d75a11393822f4c31baa168bc
Signed-off-by: Arthur Philpott <arthur.philpott@ti.com>
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
[Fixed checkpatch errors]
Signed-off-by: Somnath Mukherjee <somnath@ti.com>
Added Kconfig for vpdma

Added one Kconfig for VPDMA
This solved the redeclaration errors for vpdma
functions.

Change-Id: I949afe1df6d19cf5bfd06b38fe01df789143c4bb
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>