aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/s5p-tv/regs-mixer.h
diff options
context:
space:
mode:
authorTomasz Stanislawski <t.stanislaws@samsung.com>2011-08-25 12:47:48 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-09-26 08:04:31 -0300
commit0689133b7fadd2e10f4bddca36c895223a541c6c (patch)
tree4479f1b53f668656675b9f4eeb1466fcb5f1a54e /drivers/media/video/s5p-tv/regs-mixer.h
parent17b27478ccdb5b6883032031b83f5cd2ce5f8cf9 (diff)
[media] s5p-tv: fix mbus configuration
This patch fixes mbus configuration between Mixer, SDO and HDMI. The SDO accepts only YUV444 on input. The HDMI in DVI mode accepts only RGB888. Now Mixer is choosing proper output format depending on mbus format. Signed-off-by: Tomasz Stanislawski <t.stanislaws@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/s5p-tv/regs-mixer.h')
-rw-r--r--drivers/media/video/s5p-tv/regs-mixer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/s5p-tv/regs-mixer.h b/drivers/media/video/s5p-tv/regs-mixer.h
index 3c8442609c1..158abb43d0a 100644
--- a/drivers/media/video/s5p-tv/regs-mixer.h
+++ b/drivers/media/video/s5p-tv/regs-mixer.h
@@ -67,6 +67,7 @@
/* bits for MXR_CFG */
#define MXR_CFG_OUT_YUV444 (0 << 8)
#define MXR_CFG_OUT_RGB888 (1 << 8)
+#define MXR_CFG_OUT_MASK (1 << 8)
#define MXR_CFG_DST_SDO (0 << 7)
#define MXR_CFG_DST_HDMI (1 << 7)
#define MXR_CFG_DST_MASK (1 << 7)