linux-stable/drivers/soc/xilinx
Michael Tretter 354dcf7b02 soc: xilinx: vcu: add helpers for configuring PLL
The xvcu_set_vcu_pll_info function sets the rate of the PLL and enables
it, which makes it difficult to cleanly convert the driver to the common
clock framework.

Split the function and add separate functions for setting the rate,
enabling the clock and disabling the clock.

Also move the enable of the reference clock from probe to the helper
that enables the PLL.

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-6-m.tretter@pengutronix.de
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2021-02-08 18:31:24 -08:00
..
Kconfig soc: xilinx: vcu: use vcu-settings syscon registers 2020-12-09 19:36:33 +01:00
Makefile drivers: soc: xilinx: Add ZynqMP power domain driver 2019-02-12 13:38:16 +01:00
xlnx_vcu.c soc: xilinx: vcu: add helpers for configuring PLL 2021-02-08 18:31:24 -08:00
zynqmp_pm_domains.c firmware: xilinx: Remove eemi ops for set_requirement 2020-04-28 15:45:09 +02:00
zynqmp_power.c soc: xilinx: Fix error code in zynqmp_pm_probe() 2020-06-18 10:07:17 +02:00