OMAPDSS: VENC: allow switching venc output type at runtime
authorGrazvydas Ignotas <notasas@gmail.com>
Mon, 23 Apr 2012 21:08:54 +0000 (00:08 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 11 May 2012 11:44:13 +0000 (14:44 +0300)
commit0aca3c63e068e47616bdd54b9d19e4771db86e8e
tree9d73c3bb318180b6c80cc4446f03983f2b698bf4
parent9b71fb5cbcdd83c65e5fe6db9cd12246f7ea0262
OMAPDSS: VENC: allow switching venc output type at runtime

VENC output type (composite/svideo) doesn't have to be fixed by board
wiring, it is possible to also provide composite signal through svideo
luminance connector (software enabled), which is what pandora does.

Having to recompile the kernel for users who have TV connector types
that don't match default board setting is very inconvenient, especially
for users of a consumer device, so add support for switching VENC output
type at runtime over a new sysfs file output_type.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Documentation/arm/OMAP/DSS
drivers/video/omap2/dss/venc.c