Skip to contentSkip to conversation

arm64: zynqmp: Disable Tri-state for SDIO

PATCH Applied Tejas Bhumkar 2 participants 3 messages Mar 21, 2024 – Mar 25, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: zynqmp: Disable Tri-state for SDIO

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.

---
 arch/arm/dts/zynqmp-sck-kv-g-revA.dtso | 1 +
 arch/arm/dts/zynqmp-sck-kv-g-revB.dtso | 1 +
 2 files changed, 2 insertions(+)
arch/arm/dts/zynqmp-sck-kv-g-revA.dtso +1 -0
index 6d0d5c487d..561b546e37 100644
@@ -342,6 +342,7 @@
 			slew-rate = <SLEW_RATE_SLOW>;
 			power-source = <IO_STANDARD_LVCMOS18>;
 			bias-disable;
+			output-enable;
 		};
 
 		conf-cd {
arch/arm/dts/zynqmp-sck-kv-g-revB.dtso +1 -0
index a4b4465d20..13876fb47d 100644
@@ -329,6 +329,7 @@
 			slew-rate = <SLEW_RATE_SLOW>;
 			power-source = <IO_STANDARD_LVCMOS18>;
 			bias-disable;
+			output-enable;
 		};
 
 		conf-cd {
Signature · 1 line
2.37.6
#1 lore raw

PATCH 1/1 arm64: zynqmp: Disable Tri-state for SDIO

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.

---
 arch/arm/dts/zynqmp-sck-kv-g-revA.dtso | 1 +
 arch/arm/dts/zynqmp-sck-kv-g-revB.dtso | 1 +
 2 files changed, 2 insertions(+)
arch/arm/dts/zynqmp-sck-kv-g-revA.dtso +1 -0
index 6d0d5c487d..561b546e37 100644
@@ -342,6 +342,7 @@
 			slew-rate = <SLEW_RATE_SLOW>;
 			power-source = <IO_STANDARD_LVCMOS18>;
 			bias-disable;
+			output-enable;
 		};
 
 		conf-cd {
arch/arm/dts/zynqmp-sck-kv-g-revB.dtso +1 -0
index a4b4465d20..13876fb47d 100644
@@ -329,6 +329,7 @@
 			slew-rate = <SLEW_RATE_SLOW>;
 			power-source = <IO_STANDARD_LVCMOS18>;
 			bias-disable;
+			output-enable;
 		};
 
 		conf-cd {
Signature · 1 line
2.37.6
maintainer Applied
#2 lore raw
In reply to Tejas Bhumkar
Quoted 36 lines · Tejas Bhumkar

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.

---
  arch/arm/dts/zynqmp-sck-kv-g-revA.dtso | 1 +
  arch/arm/dts/zynqmp-sck-kv-g-revB.dtso | 1 +
  2 files changed, 2 insertions(+)
arch/arm/dts/zynqmp-sck-kv-g-revA.dtso +1 -0
index 6d0d5c487d..561b546e37 100644
@@ -342,6 +342,7 @@
  			slew-rate = <SLEW_RATE_SLOW>;
  			power-source = <IO_STANDARD_LVCMOS18>;
  			bias-disable;
+			output-enable;
  		};
 
  		conf-cd {
arch/arm/dts/zynqmp-sck-kv-g-revB.dtso +0 -0
index a4b4465d20..13876fb47d 100644

arch/arm/dts/zynqmp-sck-kv-g-revB.dtso line 335

Quoted 7 lines
arch/arm/dts/zynqmp-sck-kv-g-revB.dtso +1 -0
@@ -329,6 +329,7 @@
  			slew-rate = <SLEW_RATE_SLOW>;
  			power-source = <IO_STANDARD_LVCMOS18>;
  			bias-disable;
+			output-enable;
  		};
 
  		conf-cd {

Applied.
M