From b9b5a43df1d709809b2b654ad8f8181b00a4ee55 Mon Sep 17 00:00:00 2001
From: Breno Lima <breno.lima@nxp.com>
Date: Fri, 9 Jul 2021 17:14:47 -0400
Subject: [PATCH] LF-4086-2 mmc: sdhci-esdhc-imx: Add documentation for
 fsl,sdio-interrupt-enabled property

uSDHC controller can enable auto tuning for DAT[0] and CMD only. Add
documentation for fsl,sdio-interrupt-enabled device tree property.

Signed-off-by: Breno Lima <breno.lima@nxp.com>
Reviewed-by: Haibo Chen <haibo.chen@nxp.com>
---
 .../devicetree/bindings/mmc/fsl-imx-esdhc.yaml        | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
index 4138068a3db4dd..90e4e1f86f9f7e 100644
--- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
+++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
@@ -106,6 +106,17 @@ properties:
       Only eMMC HS400 mode need to take care of this property.
     default: 0
 
+  fsl,sdio-interrupt-enabled:
+  $ref: /schemas/types.yaml#/definitions/uint32
+  description: |
+      Recommend for SDIO cards that enables SDIO interrupt for SDR104 and SDR50 operating
+      modes. SDIO interrupt uses DAT[1] to signal the card's interrupt to the i.MX
+      device. uSDHC tuning mechanism must use DAT[0] and CMD signals to avoid a possible
+      conflict and incorrect delay line calculated by the uSDHC auto tuning mechanism.
+      Enabling this device tree property is only recommended for layouts that are
+      matching the SD interface length.
+  default: 0
+
 required:
   - compatible
   - reg
-- 
GitLab