MIPS: loongson32: Update the clock initialization
authorKeguang Zhang <keguang.zhang@gmail.com>
Tue, 21 Mar 2023 11:18:17 +0000 (19:18 +0800)
committerStephen Boyd <sboyd@kernel.org>
Tue, 21 Mar 2023 23:34:23 +0000 (16:34 -0700)
commitb927c76c805432cc66e1cee67e1209514868c873
tree02b4a4d1fc97d3c9f88eb04e2b32c6fd8d0cc056
parentfbdb1873656be002df069b7a235c202aefcfdf2e
MIPS: loongson32: Update the clock initialization

The Loongson-1 clock driver is under re-implementation
to add DT support. As a result, ls1x_clk_init() will be dropped soon.
Therefore, call of_clk_init() for clock initialization instead.

Signed-off-by: Keguang Zhang <keguang.zhang@gmail.com>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Link: https://lore.kernel.org/r/20230321111817.71756-5-keguang.zhang@gmail.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
arch/mips/include/asm/mach-loongson32/platform.h
arch/mips/loongson32/common/time.c