From: Sean Anderson <sean.anderson@linux.dev>
To: Tom Rini <trini@konsulko.com>, Adam Ford <aford173@gmail.com>,
u-boot@lists.denx.de
Cc: Lukasz Majewski <lukma@denx.de>,
Andrew Goodbody <andrew.goodbody@linaro.org>,
Sean Anderson <sean.anderson@linux.dev>
Subject: [PATCH] clk: versaclock: Add support for 5P49V6975
Date: Tue, 6 Jan 2026 15:00:32 -0500 [thread overview]
Message-ID: <20260106200033.661309-1-sean.anderson@linux.dev> (raw)
Add support for the 5P49V6975 which is an updated revision of the the
5P49V5935.
Signed-off-by: Sean Anderson <sean.anderson@linux.dev>
---
drivers/clk/clk_versaclock.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/drivers/clk/clk_versaclock.c b/drivers/clk/clk_versaclock.c
index 19a787eaf0c..f210ffa4931 100644
--- a/drivers/clk/clk_versaclock.c
+++ b/drivers/clk/clk_versaclock.c
@@ -141,6 +141,7 @@ enum vc5_model {
IDT_VC5_5P49V5935,
IDT_VC6_5P49V6901,
IDT_VC6_5P49V6965,
+ IDT_VC6_5P49V6975,
};
/* Structure to describe features of a particular VC5 model */
@@ -226,6 +227,13 @@ static const struct vc5_chip_info idt_5p49v6965_info = {
.flags = 0,
};
+static const struct vc5_chip_info idt_5p49v6975_info = {
+ .model = IDT_VC6_5P49V6975,
+ .clk_fod_cnt = 4,
+ .clk_out_cnt = 5,
+ .flags = VC5_HAS_INTERNAL_XTAL,
+};
+
static int vc5_update_bits(struct udevice *dev, unsigned int reg, unsigned int mask,
unsigned int src)
{
@@ -667,6 +675,7 @@ static int vc5_map_index_to_output(const enum vc5_model model,
case IDT_VC5_5P49V5935:
case IDT_VC6_5P49V6901:
case IDT_VC6_5P49V6965:
+ case IDT_VC6_5P49V6975:
default:
return n;
}
@@ -1023,6 +1032,7 @@ static const struct udevice_id versaclock_ids[] = {
{ .compatible = "idt,5p49v5935", .data = (ulong)&idt_5p49v5935_info },
{ .compatible = "idt,5p49v6901", .data = (ulong)&idt_5p49v6901_info },
{ .compatible = "idt,5p49v6965", .data = (ulong)&idt_5p49v6965_info },
+ { .compatible = "idt,5p49v6975", .data = (ulong)&idt_5p49v6975_info },
{},
};
--
2.35.1.1320.gc452695387.dirty
base-commit: 6cdd7597a2fbfc1572c1b0af23d3daf1cefa2de7
branch: versaclk_5p49v6975
reply other threads:[~2026-01-06 20:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260106200033.661309-1-sean.anderson@linux.dev \
--to=sean.anderson@linux.dev \
--cc=aford173@gmail.com \
--cc=andrew.goodbody@linaro.org \
--cc=lukma@denx.de \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox