soc: xilinx: vcu: make the PLL configurable
authorMichael Tretter <m.tretter@pengutronix.de>
Thu, 21 Jan 2021 07:16:54 +0000 (08:16 +0100)
committerStephen Boyd <sboyd@kernel.org>
Tue, 9 Feb 2021 02:31:25 +0000 (18:31 -0800)
commit58ee6baf393ef365b33e4d98d966b21e5247165a
tree4ce5a55c7482ec48a57a54ff53972c29bdbe3e57
parent4472e1849db7f719bbf625890096e0269b5849fe
soc: xilinx: vcu: make the PLL configurable

Do not configure the PLL when probing the driver, but register the clock
in the clock framework and do the configuration based on the respective
callbacks.

This is necessary to allow the consumers, i.e., encoder and decoder
drivers, of the xlnx_vcu clock provider to set the clock rate and
actually enable the clocks without relying on some pre-configuration.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/20210121071659.1226489-11-m.tretter@pengutronix.de
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/soc/xilinx/xlnx_vcu.c