usdhc1 card remove is not detected

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

usdhc1 card remove is not detected

931件の閲覧回数
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 返信

694件の閲覧回数
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 件の賞賛