usdhc1 card remove is not detected

cancel
Showing results for 
Search instead for 
Did you mean: 

usdhc1 card remove is not detected

240 Views
Contributor I

I am using iMX6ul usdhc1 to connect to WLAN module. In my device tree file, usdhc1 is configured as removable as below:

&usdhc1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usdhc1>;
keep-power-in-suspend;
enable-sdio-wakeup;
status = "okay";
};

and my defconfig looks like below:


#
# MMC/SD/SDIO Host Controller Drivers
#
CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_PLTFM=y
CONFIG_MMC_SDHCI_ESDHC_IMX=y

I am facing problem when I am switching off wlan module, MMC driver is not detecting as "card removed"
Usually I should expect event like:

[223923.940000] mmc0: card 0001 removed

And then, when I switch on wlan I should expect event like below:

[223924.060000] mmc0: new high speed SDIO card at address 0001

Which is not happenning, And wlan host driver can not comunicate with wlan module any more after that.
Please let me know, if I am missing anything? or what needs to be done here.

0 Kudos
1 Reply

3 Views
NXP TechSupport
NXP TechSupport

Hi CHAYAN

for card detection options one can check

sect.32.2.3 Devicetree Binding attached Linux Manual.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos