Re: [U-Boot] [PATCH V2 04/23] imx: mx8m: add clock driver

2017-12-16 Thread Fabio Estevam
On Mon, Dec 4, 2017 at 2:31 AM, Peng Fan wrote: > + switch (frac_pll) { > + case ARM_PLL_CLK: > + pll_cfg0 = readl(_pll->arm_pll_cfg0); > + pll_cfg1 = readl(_pll->arm_pll_cfg1); > + pllout_div_shift =

[U-Boot] [PATCH V2 04/23] imx: mx8m: add clock driver

2017-12-03 Thread Peng Fan
Add clock driver to support i.MX8M. There are two kind PLLs, FRAC pll and SSCG pll. ROM already configured SYS PLL1/2, we only need to configure the output. ocotp/i2c/pll decoding and configuration/usdhc/lcdif/dram pll/ enet clock are configured in the code. Signed-off-by: Peng Fan