LF-4086-1 mmc: sdhci-esdhc-imx: Add device tree property to select DATA[0] and...
LF-4086-1 mmc: sdhci-esdhc-imx: Add device tree property to select DATA[0] and CMD signals for periodic tuning SDIO cards can implement an optional feature that uses DATA[1] to signal the card's interrupt to the i.MX device, this feature can be enabled by the SDIO card device and does not depends on i.MX uSDHC driver setup configuration. Out of reset uSDHC is configuring the uSDHC_VEND_SPEC2 register to use DATA[3:0] signals for calculating the appropriate delay cell for the current operation environment, this setup can conflict with the SDIO interrupt as DATA[1] signal can be asserted asynchronously. SDIO failures can be observed when running i.MX6ULL EVK and 88w8987/88w8997 at higher frequencies such as SDR104 or SDR50. Wi-Fi driver is reporting CMD53 read error due to incorrect delay cell calculated by the i.MX processor and uSDHC controller. Add optional device tree property to select DATA[0] and CMD signals for uSDHC auto tuning mechanism. This setup can only be used if SD interface length are well matched. Signed-off-by:Breno Lima <breno.lima@nxp.com> Reviewed-by:
Haibo Chen <haibo.chen@nxp.com>
Loading
Please register or sign in to comment