//WORK QUEING FUNCTION static void ams397g201_esd(void) { printk("ams397g201_esd \n"); u32 err,intsrc; err = readl(ddi_pd->dsim_base + S5P_DSIM_INTSRC); printk("ESD_DSIM_INTSRC -> %x \n", intsrc); intsrc = readl(ddi_pd->dsim_base + S5P_DSIM_SWRST); intsrc = intsrc | 1 << 16; writel(intsrc, ddi_pd->dsim_base + S5P_DSIM_SWRST); tl2796_reset_lcd(); mdelay(10); lcd_panel_init(); update_gamma(current_gamma_value); lcd_pannel_on(); ams397g201_set_tear_on(); enable_irq( LCD_ESD_INT); }
void lcd_panel_init(void) { lcd_pannel_on(); //mdelay(500); ips_bl_on(1); }
void lcd_panel_init(void) { printk("%s:: \n", __func__); ETC_CONDITION_SET_1(); msleep(120); s6e8aa0_write_0(0x11); msleep(120); PANEL_CONDITION_SET(); msleep(120); DISPLAY_CONDITION_SET(); msleep(120); GAMMA_CONDITION_SET(); msleep(120); ETC_CONDITION_SET_2(); msleep(120); msleep(120); lcd_pannel_on(); }
void lcd_panel_init(void) { ETC_CONDITION_SET_1(); //60프레임 적용 ams397g201_write_1(0xB0, 0x01); //sehun_test ams397g201_write_1(0xF2, 0x07); // GAMMA_CONDITION_SET(); PANEL_CONDITION_SET(); ETC_CONDITION_SET_2(); lcd_pannel_on(); }
//WORK QUEING FUNCTION static void ams397g201_esd(void) { printk("ams397g201_esd \n"); u32 err,intsrc; /* DSIM reset */ enable_clk_dsim(0); mdelay(100); lcd_on_off = 0; panel_initialized = 0; enable_clk_dsim(1); /*reset lcd*/ tl2796_reset_lcd(); mdelay(50); /* initialise Dsim */ s5p_dsim_Initialise(); lcd_panel_init(); update_gamma(current_gamma_value); lcd_pannel_on(); ams397g201_set_tear_on(); s3cfb_trigger(); lcd_on_off = 1; panel_initialized = 1; mdelay(200); enable_irq( LCD_ESD_INT); work_progress=0; }
void lcd_panel_init(void) { lcd_pannel_on(); }
int lcd_panel_init(void) { return lcd_pannel_on(); }