]> git.baikalelectronics.ru Git - kernel.git/commit
clk: X1000: Add FIXDIV for SSI clock of X1000.
author周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Thu, 28 May 2020 03:15:49 +0000 (11:15 +0800)
committerStephen Boyd <sboyd@kernel.org>
Thu, 28 May 2020 23:13:19 +0000 (16:13 -0700)
commit2c5f38e5306f2abced57001492e07e6bfe9ea9ea
treee0a2e69463d38c0bd4e216a45ee361802eeca124
parent7f3eb09a209a3d9af8d1cd4e6693b5081e94aade
clk: X1000: Add FIXDIV for SSI clock of X1000.

1.The SSI clock of X1000 not like JZ4770 and JZ4780, they are not
  directly derived from the output of SSIPLL, but from the clock
  obtained by dividing the frequency by 2. "X1000_CLK_SSIPLL_DIV2"
  is added for this purpose, and ensure that it initialized before
  "X1000_CLK_SSIMUX" when initializing the clocks.
2.Clocks of LCD, OTG, EMC, EFUSE, OST, TCU, and gates of CPU, PCLK
  are also added.
3.Use "CLK_OF_DECLARE_DRIVER" like the other CGU drivers.

Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lkml.kernel.org/r/20200528031549.13846-8-zhouyanjie@wanyeetech.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/ingenic/x1000-cgu.c