1 #ifndef _DT_BINDINGS_RKFB_H_
2 #define _DT_BINDINGS_RKFB_H_
6 #define PRMRY 1 /*primary display device*/
7 #define EXTEND 2 /*extend display device*/
13 #define OUT_P888 0 //24bit screen,connect to lcdc D0~D23
14 #define OUT_P666 1 //18bit screen,connect to lcdc D0~D17
19 #define OUT_S888DUMY 12
20 #define OUT_P16BPP4 24
21 #define OUT_D888_P666 0x21 //18bit screen,connect to lcdc D2~D7, D10~D15, D18~D23
22 #define OUT_D888_P565 0x22
27 #define SCREEN_DUAL_LVDS 3
29 #define SCREEN_TVOUT 5
32 #define SCREEN_DUAL_MIPI 8
34 #define SCREEN_TVOUT_TEST 10
53 #define FB_DEFAULT_ORDER 0
54 #define FB0_WIN2_FB1_WIN1_FB2_WIN0 12
55 #define FB0_WIN1_FB1_WIN2_FB2_WIN0 21
56 #define FB0_WIN2_FB1_WIN0_FB2_WIN1 102
57 #define FB0_WIN0_FB1_WIN2_FB2_WIN1 120
58 #define FB0_WIN0_FB1_WIN1_FB2_WIN2 210
59 #define FB0_WIN1_FB1_WIN0_FB2_WIN2 201
60 #define FB0_WIN0_FB1_WIN1_FB2_WIN2_FB3_WIN3 3210
62 /* lvds connect config
64 * LVDS_8BIT_1 LVDS_8BIT_2 LVDS_8BIT_3 LVDS_6BIT
65 ----------------------------------------------------------------------
73 ----------------------------------------------------------------------
81 ----------------------------------------------------------------------
86 2 TX24 HSYNC HSYNC HSYNC HSYNC
87 TX25 VSYNC VSYNC VSYNC VSYNC
88 TX26 ENABLE ENABLE ENABLE ENABLE
89 ----------------------------------------------------------------------
96 TX23 RSVD RSVD RSVD RSVD
97 ----------------------------------------------------------------------