mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@amd.com>
To: <linux-kernel@vger.kernel.org>, <monstr@monstr.eu>,
	<michal.simek@xilinx.com>, <git@xilinx.com>
Cc: Tejas Bhumkar <tejas.arvind.bhumkar@amd.com>,
	Conor Dooley <conor+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Rob Herring <robh@kernel.org>,
	"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
	<devicetree@vger.kernel.org>,
	"moderated list:ARM/ZYNQ ARCHITECTURE"
	<linux-arm-kernel@lists.infradead.org>
Subject: [PATCH 07/12] arm64: zynqmp: Disable Tri-state for SDIO
Date: Mon, 27 May 2024 11:34:13 +0200	[thread overview]
Message-ID: <540f83f7d88b80441c9fa3d771dd7b000b0710a4.1716802450.git.michal.simek@amd.com> (raw)
In-Reply-To: <cover.1716802450.git.michal.simek@amd.com>

From: Tejas Bhumkar <tejas.arvind.bhumkar@amd.com>

Since the zynqmp pinctrl driver now includes support for the
tri-state registers, ensure that the pins needing output-enable
are correctly configured for SOMs.

Currently, there is an issue with the detection of the MMC for
the SOM kv260, resulting in the following error:
ZynqMP> mmc dev 1
Card did not respond to voltage select! : -110

To address this problem, configure the SDIO pins for output-enable
to enable MMC detection.

Signed-off-by: Tejas Bhumkar <tejas.arvind.bhumkar@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
---

 arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso | 1 +
 arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso | 1 +
 2 files changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso
index d7535a77b45e..a09909a6f885 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso
@@ -321,6 +321,7 @@ conf {
 			slew-rate = <SLEW_RATE_SLOW>;
 			power-source = <IO_STANDARD_LVCMOS18>;
 			bias-disable;
+			output-enable;
 		};
 
 		conf-cd {
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso
index a7b8fffad499..b3b8875f8f7a 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso
@@ -305,6 +305,7 @@ conf {
 			slew-rate = <SLEW_RATE_SLOW>;
 			power-source = <IO_STANDARD_LVCMOS18>;
 			bias-disable;
+			output-enable;
 		};
 
 		conf-cd {
-- 
2.40.1


  parent reply	other threads:[~2024-05-27  9:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-27  9:34 [PATCH 00/12] arm64: zynqmp: Update description for Kria Michal Simek
2024-05-27  9:34 ` [PATCH 01/12] arm64: zynqmp: Align nvmem node with dt schema Michal Simek
2024-05-27  9:34 ` [PATCH 02/12] arm64: zynqmp: Use fpga-region as node name Michal Simek
2024-05-27  9:34 ` [PATCH 03/12] arm64: zynqmp: Add missing description for efuses Michal Simek
2024-05-27  9:34 ` [PATCH 04/12] arm64: zynqmp: Describe USB wakeup interrupt Michal Simek
2024-05-27  9:34 ` [PATCH 05/12] arm64: zynqmp: Describe OCM controller Michal Simek
2024-05-27  9:34 ` [PATCH 06/12] arm64: zynqmp: Remove address/size-cells from ams node Michal Simek
2024-05-27  9:34 ` Michal Simek [this message]
2024-05-27  9:34 ` [PATCH 08/12] arm64: zynqmp: Add compatible string for kv260 Michal Simek
2024-05-27  9:34 ` [PATCH 09/12] arm64: zynqmp: Add description for ina260 on kv260 Michal Simek
2024-05-27  9:34 ` [PATCH 10/12] arm64: zynqmp: Describe DisplayPort connector for Kria Michal Simek
2024-05-27  9:34 ` [PATCH 11/12] arm64: zynqmp: Add support for K26 rev2 boards Michal Simek
2024-05-27  9:34 ` [PATCH 12/12] arm64: zynqmp: Add pwm-fan node and fix ttc0 pwm-cells property Michal Simek
2024-06-17  6:36 ` [PATCH 00/12] arm64: zynqmp: Update description for Kria Michal Simek

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=540f83f7d88b80441c9fa3d771dd7b000b0710a4.1716802450.git.michal.simek@amd.com \
    --to=michal.simek@amd.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=git@xilinx.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michal.simek@xilinx.com \
    --cc=monstr@monstr.eu \
    --cc=robh@kernel.org \
    --cc=tejas.arvind.bhumkar@amd.com \
    /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

all inboxes | Powered by JetHome®