static __s32 LCD_open_flow(__u32 sel) { LCD_OPEN_FUNC(sel, LCD_power_on, 10); //打开LCD供电,并延迟10ms LCD_OPEN_FUNC(sel, TCON_open, 200); //打开LCD控制器,并延迟200ms LCD_OPEN_FUNC(sel, LCD_bl_open, 0); //打开背光,并延迟0ms return 0; }
static __s32 LCD_open_flow(__u32 sel) { LCD_OPEN_FUNC(sel, LCD_power_on, 50); //open lcd power, and delay 50ms LCD_OPEN_FUNC(sel, TCON_open, 500); //open lcd controller, and delay 500ms LCD_OPEN_FUNC(sel, LCD_bl_open, 0); //open lcd backlight, and delay 0ms return 0; }
/********************************************************************** * * lcd flow function * **********************************************************************/ static __s32 LCD_open_flow(__u32 sel) { LCD_OPEN_FUNC(sel, LCD_power_on, 50); //open lcd power, than delay 50ms // LCD_OPEN_FUNC(sel, LCD_panel_init, 50); //not in need LCD_OPEN_FUNC(sel, TCON_open, 500); //open lcd controller, than delay 500ms LCD_OPEN_FUNC(sel, LCD_bl_open, 0); //open lcd backlight, than delay 0ms return 0; }
static s32 LCD_open_flow(u32 sel) { LCD_OPEN_FUNC(sel, LCD_power_on, 100); //open lcd power, and delay 50ms LCD_OPEN_FUNC(sel, LCD_panel_init, 200); //open lcd power, than delay 200ms LCD_OPEN_FUNC(sel, sunxi_lcd_tcon_enable, 100); //open lcd controller, and delay 100ms LCD_OPEN_FUNC(sel, LCD_bl_open, 0); //open lcd backlight, and delay 0ms return 0; }
static s32 LCD_open_flow(u32 sel) { LCD_OPEN_FUNC(sel, LCD_power_on, 200); //open lcd power, and delay 50ms LCD_OPEN_FUNC(sel, LCD_panel_init, 150); //open lcd power, than delay 200ms LCD_OPEN_FUNC(sel, sunxi_lcd_tcon_enable,300); //open lcd controller, and delay 100ms LCD_OPEN_FUNC(sel, LCD_bl_open, 0); //open lcd backlight, and delay 0ms dprintk("***LCD_open_flow_kernel\n"); return 0; }
static __s32 LCD_open_flow(__u32 sel) { LCD_OPEN_FUNC(sel, LCD_power_on , 50); //open lcd power, and delay 10ms LCD_OPEN_FUNC(sel, LCD_io_init , 20); //request and init gpio, and delay 20ms LCD_OPEN_FUNC(sel, TCON_open , 500); //open lcd controller, and delay 200ms LCD_OPEN_FUNC(sel, LCD_open_cmd , 10); //use gpio to config lcd module to the work mode, and delay 10ms LCD_OPEN_FUNC(sel, LCD_bl_open , 0); //open lcd backlight, and delay 0ms return 0; }
static __s32 LCD_open_flow(__u32 sel) { LCD_OPEN_FUNC(sel, LCD_power_on , 10); //打开LCD供电,并延时10ms LCD_OPEN_FUNC(sel, TCON_open , 200); //打开LCD控制器,并延时200ms LCD_OPEN_FUNC(sel, LCD_open_cmd , 100); //通过IO配置LCD模组为工作模式,并延时100ms LCD_OPEN_FUNC(sel, LCD_bl_open , 0); //打开背光,并延时0ms LCD_OPEN_FUNC(sel, LCD_init_isr, 0); //初始化CPU PANEL 中断服务程序,并延时 0ms return 0; }
static __s32 LCD_open_flow(__u32 sel) { LCD_OPEN_FUNC(sel, LCD_power_on , 10); //打开LCD供电,并延时10ms LCD_OPEN_FUNC(sel, LCD_io_init , 20); //申请和初始化IO,并延时20ms LCD_OPEN_FUNC(sel, TCON_open , 200); //打开LCD控制器,并延时200ms LCD_OPEN_FUNC(sel, LCD_open_cmd , 10); //通过IO配置LCD模组为工作模式,并延时10ms LCD_OPEN_FUNC(sel, LCD_bl_open , 0); //打开背光,并延时0ms return 0; }