OMAPDSS: get the dss version from core pdev

The output drivers get the omapdss hw version from the platform data for
their respective output device. This doesn't work with DT, as there's no
platform data for them.

Add a new function, omapdss_get_version(), which returns the dss version
from the core device, which will have platform data on DT also. The
function is exported so that users of omapdss can also use it.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
OMAP2+: add omapdss_init_of()

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
OMAP2+: mux HDMI pins with DT kernel

Add HDMI pin muxing for DT kernel. This sets the pull up on HDMI's i2c
lines depending on the board.

This should really be handled with DT data, but for that we need
separate dts files for the board revisions.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
OMAPDSS: Add DT support to dss & dispc

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
OMAPDSS: Add DT support to DPI

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
OMAPDSS: Add DT support to DSI

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
OMAPDSS: Add DT support to HDMI

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
OMAPDSS: Taal: Add DT support

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
OMAPDSS: TFP410: Add DT support

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ARM/dts: omap4-panda: Add pinmux configuration for HDMI

Add the pinmux configuration for HDMI and TPD12S015A. Configure the
gpios for the TPD12S015A and SDA, SCL and CEC for HDMI.

Signed-off-by: Ricardo Neri <ricardo.neri@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ARM/dts: omap4-sdp: Add pinmux configuration for HDMI

Add the pinmux configuration for HDMI and TPD12S015A. Configure the
gpios for the TPD12S015A and SDA, SCL and CEC for HDMI.

Signed-off-by: Ricardo Neri <ricardo.neri@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
OMAP4: Add omapdss information to omap4.dsti

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
OMAP: Panda: Add display information to omap4-panda.dts

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
OMAP: SDP: Add display information to omap4-sdp.dts

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ARM: OMAP: Display: Configure DSI Mux pads for OMAP5

Add a function omap5_dsi_mux_pads which configures the CONTROL_DSIPHY register
to enable/disabling the DSI1 or DSI2 lanes.

The CONTROL_DSIPHY register on OMAP4 was used for enabling/disabling the lanes
and configuring them as pull up or pull down. On OMAP5, this register is only
used to enable the lanes. There are separate registers to configure
pull up and down.

Use raw register writes to configure the CONTROL_DSIPHY registers since mux
isn't completely available for OMAP5 yet.

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
OMAPDSS: Add LG4591 panel driver

Add driver for LG4591 panel, which is a 720 x 1280 DSI video mode panel.

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
OMAP5: Add dss information to omap5.dtsi
OMAP5: Add LG panel to omap5-evm.dts

Conflicts:
	arch/arm/boot/dts/omap5-evm.dts
OMAPDSS: HDMI: Rename resource variable at probe.

Minor cleanup to give to the resource variable a more proper name.

Signed-off-by: Ricardo Neri <ricardo.neri@ti.com>
OMAPDSS: HDMI: Convert to devm_request_and_ioremap

Using devm_request_and_ioremap provides better memory handling and
improves readability.

Signed-off-by: Ricardo Neri <ricardo.neri@ti.com>