static void t13_power_on(void)
{
    video_dac_disable();	
	power_on_lcd();	
	//power_on_backlight();	//disable when required power sequence
    printk("\n\nt13_power_on...\n\n");
}
예제 #2
0
static void t13_power_on(void)
{
    video_dac_disable();
    set_tcon_pinmux();
    power_on_lcd();
    printk("\n\nt13_power_on...\n\n");
}
static void t13_power_on(void)
{
    video_dac_disable();
	set_tcon_pinmux();
	power_on_lcd();
	power_on_backlight();
      
}
예제 #4
0
static void lcd_power_on(void)
{
    video_dac_disable();
    set_tcon_pinmux();
    power_on_lcd();
    //power_on_backlight();	//changed by Elvis
      
}
예제 #5
0
static void lcd_power_on(void)
{
    video_dac_disable();
    set_tcon_pinmux();
    power_on_lcd();
	#ifdef CONFIG_HAVE_SYS_TEST
    power_on_backlight();	//changed by Elvis
    #endif  
}
예제 #6
0
static void lcd_power_on(void)
{
	debug("%s\n", __FUNCTION__);
	video_dac_disable();
   // set_tcon_pinmux();
    power_on_lcd();
    #ifdef CONFIG_HAVE_SYS_TEST
    power_on_backlight();	//changed by Elvis
    #endif        
}
예제 #7
0
static int tv_suspend(int pm_event)
{
	/* in freeze process do not turn off the display devices */
	if (pm_event == PM_EVENT_FREEZE)
		return 0;
	video_dac_disable();
#if MESON_CPU_TYPE >= MESON_CPU_TYPE_MESON8
	cvbs_cntl_output(0);
#endif

	return 0;
}
예제 #8
0
static int tv_module_disable(vmode_t cur_vmod)
{
#if MESON_CPU_TYPE >= MESON_CPU_TYPE_MESON8
	if (info->vinfo) {
		release_vpu_clk_vmod(info->vinfo->mode);
		switch_vpu_mem_pd_vmod(info->vinfo->mode, VPU_MEM_POWER_DOWN);
	}
#endif

	video_dac_disable();
	return 0;
}
static int tv_suspend(void)
{
	video_dac_disable();
	return 0;
}
예제 #10
0
파일: tvconf.c 프로젝트: 223xh/TestCode
static int tv_module_disable(vmode_t cur_vmod)
{
	video_dac_disable();
	return 0;
}
예제 #11
0
static void tv_power_on(void)
{
//	debug("%s\n", __FUNCTION__);
	video_dac_disable();    
    //power_on_lcd();      
}
예제 #12
0
파일: pm.c 프로젝트: Doxlon/buildroot-uboot
int enter_boot_power_down()
{
    int key;
    int ac;
    
    power_gate_init();
    lcd_disable();
    video_dac_disable();
    camera_power_off() ;
    vcc2_power_off();
    //turn_off_audio_DAC();
    if (!early_suspend_flag) {
        printf("\n boot_suspend \n");
//        if (pdata->set_exgpio_early_suspend) {
//            pdata->set_exgpio_early_suspend(OFF);
//        }
        early_power_gate_switch(OFF);
        early_clk_switch(OFF);
        early_pll_switch(OFF);
        early_suspend_flag = 1;
    }
    
    printf("enter boot_pm_suspend!\n");
    analog_switch(OFF);
    usb_switch(OFF, 0);
    usb_switch(OFF, 1);
//    if (pdata->set_vccx2) {
//        pdata->set_vccx2(OFF);
//    }
    power_gate_switch(OFF);
    clk_switch(OFF);
    pll_switch(OFF);
    clrbits_le32(P_HHI_SYS_CPU_CLK_CNTL,1<<7); //change A9-->24M 

    
    printf("boot sleep ...\n");
//	WRITE_MPEG_REG_BITS(HHI_MALI_CLK_CNTL, 0, 9, 3); // mali use xtal
//    CLEAR_CBUS_REG_MASK(HHI_SYS_CPU_CLK_CNTL, 1<<7);  // a9 use xtal
//    SET_CBUS_REG_MASK(HHI_SYS_PLL_CNTL, (1 << 15));   // turn off sys pll
//    
//    meson_power_suspend();
    
    key = powerkey_scan();
    ac = axp_charger_is_ac_online();
    while((!key)&&ac) 
    {
        key = powerkey_scan();
        ac = axp_charger_is_ac_online();
    }
    setbits_le32(P_HHI_SYS_CPU_CLK_CNTL,1<<7); //change A9-->normal 

    
    printf("boot... wake up\n");
//    if (pdata->set_vccx2) {
//        pdata->set_vccx2(ON);
//    }
    SET_CBUS_REG_MASK(HHI_SYS_CPU_CLK_CNTL, (1 << 7));  // a9 use pll
    WRITE_MPEG_REG_BITS(HHI_MALI_CLK_CNTL, 3, 9, 3); // mali use pll

    pll_switch(ON);
    clk_switch(ON);
    power_gate_switch(ON);
    usb_switch(ON, 0);
    usb_switch(ON, 1);
    analog_switch(ON);
    if (early_suspend_flag) {
        early_pll_switch(ON);
        early_clk_switch(ON);
        early_power_gate_switch(ON);
        early_suspend_flag = 0;
        printf("boot sys_resume\n");
    }    
    
    printf("mlvds init\n");
    lcd_enable();  
    printf("mlvds init finish\n");  
    
    return ac;
}
예제 #13
0
static int tv_suspend(int pm_event)
{
	video_dac_disable();
	return 0;
}