]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: zynqmp: Disable Tri-state for SDIO
authorTejas Bhumkar <tejas.arvind.bhumkar@amd.com>
Mon, 27 May 2024 09:34:13 +0000 (11:34 +0200)
committerMichal Simek <michal.simek@amd.com>
Mon, 17 Jun 2024 06:36:22 +0000 (08:36 +0200)
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/540f83f7d88b80441c9fa3d771dd7b000b0710a4.1716802450.git.michal.simek@amd.com
arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso
arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso

index d7535a77b45e34785670b71d008db9e63a753cc5..a09909a6f88531810e65db06333d01b2050c5db8 100644 (file)
                        slew-rate = <SLEW_RATE_SLOW>;
                        power-source = <IO_STANDARD_LVCMOS18>;
                        bias-disable;
+                       output-enable;
                };
 
                conf-cd {
index a7b8fffad49936b505f6ae2d6264bbb6213baeff..b3b8875f8f7a13230ae4f2db4172427d36a52fc7 100644 (file)
                        slew-rate = <SLEW_RATE_SLOW>;
                        power-source = <IO_STANDARD_LVCMOS18>;
                        bias-disable;
+                       output-enable;
                };
 
                conf-cd {