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: Jagan Teki <jagan@amarulasolutions.com>
Subject: [PATCH 3/9] spi: zynqmp_gqspi: Add support for Versal NET
Date: Fri, 16 Sep 2022 10:53:14 +0200	[thread overview]
Message-ID: <9b7610819b6c52e799b58e4af005525f7ab51727.1663318393.git.michal.simek@amd.com> (raw)
In-Reply-To: <cover.1663318393.git.michal.simek@amd.com>

Add support for Versal NET platform.

Signed-off-by: Michal Simek <michal.simek@amd.com>
---

 drivers/spi/zynqmp_gqspi.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/spi/zynqmp_gqspi.c b/drivers/spi/zynqmp_gqspi.c
index 4e718c545c64..d3cc8554b8fb 100644
--- a/drivers/spi/zynqmp_gqspi.c
+++ b/drivers/spi/zynqmp_gqspi.c
@@ -308,7 +308,8 @@ void zynqmp_qspi_set_tapdelay(struct udevice *bus, u32 baudrateval)
 	debug("%s, req_hz:%d, clk_rate:%d, baudrateval:%d\n",
 	      __func__, reqhz, clk_rate, baudrateval);
 
-	if (!IS_ENABLED(CONFIG_ARCH_VERSAL)) {
+	if (!(IS_ENABLED(CONFIG_ARCH_VERSAL) ||
+	      IS_ENABLED(CONFIG_ARCH_VERSAL_NET))) {
 		if (reqhz <= GQSPI_FREQ_40MHZ) {
 			tapdlybypass = TAP_DLY_BYPASS_LQSPI_RX_VALUE <<
 					TAP_DLY_BYPASS_LQSPI_RX_SHIFT;
-- 
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 ` Michal Simek [this message]
2022-09-16  8:53 ` [PATCH 4/9] clk: versal: Enable clock driver for Versal NET Michal Simek
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=9b7610819b6c52e799b58e4af005525f7ab51727.1663318393.git.michal.simek@amd.com \
    --to=michal.simek@amd.com \
    --cc=git@xilinx.com \
    --cc=jagan@amarulasolutions.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.