Exemplo n.º 1
0
static int mipi_dsi_panel_power(int on)
{
	int ret;
	ret = mipi_dsi_panel_power(on);

	return ret;
	return mipi_dsi_cdp_panel_power(on);
}
Exemplo n.º 2
0
int mdp4_dsi_video_splash_done(void)
{
	struct vsycn_ctrl *vctrl;
	int cndx = 0;

	vctrl = &vsync_ctrl_db[cndx];

	mdp4_dsi_video_tg_off(vctrl);
	mipi_dsi_panel_power(0);
	mipi_dsi_controller_cfg(0);

	return 0;
}
Exemplo n.º 3
0
/* OPPO Neal modify for AT test restart*/
static ssize_t attr_orise_lcdon(struct device *dev,
                                struct device_attribute *attr, char *buf)
{
    if(!flag_lcd_node_onoff)
        return 0;

    flag_lcd_node_onoff = false;
    mipi_dsi_panel_power(1);
    //prevent_suspend();
    //mipi_dsi_on(g_mdp_dev);
    //allow_suspend();

    return 0;
}
Exemplo n.º 4
0
static ssize_t attr_orise_lcdoff(struct device *dev,
                                 struct device_attribute *attr, char *buf)
{

    if(flag_lcd_node_onoff)
        return 0;

    flag_lcd_node_onoff = true;

    //msm_fb_blank_sub(FB_BLANK_UNBLANK,mfd->fbi,0);
    mipi_dsi_panel_power(0);
    /*
      prevent_suspend();
      mipi_dsi_off(g_mdp_dev);
      allow_suspend();
      */
    return 0;
}
Exemplo n.º 5
0
void mipi_dsi_panel_power_off_shutdown(void)
{
//	printk("[LCD][DEBUG] mipi_dsi_panel_power_off_shutdown started\n");
	mipi_dsi_panel_power(0);
//	printk("[LCD][DEBUG] mipi_dsi_panel_power_off_shutdown ended\n");
}
Exemplo n.º 6
0
static void ville_lcd_shutdown(struct platform_device *pdev)
{
	mipi_dsi_panel_power(0);
}
void mipi_dsi_panel_power_off_shutdown(void)
{
    mipi_dsi_panel_power(0);
}