static s32 gm7121_tv_open(void) { gm7121_tv_power_on(1); tv_pin_config(1); msleep(400); if(tv_source_ops.tcon_enable) tv_source_ops.tcon_enable(gm7121_device); msleep(100); gm7121_init(g_tv_mode); return 0; }
static s32 ep952_open(void) { printk("%s:%d\n", __func__, __LINE__); ep952_thread_disable(); ep952_hdmi_power_on(1); hdmi_pin_config(1); msleep(100); if(hdmi_source_ops.tcon_enable) hdmi_source_ops.tcon_enable(ep952_device); msleep(100); //EP_HDMI_Init(); EP_HDMI_Set_Video_Timing(g_hdmi_vic); // 720p50hz EP_HDMI_Set_Audio_Fmt(AUD_I2S, AUD_SF_48000Hz); // IIS input , 48KHz g_ep952_enabled = 1; ep952_thread_enable(); return 0; }