/* * Configure the PLL/PRCM for necessary peripherals */ void prcm_init(void) { /* Enable the control module */ writel(PRCM_MOD_EN, &cmalwon->controlclkctrl); /* Configure PLLs */ mpu_pll_config(); l3_pll_config(); sata_pll_config(); /* Enable the required peripherals */ enable_per_clocks(); }
/* * Configure the PLL/PRCM for necessary peripherals */ void pll_init() { unlock_pll_control_mmr(); /* Enable the control module */ writel(PRCM_MOD_EN, &cmalwon->controlclkctrl); mpu_pll_config(); l3_pll_config(); /* Enable the required peripherals */ enable_per_clocks(); }
/* * Configure the PLL/PRCM for necessary peripherals */ void pll_init() { mpu_pll_config(); core_pll_config(); per_pll_config(); /* Enable the required interconnect clocks */ enable_interface_clocks(); /* Power domain wake up transition */ power_domain_wkup_transition(); /* Enable the required peripherals */ enable_per_clocks(); }