10 * LVDS_8BIT_1 LVDS_8BIT_2 LVDS_8BIT_3 LVDS_6BIT
11 ----------------------------------------------------------------------
19 ----------------------------------------------------------------------
27 ----------------------------------------------------------------------
32 2 TX24 HSYNC HSYNC HSYNC HSYNC
33 TX25 VSYNC VSYNC VSYNC VSYNC
34 TX26 ENABLE ENABLE ENABLE ENABLE
35 ----------------------------------------------------------------------
42 TX23 RSVD RSVD RSVD RSVD
43 ----------------------------------------------------------------------
46 typedef enum _SCREEN_TYPE {
56 typedef enum _REFRESH_STAGE {
63 typedef enum _MCU_IOCTL {
71 typedef enum _MCU_STATUS {
81 struct rk29_fb_setting_info {
97 int (*io_deinit)(void);
98 int (*io_enable)(void);
99 int (*io_disable)(void);
103 /* Screen description
104 *type:LVDS,RGB,MIPI,MCU
105 *lvds_fromat:lvds data format,set it if the screen is lvds
106 *face:thi display output face,18bit,24bit,etc
107 *ft: the time need to display one frame time
115 struct fb_videomode mode;
121 #if defined(CONFIG_MFD_RK616)
122 u32 pll_cfg_val; //bellow are for jettaB
146 #if defined(CONFIG_MIPI_DSI)
153 int xpos; //horizontal display start position on the sceen ,then can be changed by application
155 int xsize; //horizontal and vertical display size on he screen,they can be changed by application
157 struct rk_screen *ext_screen;
158 /* Operation function*/
160 int (*standby)(u8 enable);
161 int (*refresh)(u8 arg);
162 int (*scandir)(u16 dir);
163 int (*disparea)(u8 area);
164 int (*sscreen_get)(struct rk_screen *screen, u8 resolution);
165 int (*sscreen_set)(struct rk_screen *screen, bool type);// 1: use scaler 0:bypass
170 int prop; //display device property,like PRMRY,EXTEND
172 struct rk29lcd_info *lcd_info;
173 int (*io_init)(struct rk29_fb_setting_info *fb_setting);
174 int (*io_deinit)(void);
175 int (*io_enable)(void);
176 int (*io_disable)(void);
177 void (*set_screen_info)(struct rk_screen *screen, struct rk29lcd_info *lcd_info );
180 extern void set_lcd_info(struct rk_screen *screen, struct rk29lcd_info *lcd_info);
181 extern size_t get_fb_size(void);
183 extern void set_tv_info(struct rk_screen *screen);
184 extern void set_hdmi_info(struct rk_screen *screen);