]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: Disable Tri-state for SDIO
authorTejas Bhumkar <tejas.arvind.bhumkar@amd.com>
Thu, 21 Mar 2024 08:52:20 +0000 (14:22 +0530)
committerMichal Simek <michal.simek@amd.com>
Mon, 25 Mar 2024 14:16:57 +0000 (15:16 +0100)
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>
Link: https://lore.kernel.org/r/20240321085220.2920792-2-tejas.arvind.bhumkar@amd.com
arch/arm/dts/zynqmp-sck-kv-g-revA.dtso
arch/arm/dts/zynqmp-sck-kv-g-revB.dtso

index 6d0d5c487d2e7aae178474befa54165239f61a0e..561b546e37f779aed9d3621f19964c73079c2490 100644 (file)
                        slew-rate = <SLEW_RATE_SLOW>;
                        power-source = <IO_STANDARD_LVCMOS18>;
                        bias-disable;
+                       output-enable;
                };
 
                conf-cd {
index a4b4465d2038f083eac82b95bb1bf06dee41fa2f..13876fb47db1d58de3d1ffa9a576a5e45eab451b 100644 (file)
                        slew-rate = <SLEW_RATE_SLOW>;
                        power-source = <IO_STANDARD_LVCMOS18>;
                        bias-disable;
+                       output-enable;
                };
 
                conf-cd {