All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@amd.com>
To: <u-boot@lists.denx.de>, <git@xilinx.com>
Cc: Jay Buddhabhatti <jay.buddhabhatti@amd.com>,
	Lukasz Majewski <lukma@denx.de>,
	Sean Anderson <seanga2@gmail.com>
Subject: [PATCH 4/9] clk: versal: Enable clock driver for Versal NET
Date: Fri, 16 Sep 2022 10:53:15 +0200	[thread overview]
Message-ID: <eb237861f9bb30ed1f289d48066579c97dc4a9f2.1663318393.git.michal.simek@amd.com> (raw)
In-Reply-To: <cover.1663318393.git.michal.simek@amd.com>

From: Jay Buddhabhatti <jay.buddhabhatti@amd.com>

Add support for Versal NET compatible string in clock driver.

Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
---

 drivers/clk/Kconfig      | 2 +-
 drivers/clk/clk_versal.c | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index fd9e1a80c6aa..09aa97ee8c0e 100644
--- a/drivers/clk/Kconfig
+++ b/drivers/clk/Kconfig
@@ -184,7 +184,7 @@ config CLK_VERSACLOCK
 
 config CLK_VERSAL
 	bool "Enable clock driver support for Versal"
-	depends on ARCH_VERSAL
+	depends on (ARCH_VERSAL || ARCH_VERSAL_NET)
 	select ZYNQMP_FIRMWARE
 	help
 	  This clock driver adds support for clock realted settings for
diff --git a/drivers/clk/clk_versal.c b/drivers/clk/clk_versal.c
index a9dd57b098fe..b2f62061cea2 100644
--- a/drivers/clk/clk_versal.c
+++ b/drivers/clk/clk_versal.c
@@ -739,6 +739,7 @@ static struct clk_ops versal_clk_ops = {
 
 static const struct udevice_id versal_clk_ids[] = {
 	{ .compatible = "xlnx,versal-clk" },
+	{ .compatible = "xlnx,versal-net-clk" },
 	{ }
 };
 
-- 
2.36.1


  parent reply	other threads:[~2022-09-16  8:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-16  8:53 [PATCH 0/9] xilinx: versal-net: Add support for new Versal NET SoC Michal Simek
2022-09-16  8:53 ` [PATCH 1/9] arm64: versal-net: Add support for Versal NET platform Michal Simek
2022-09-16  8:53 ` [PATCH 2/9] spi: cadence_qspi: " Michal Simek
2022-09-16  8:53 ` [PATCH 3/9] spi: zynqmp_gqspi: Add support for Versal NET Michal Simek
2022-09-16  8:53 ` Michal Simek [this message]
2022-09-16  8:53 ` [PATCH 5/9] firmware: zynqmp: Add Versal NET compatible string Michal Simek
2022-09-16  8:53 ` [PATCH 6/9] mailbox: zynqmp: Enable ipi mailbox driver for Versal NET Michal Simek
2022-09-16  8:53 ` [PATCH 7/9] reset: zynqmp: Enable reset " Michal Simek
2022-09-16  8:53 ` [PATCH 8/9] arm64: versal-net: Add defconfig " Michal Simek
2022-09-16  8:53 ` [PATCH 9/9] arm64: versal-net: Add support for mini configuration Michal Simek
2022-09-16  9:06 ` [PATCH 0/9] xilinx: versal-net: Add support for new Versal NET SoC Pali Rohár

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=eb237861f9bb30ed1f289d48066579c97dc4a9f2.1663318393.git.michal.simek@amd.com \
    --to=michal.simek@amd.com \
    --cc=git@xilinx.com \
    --cc=jay.buddhabhatti@amd.com \
    --cc=lukma@denx.de \
    --cc=seanga2@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.