]> git.ipfire.org Git - thirdparty/u-boot.git/commit
clk: zynqmp: Add support for dpll clock source
authorPadmarao Begari <padmarao.begari@amd.com>
Wed, 18 Jun 2025 09:43:29 +0000 (15:13 +0530)
committerMichal Simek <michal.simek@amd.com>
Tue, 8 Jul 2025 12:58:43 +0000 (14:58 +0200)
commita5f2aa4b3898d3fb7ba37c17b446aa62c7c83cc4
tree70de936630e07cfd591abeb814d8a913a9bdbdb7
parent4216a8634365b10dd1774ba4cd7367cc5ab831a4
clk: zynqmp: Add support for dpll clock source

The clock driver fails to correctly calculate the PLL clock
rate for peripherals when using the DPLL as the clock source.
The DPLL operates within the full power domain, while peripheral
clocks reside in the low power domain. To ensure accurate PLL
clock rate computation when the peripheral clock source is set
to DPLL, the DPLL-to-LPD cross divisor is used.

Signed-off-by: Padmarao Begari <padmarao.begari@amd.com>
Link: https://lore.kernel.org/r/20250618094329.296731-1-padmarao.begari@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/clk/clk_zynqmp.c