mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 07:38:10 +00:00
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>
This commit is contained in:
parent
31dd94f959
commit
b4da9c9add
1 changed files with 4 additions and 1 deletions
|
@ -24,12 +24,15 @@
|
||||||
|
|
||||||
#define VIDCON0 (0x00)
|
#define VIDCON0 (0x00)
|
||||||
#define VIDCON0_INTERLACE (1 << 29)
|
#define VIDCON0_INTERLACE (1 << 29)
|
||||||
#define VIDCON0_VIDOUT_MASK (0x3 << 26)
|
#define VIDCON0_VIDOUT_MASK (0x7 << 26)
|
||||||
#define VIDCON0_VIDOUT_SHIFT (26)
|
#define VIDCON0_VIDOUT_SHIFT (26)
|
||||||
#define VIDCON0_VIDOUT_RGB (0x0 << 26)
|
#define VIDCON0_VIDOUT_RGB (0x0 << 26)
|
||||||
#define VIDCON0_VIDOUT_TV (0x1 << 26)
|
#define VIDCON0_VIDOUT_TV (0x1 << 26)
|
||||||
#define VIDCON0_VIDOUT_I80_LDI0 (0x2 << 26)
|
#define VIDCON0_VIDOUT_I80_LDI0 (0x2 << 26)
|
||||||
#define VIDCON0_VIDOUT_I80_LDI1 (0x3 << 26)
|
#define VIDCON0_VIDOUT_I80_LDI1 (0x3 << 26)
|
||||||
|
#define VIDCON0_VIDOUT_WB_RGB (0x4 << 26)
|
||||||
|
#define VIDCON0_VIDOUT_WB_I80_LDI0 (0x6 << 26)
|
||||||
|
#define VIDCON0_VIDOUT_WB_I80_LDI1 (0x7 << 26)
|
||||||
|
|
||||||
#define VIDCON0_L1_DATA_MASK (0x7 << 23)
|
#define VIDCON0_L1_DATA_MASK (0x7 << 23)
|
||||||
#define VIDCON0_L1_DATA_SHIFT (23)
|
#define VIDCON0_L1_DATA_SHIFT (23)
|
||||||
|
|
Loading…
Reference in a new issue