[PATCH] clk: vc5: Enable PFD frequency doubler for VersaClock 6E

From: Maarten Zanders

Date: Tue Nov 17 2026 - 11:18:22 EST


The VersaClock 6E family (5P49V6965, 5P49V6975) supports the
reference frequency doubler, but VC5_HAS_PFD_FREQ_DBL is not set for
these devices. As a result, the doubler setting is ignored and all
PLL and output rates are reported at half their actual value when it
is enabled.

Set VC5_HAS_PFD_FREQ_DBL for the 5P49V6965 and 5P49V6975. Tested on
5P49V6975 only.

Fixes: 2bda748e6ad8 ("clk: vc5: Add support for IDT VersaClock 5P49V6965")
Fixes: d8473831066b ("clk: vc5: Add support for IDT/Renesas VersaClock 5P49V6975")
Signed-off-by: Maarten Zanders <maarten@xxxxxxxxxx>
---
drivers/clk/clk-versaclock5.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/clk/clk-versaclock5.c b/drivers/clk/clk-versaclock5.c
index 1cf8526975eb..7a7691841b7b 100644
--- a/drivers/clk/clk-versaclock5.c
+++ b/drivers/clk/clk-versaclock5.c
@@ -1299,7 +1299,7 @@ static const struct vc5_chip_info idt_5p49v6965_info = {
.model = IDT_VC6_5P49V6965,
.clk_fod_cnt = 4,
.clk_out_cnt = 5,
- .flags = VC5_HAS_BYPASS_SYNC_BIT,
+ .flags = VC5_HAS_PFD_FREQ_DBL | VC5_HAS_BYPASS_SYNC_BIT,
.vco_max = 3000000000UL,
};

@@ -1307,7 +1307,7 @@ static const struct vc5_chip_info idt_5p49v6975_info = {
.model = IDT_VC6_5P49V6975,
.clk_fod_cnt = 4,
.clk_out_cnt = 5,
- .flags = VC5_HAS_BYPASS_SYNC_BIT | VC5_HAS_INTERNAL_XTAL,
+ .flags = VC5_HAS_PFD_FREQ_DBL | VC5_HAS_BYPASS_SYNC_BIT | VC5_HAS_INTERNAL_XTAL,
.vco_max = 3000000000UL,
};


---
base-commit: 77987cd64bd6f58d3d35ccbac548fa064b892950
change-id: 20261117-vc5-6975-dbl-30e4b713ef09

Best regards,
--
Maarten Zanders <maarten@xxxxxxxxxx>