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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

3,540 Views
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 Kudos
2 Replies

1,603 Views
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 Kudos

1,603 Views
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 Kudos