OMAPDSS: VENC: allow switching venc output type at runtime
Subsystems (2)
PATCH v2 1/1 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.
--- Documentation/arm/OMAP/DSS | 1 + drivers/video/omap2/dss/venc.c | 54 +++++++++++++++++++++++++++++++++++++++- 2 files changed, 54 insertions(+), 1 deletions(-)
Documentation/arm/OMAP/DSS +1 -0
@@ -156,6 +156,7 @@ timings Display timings (pixclock,xres/hfp/hbp/hsw,yres/vfp/vbp/vsw) "pal" and "ntsc" panel_name tear_elim Tearing elimination 0=off, 1=on +output_type Output type (video encoder only): "composite" or "svideo" There are also some debugfs files at <debugfs>/omapdss/ which show information about clocks and registers.
drivers/video/omap2/dss/venc.c +53 -1
69 lines not on this page · raw message
Signature · 1 line
1.7.0.4
Quoted 9 lines · Grazvydas Ignotas
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.
Quoted 5 lines
Signed-off-by Grazvydas Ignotas <[email protected]>--- Documentation/arm/OMAP/DSS | 1 + drivers/video/omap2/dss/venc.c | 54 +++++++++++++++++++++++++++++++++++++++- 2 files changed, 54 insertions(+), 1 deletions(-)
Looks fine to me. Thanks! Applying.
Tomi