summaryrefslogtreecommitdiff
path: root/drivers/clk
diff options
context:
space:
mode:
authorNuno Sá <nuno.sa@analog.com>2025-05-19 16:41:06 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-08-15 12:05:02 +0200
commit9c8bcaa75227d5b699118f360b5db5ce95aa854d (patch)
tree6329b415050c409b04bc9397a9132d4eb9894115 /drivers/clk
parentb5ba40b70ab27447c9b5b9f0bdee049b62fa8c90 (diff)
downloadlinux-9c8bcaa75227d5b699118f360b5db5ce95aa854d.tar.gz
linux-9c8bcaa75227d5b699118f360b5db5ce95aa854d.tar.bz2
linux-9c8bcaa75227d5b699118f360b5db5ce95aa854d.zip
clk: clk-axi-clkgen: fix fpfd_max frequency for zynq
[ Upstream commit ce8a9096699500e2c5bca09dde27b16edda5f636 ] The fpfd_max frequency should be set to 450 MHz instead of 300 MHz. Well, it actually depends on the platform speed grade but we are being conservative for ultrascale so let's be consistent. In a following change we will set these limits at runtime. Fixes: 0e646c52cf0e ("clk: Add axi-clkgen driver") Signed-off-by: Nuno Sá <nuno.sa@analog.com> Link: https://lore.kernel.org/r/20250519-dev-axi-clkgen-limits-v6-1-bc4b3b61d1d4@analog.com Reviewed-by: David Lechner <dlechner@baylibre.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/clk-axi-clkgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-axi-clkgen.c b/drivers/clk/clk-axi-clkgen.c
index bb5cd9d38993..df9a4c778351 100644
--- a/drivers/clk/clk-axi-clkgen.c
+++ b/drivers/clk/clk-axi-clkgen.c
@@ -118,7 +118,7 @@ static const struct axi_clkgen_limits axi_clkgen_zynqmp_default_limits = {
static const struct axi_clkgen_limits axi_clkgen_zynq_default_limits = {
.fpfd_min = 10000,
- .fpfd_max = 300000,
+ .fpfd_max = 450000,
.fvco_min = 600000,
.fvco_max = 1200000,
};