will imx6 JB code supports SDIO 3.0 cards

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

will imx6 JB code supports SDIO 3.0 cards

跳至解决方案
3,623 次查看
oslreddy
Contributor II

Hello all,

I am using sabereSD board based on i.MX6 platform

I wanted to integrate bcm43241 which is of SDIO 3.0 card

when I seen in the sourcecode the /drivers/mmc/sdio/sdio.c is supporting up to CCCR_REV_1.2 only

if it is grater than that it is returning -EINVAL and sdio registration is getting failed

where is my card is CCCR_REV_3_0_0


Did anybody integrated SDIO3.0 wifi card on i.MX6

Kindly let me know if i need to add any patch to support my card


android - 4.2

board- sabereSD

using SD card slot to insert my module mmc1


thanks

Reddy






标签 (4)
1 解答
1,496 次查看
max_tsai
NXP Employee
NXP Employee

hi, Kernel 3.0 doesn't support SDIO3.0 yet. You can find the SDIO3.0 function supported since Kernel 3.5.7. The attached file is the patch from Kernel 3.5.7 for Kernel 3.0. You can refer to "0002-mmc-recognise-SDIO-cards-with-SDIO_CCCR_REV-3.00.patch" of the attached file, for version check.

Also the SDIO3.0 needs dynamic voltage switch. The circuit must be able to switch voltage between 3.3v and 1.8v, if you are going to apply the attached patches all. Or you can just avoid version check, make your sdio card run with 3.3v only.

在原帖中查看解决方案

0 项奖励
回复
6 回复数
1,497 次查看
max_tsai
NXP Employee
NXP Employee

hi, Kernel 3.0 doesn't support SDIO3.0 yet. You can find the SDIO3.0 function supported since Kernel 3.5.7. The attached file is the patch from Kernel 3.5.7 for Kernel 3.0. You can refer to "0002-mmc-recognise-SDIO-cards-with-SDIO_CCCR_REV-3.00.patch" of the attached file, for version check.

Also the SDIO3.0 needs dynamic voltage switch. The circuit must be able to switch voltage between 3.3v and 1.8v, if you are going to apply the attached patches all. Or you can just avoid version check, make your sdio card run with 3.3v only.

0 项奖励
回复
1,495 次查看
satoshishimoda
Senior Contributor I

Hi Max,

Do you have a plan to release the patch officially on i.MX6x "Software & Tools" download page?

Best Regards,

Satoshi Shimoda

0 项奖励
回复
1,495 次查看
satoshishimoda
Senior Contributor I

Hi Max,

Could you reply me?

Or should I create a new post to this question?

Best Regards,

Satoshi Shimoda

0 项奖励
回复
1,495 次查看
max_tsai
NXP Employee
NXP Employee

hi,

Sorry about late response. There is no plan for import these patches to JB BSP.

Regards,

Max

0 项奖励
回复
1,496 次查看
satoshishimoda
Senior Contributor I

Hi Max,

Thank you for your reply.

OK, I got it.

Best Regards,

Satoshi Shimoda

0 项奖励
回复
1,496 次查看
oslreddy
Contributor II

Thanks for the patch

currently I applied

0002-mmc-recognise-SDIO-cards-with-SDIO_CCCR_REV-3.00.patch


and I am able to maku my wifi module up,


better I will apply entire patch so hat it will meet full functionality



thanks

reddy

0 项奖励
回复