kernel-hacking-2024-linux-s.../drivers/clk/ingenic
周琰杰 (Zhou Yanjie) 9d9cc58aff clk: Ingenic: Adjust cgu code to make it compatible with X1830.
The PLL of X1830 Soc from Ingenic has been greatly changed,
the bypass control is placed in another register, so now two
registers may needed to control the PLL. To this end, a new
"bypass_reg" was introduced. In addition, when calculating
rate, the PLL of X1830 introduced an extra 2x multiplier,
so a new "rate_multiplier" was introduced. And adjust the
code in jz47xx-cgu.c and x1000-cgu.c, make it to be
compatible with the new cgu code.

Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lkml.kernel.org/r/20200528031549.13846-3-zhouyanjie@wanyeetech.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2020-05-28 16:13:15 -07:00
..
cgu.c clk: Ingenic: Adjust cgu code to make it compatible with X1830. 2020-05-28 16:13:15 -07:00
cgu.h clk: Ingenic: Adjust cgu code to make it compatible with X1830. 2020-05-28 16:13:15 -07:00
jz4725b-cgu.c clk: Ingenic: Adjust cgu code to make it compatible with X1830. 2020-05-28 16:13:15 -07:00
jz4740-cgu.c clk: Ingenic: Adjust cgu code to make it compatible with X1830. 2020-05-28 16:13:15 -07:00
jz4770-cgu.c clk: Ingenic: Adjust cgu code to make it compatible with X1830. 2020-05-28 16:13:15 -07:00
jz4780-cgu.c clk: Ingenic: Adjust cgu code to make it compatible with X1830. 2020-05-28 16:13:15 -07:00
Kconfig clk: ingenic: Allow drivers to be built with COMPILE_TEST 2019-11-22 09:02:37 -08:00
Makefile clk: Ingenic: Add CGU driver for X1000. 2019-11-13 16:00:48 -08:00
pm.c clk: ingenic: Handle setting the Low-Power Mode bit 2019-06-25 15:43:15 -07:00
pm.h clk: ingenic: Handle setting the Low-Power Mode bit 2019-06-25 15:43:15 -07:00
tcu.c clk: ingenic/TCU: Fix round_rate returning error 2020-03-20 17:08:40 -07:00
x1000-cgu.c clk: Ingenic: Adjust cgu code to make it compatible with X1830. 2020-05-28 16:13:15 -07:00