rockchip: px30: add support for setting cpll clock
authorChris Morgan <macromorgan@hotmail.com>
Thu, 5 Aug 2021 16:48:47 +0000 (11:48 -0500)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 15 Oct 2021 12:56:09 +0000 (20:56 +0800)
commitef120e0b30d05ca444753e995bcfc4e4333261f1
tree04e6941b8c5c203a35aa13bd702aedc6bbe1b7d5
parent2d34be0a9e12cf050de39ad95375213f48e685bd
rockchip: px30: add support for setting cpll clock

Starting with commit 92f1e9a4b31c ("clk: Detect failure to set
defaults") the clk driver for the PX30 for the Odroid Go Advance would
no longer probe correctly, because setting the cpll and gpu clocks are
not supported with the clk_px30 U-Boot driver. This adds support for
setting the cpll clock to the clk_px30 driver. Another patch will
update the U-Boot specific device-tree to remove the GPU clock which is
not used by U-Boot.

Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/clk/rockchip/clk_px30.c