Ejemplo n.º 1
0
static int panel_n1_spi_suspend(struct spi_device *spi, pm_message_t message)
{
	printk(KERN_INFO "\n ************ %s : %d \n", __func__, __LINE__);
	n1_panel_disable();
    n1_panel_config_pins();
    return 0;
}
Ejemplo n.º 2
0
void lcd_power_off(void)
{
	printk(KERN_INFO "-0- %s called -0-\n", __func__);

	lcdonoff_test = 0;

	n1_panel_disable();

	//gpio_set_value(GPIO_LCD_LDO_LED_EN, 0);

	msleep(100);
}
Ejemplo n.º 3
0
static void n1_panel_early_suspend(struct early_suspend *h)
{
	printk(KERN_INFO "\n ************ %s : %d\n", __func__, __LINE__);
    n1_panel_disable();
	n1_panel_config_pins(); //sjlee_0414 (sleep current problem)

	if (num_registered_fb > 0)
		fb_blank(registered_fb[0], FB_BLANK_POWERDOWN);
#ifdef CONFIG_CPU_FREQ
	cpufreq_save_default_governor();
	cpufreq_set_conservative_governor(CPUFREQ_DISP_MODE);
	cpufreq_set_conservative_governor_param(
		SET_CONSERVATIVE_GOVERNOR_UP_THRESHOLD,
		SET_CONSERVATIVE_GOVERNOR_DOWN_THRESHOLD);
#endif
    cmc623_suspend(NULL);
}