usdhc1 card remove is not detected

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

usdhc1 card remove is not detected

926 次查看
chayanbiswas
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.

标记 (4)
0 项奖励
1 回复

689 次查看
igorpadykov
NXP Employee
NXP Employee

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 项奖励