How to change SDIO clock in i.MX6 SABRE-SD under Linux kernel L3.0.101

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

How to change SDIO clock in i.MX6 SABRE-SD under Linux kernel L3.0.101

3,717件の閲覧回数
willychen
Contributor II

I need to use one of my SABRESD-SD EVB to connect TI wl18xx WiFi modules with SD adapter. Already build the newest wifi drivers libraries and can work, but the WiFi easily fail under X11 launched. TI FAE suggest me to change the SDIO clock under 10 MHz, where and how to change the SDIO clock? I am using Linux kernel L3.0.101, and build under LTIB project。

Willy

0 件の賞賛
返信
2 返答(返信)

1,780件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Willy

one can try

echo 20000000 > /sys/kernel/debug/mmc0/clock        Here clock is switched to 20Mhz.

http://comments.gmane.org/gmane.linux.kernel.mmc/16311

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

1,780件の閲覧回数
willychen
Contributor II

Thanks for your suggestion, but I can not do it because there is nothing under /sys/kernel/debug , now I modify the source code  kernel/driver/mmc/host/sdhci.c to force the SD clock down to 10MHz for WiFi module.

Willy

0 件の賞賛
返信