Skip to content

Commit b4da9c9

Browse files
author
Jingoo Han
committed
video: s3c-fb: add the bit definitions for VIDCON0_VIDOUT_WB
This patch adds the bit definitions for VIDCON0_VIDOUT_WB. These definitions are used to support writeback for RGB and i80 interface. Also, output format of writeback is YUV444. Signed-off-by: Jingoo Han <jg1.han@samsung.com>
1 parent 31dd94f commit b4da9c9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎include/video/samsung_fimd.h‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,15 @@
2424

2525
#define VIDCON0 (0x00)
2626
#define VIDCON0_INTERLACE (1 << 29)
27-
#define VIDCON0_VIDOUT_MASK (0x3 << 26)
27+
#define VIDCON0_VIDOUT_MASK (0x7 << 26)
2828
#define VIDCON0_VIDOUT_SHIFT (26)
2929
#define VIDCON0_VIDOUT_RGB (0x0 << 26)
3030
#define VIDCON0_VIDOUT_TV (0x1 << 26)
3131
#define VIDCON0_VIDOUT_I80_LDI0 (0x2 << 26)
3232
#define VIDCON0_VIDOUT_I80_LDI1 (0x3 << 26)
33+
#define VIDCON0_VIDOUT_WB_RGB (0x4 << 26)
34+
#define VIDCON0_VIDOUT_WB_I80_LDI0 (0x6 << 26)
35+
#define VIDCON0_VIDOUT_WB_I80_LDI1 (0x7 << 26)
3336

3437
#define VIDCON0_L1_DATA_MASK (0x7 << 23)
3538
#define VIDCON0_L1_DATA_SHIFT (23)

0 commit comments

Comments
 (0)