mips: ingenic: Do not manually reference the CPU clock
authorAidan MacDonald <aidanmacdonald.0x0@gmail.com>
Thu, 28 Apr 2022 16:44:54 +0000 (17:44 +0100)
committerStephen Boyd <sboyd@kernel.org>
Wed, 18 May 2022 20:56:26 +0000 (13:56 -0700)
commit2b0f3d70ce7ca68c10b3a5beaf2da6a03c5b3c11
treeb0240ea1e0cde0817275735eef6c2319cc185880
parentca54d06fcacfdeb0b07acb4c6469a96fb02a9b44
mips: ingenic: Do not manually reference the CPU clock

It isn't necessary to manually walk the device tree and enable
the CPU clock anymore. The CPU and other necessary clocks are
now flagged as critical in the clock driver, which accomplishes
the same thing in a more declarative fashion.

Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@gmail.com>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20220428164454.17908-4-aidanmacdonald.0x0@gmail.com
Tested-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com> # On X1000 and X1830
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
arch/mips/generic/board-ingenic.c