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)
commit440d7a6f73909f4d8fa9b442a3967973fc9d8fac
treee0a2e69463d38c0bd4e216a45ee361802eeca124
parent424c85e1ffea7a37808a0b6e03066fa7a248eef0
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