OMAPDSS: Add support for DPI source selection
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 21 Sep 2012 09:09:54 +0000 (12:09 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 24 Sep 2012 13:50:08 +0000 (16:50 +0300)
commitde09e4555592986219132b518c3f7834a28823cd
treebdd8ef011e33e8bd009e3401c75000d8e6b5067c
parent84273a9593306926af56ad5b4a69029c2886c5de
OMAPDSS: Add support for DPI source selection

We can select the video source for DPI output as follows:

OMAP2/3: always LCD1
OMAP4: LCD2 or DIGIT
OMAP5: LCD1/LCD2/LCD3/DIGIT

This patch adds support to select the source, and makes dpi.c call the
function to set the source.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: David Anders <x0132446@ti.com>
drivers/video/omap2/dss/dpi.c
drivers/video/omap2/dss/dss.c
drivers/video/omap2/dss/dss.h