will imx6 JB code supports SDIO 3.0 cards

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

will imx6 JB code supports SDIO 3.0 cards

Jump to solution
3,980 Views
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






Labels (4)
1 Solution
1,853 Views
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.

View solution in original post

0 Kudos
Reply
6 Replies
1,854 Views
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 Kudos
Reply
1,852 Views
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 Kudos
Reply
1,852 Views
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 Kudos
Reply
1,852 Views
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 Kudos
Reply
1,853 Views
satoshishimoda
Senior Contributor I

Hi Max,

Thank you for your reply.

OK, I got it.

Best Regards,

Satoshi Shimoda

0 Kudos
Reply
1,853 Views
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 Kudos
Reply