/* caller: clk mgr */
static void mt_fh_hal_default_conf(void)
{
	FH_MSG_DEBUG("%s", __func__);

	freqhopping_config(FH_ARM_PLLID, g_default_freq[FH_ARM_PLLID], true);
	freqhopping_config(FH_MAIN_PLLID, g_default_freq[FH_MAIN_PLLID], true);
	freqhopping_config(FH_MEM_PLLID, g_default_freq[FH_MEM_PLLID], true);
	/* freqhopping_config(FH_MM_PLLID, g_default_freq[FH_MM_PLLID], true); */
	freqhopping_config(FH_VENC_PLLID, g_default_freq[FH_VENC_PLLID], true);
	freqhopping_config(FH_MSDC_PLLID, g_default_freq[FH_MSDC_PLLID], true);
	/* freqhopping_config(FH_TVD_PLLID, g_default_freq[FH_TVD_PLLID], true); */

}
Esempio n. 2
0
//caller: clk mgr
static void mt_fh_hal_default_conf(void)
{
    FH_MSG_DEBUG("%s",__func__);

    #if 1
    //freqhopping_config(FH_ARMCA7_PLLID, g_default_freq[FH_ARMCA7_PLLID], false);
    //freqhopping_config(FH_ARMCA15_PLLID, g_default_freq[FH_ARMCA15_PLLID], false);
    freqhopping_config(FH_MAIN_PLLID, g_default_freq[FH_MAIN_PLLID], true);
    freqhopping_config(FH_M_PLLID, g_default_freq[FH_M_PLLID], true);
    freqhopping_config(FH_MSDC_PLLID, g_default_freq[FH_MSDC_PLLID], true);
	//Turn off MMPLL SSC after CHIP_SW_VER_01
	if (CHIP_SW_VER_01 <= mt_get_chip_sw_ver())
    freqhopping_config(FH_MM_PLLID, g_default_freq[FH_MM_PLLID], true);
    //freqhopping_config(FH_VENC_PLLID, g_default_freq[FH_VENC_PLLID], true);
    //freqhopping_config(FH_TVD_PLLID, g_default_freq[FH_TVD_PLLID], true);
    //freqhopping_config(FH_VCODEC_PLLID, g_default_freq[FH_VCODEC_PLLID], true);
    #endif
}