AnsweredAssumed Answered

MMC Card detection codes are not available in 4.1.15 Kernel

Question asked by Dooty Seyed Mohamed on Apr 14, 2016
Latest reply on Dec 8, 2016 by Nguyen Mr

Hi ,

 

I am using iMx6q with 4.1.15 Latest NXP Kernel. I expect default MMC to detect in Kernel after using proper sdhci entries in dtsi. But MMC is not detecting or mounting . The below msgs in console.

 

sdhci-pltfm: SDHCI platform and OF driver helper

/soc/aips-bus@02100000/usdhc@02190000: voltage-ranges unspecified

sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO

sdhci-esdhc-imx 2190000.usdhc: Got WP GPIO

sdhci-esdhc-imx 2190000.usdhc: No vmmc regulator found

sdhci-esdhc-imx 2190000.usdhc: No vqmmc regulator found

mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA

/soc/aips-bus@02100000/usdhc@02198000: voltage-ranges unspecified

sdhci-esdhc-imx 2198000.usdhc: Got CD GPIO

sdhci-esdhc-imx 2198000.usdhc: No vmmc regulator found

sdhci-esdhc-imx 2198000.usdhc: No vqmmc regulator found

usb 1-1: new high-speed USB device number 2 using ci_hdrc

mmc2: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA

/soc/aips-bus@02100000/usdhc@0219c000: voltage-ranges unspecified

sdhci-esdhc-imx 219c000.usdhc: No vmmc regulator found                                    

sdhci-esdhc-imx 219c000.usdhc: No vqmmc regulator found                                   

mmc3: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA     

 

In code  I have  noticed there is no piece of code for cd-gpios - card detection,wp-gpios for write protection and max burst width checking in dts function(sdhci_esdhc_imx_probe_dt in the file drivers/mmc/host/sdhci-esdhc-imx.c).

 

These help me out to resolve the issue. Thanks in Advance.

 

Regards,

Dooty.

Outcomes