4 typedef enum _REFRESH_STAGE {
11 typedef enum _MCU_IOCTL {
19 typedef enum _MCU_STATUS {
29 struct rk29_fb_setting_info {
45 int (*io_deinit)(void);
46 int (*io_enable)(void);
47 int (*io_disable)(void);
58 *type:LVDS,RGB,MIPI,MCU
59 *lvds_fromat:lvds data format,set it if the screen is lvds
60 *face:thi display output face,18bit,24bit,etc
61 *ft: the time need to display one frame time
72 struct fb_videomode mode;
80 int pixelrepeat; //For 480i/576i format, pixel is repeated twice.
88 #if defined(CONFIG_MFD_RK616) || defined(CONFIG_LCDC_RK312X)
89 u32 pll_cfg_val; //bellow are for jettaB
113 #if defined(CONFIG_MIPI_DSI)
120 int xpos; //horizontal display start position on the sceen ,then can be changed by application
122 int xsize; //horizontal and vertical display size on he screen,they can be changed by application
124 struct overscan overscan;
125 struct rk_screen *ext_screen;
126 /* Operation function*/
128 int (*standby)(u8 enable);
129 int (*refresh)(u8 arg);
130 int (*scandir)(u16 dir);
131 int (*disparea)(u8 area);
132 int (*sscreen_get)(struct rk_screen *screen, u8 resolution);
133 int (*sscreen_set)(struct rk_screen *screen, bool type);// 1: use scaler 0:bypass
138 int prop; //display device property,like PRMRY,EXTEND
140 struct rk29lcd_info *lcd_info;
141 int (*io_init)(struct rk29_fb_setting_info *fb_setting);
142 int (*io_deinit)(void);
143 int (*io_enable)(void);
144 int (*io_disable)(void);
145 void (*set_screen_info)(struct rk_screen *screen, struct rk29lcd_info *lcd_info );
148 extern void set_lcd_info(struct rk_screen *screen, struct rk29lcd_info *lcd_info);
149 extern size_t get_fb_size(u8 reserved_fb);
151 extern void set_tv_info(struct rk_screen *screen);
152 extern void set_hdmi_info(struct rk_screen *screen);