void pll_init(void) { dpll_init(); upll_init(); vpll_init(); /* * Wait 500 usec until dpll get stable * We wait 10 usec in upll_init() and vpll_init() * so 20 usec can be saved here. */ udelay(480); }
int ph1_sld8_pll_init(const struct uniphier_board_data *bd) { dpll_init(); upll_init(); vpll_init(); /* * Wait 500 usec until dpll get stable * We wait 10 usec in upll_init() and vpll_init() * so 20 usec can be saved here. */ udelay(480); return 0; }
int ph1_pro4_pll_init(const struct uniphier_board_data *bd) { int ret; ret = dpll_init(bd->dram_freq); if (ret) return ret; vpll_init(); /* * Wait 500 usec until dpll get stable * We wait 1 usec in vpll_init() so 1 usec can be saved here. */ udelay(499); return 0; }