static vidinfo_t *pvid = NULL;
extern unsigned long get_pll_clk(int pllreg);
-extern void s5pc1xx_clock_init(void);
void s5pc_fimd_lcd_init_mem(u_long screen_base, u_long fb_size, u_long palette_size)
{
void lcd_panel_power_on(void)
{
- udelay(25000);
-
- /* set gpio data for MLCD_RST to HIGH */
- gpio_set_value(&gpio->gpio_mp0_5, 5, 1);
/* set gpio data for MLCD_ON to HIGH */
gpio_set_value(&gpio->gpio_j1, 3, 1);
- /* set gpio data for MLCD_RST to LOW */
- gpio_set_value(&gpio->gpio_mp0_5, 5, 0);
- udelay(20);
/* set gpio data for MLCD_RST to HIGH */
gpio_set_value(&gpio->gpio_mp0_5, 5, 1);
- udelay(120000);
-
s6e63m0_panel_send_sequence(SEQ_PANEL_CONDITION_SET);
s6e63m0_panel_send_sequence(SEQ_DISPLAY_CONDITION_SET);
s6e63m0_panel_send_sequence(SEQ_GAMMA_SETTING);
/* set gpio pin for MLCD_RST to HIGH */
gpio_set_value(&gpio->gpio_mp0_5, 5, 1);
-
- udelay(10000);
}
void lcd_panel_enable(void)