[PATCH] clk: meson: meson8b: Don't rely on u-boot to init all GP_PLL registers

patchwork-bot+linux-amlogic at kernel.org patchwork-bot+linux-amlogic at kernel.org
Tue Jul 7 14:51:11 EDT 2020


Hello:

This patch was applied to khilman/linux-amlogic.git (refs/heads/for-next).

On Fri,  1 May 2020 23:57:17 +0200 you wrote:
> Not all u-boot versions initialize the HHI_GP_PLL_CNTL[2-5] registers.
> In that case all HHI_GPLL_PLL_CNTL[1-5] registers are 0x0 and when
> booting Linux the PLL fails to lock.
> The initialization sequence from u-boot is:
> - put the PLL into reset
> - write 0x59C88000 to HHI_GP_PLL_CNTL2
> - write 0xCA463823 to HHI_GP_PLL_CNTL3
> - write 0x0286A027 to HHI_GP_PLL_CNTL4
> - write 0x00003000 to HHI_GP_PLL_CNTL5
> - set M, N, OD and the enable bit
> - take the PLL out of reset
> - check if it has locked
> - disable the PLL
> 
> [...]


Here is a summary with links:
  - clk: meson: meson8b: Don't rely on u-boot to init all GP_PLL registers
    https://git.kernel.org/khilman/linux-amlogic/c/a29ae8600d50ece1856b062a39ed296b8b952259

You are awesome, thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot



More information about the linux-amlogic mailing list