OMAPDSS: VENC: allow switching venc type at runtime
authorGrazvydas Ignotas <notasas@gmail.com>
Wed, 28 Mar 2012 21:03:08 +0000 (00:03 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Tue, 3 Apr 2012 21:00:39 +0000 (00:00 +0300)
commit3e0e3811550407251c9332ae7be5bfffc5b8f96d
treebec98bf2e9ea0e8d3b1b4596c947ccfb2f06664f
parent159d59b15cd3617f6d19df1dcbc888a8d8ecfa3c
OMAPDSS: VENC: allow switching venc type at runtime

VENC type (composite/svideo) doesn't have to be fixed by board wiring,
it is possible to provide both connectors, which is what pandora does.
Having to recompile the kernel for users who have TV connector types
that's don't match default board setting is very inconvenient, especially
for users of a consumer device, so add support for switching VENC type
at runtime over a new sysfs file venc_type.

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