clk: rockchip: drop CLK_SET_RATE_PARENT from dclk_vop* on rk3568
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 26 Jan 2022 14:55:46 +0000 (15:55 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 8 Feb 2022 11:56:33 +0000 (12:56 +0100)
commitff3187eabb5ce478d15b6ed62eb286756adefac3
tree5c83a7123c9a65df876c49c44ae69282d6adf2b8
parent842f4cb7263953020f4e2f2f0005fc3e6fc56144
clk: rockchip: drop CLK_SET_RATE_PARENT from dclk_vop* on rk3568

The pixel clocks dclk_vop[012] can be clocked from hpll, vpll, gpll or
cpll. gpll and cpll also drive many other clocks, so changing the
dclk_vop[012] clocks could change these other clocks as well. Drop
CLK_SET_RATE_PARENT to fix that. With this change the VOP2 driver can
only adjust the pixel clocks with the divider between the PLL and the
dclk_vop[012] which means the user may have to adjust the PLL clock to a
suitable rate using the assigned-clock-rate device tree property.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Link: https://lore.kernel.org/r/20220126145549.617165-25-s.hauer@pengutronix.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-rk3568.c