Community
cancel
Showing results for 
Search instead for 
Did you mean: 
BArde
Beginner
1,237 Views

How to enable SPI mode for SDIO in galileo gen 2...?

Jump to solution

Hi,

For SDIO there are three modes of operation,

1) 1 bit mode

2) 4 bit mode

3) spi mode

i am able to switch between 1 bit mode and 4 bit mode using quirks_debug value passing with sdhci driver module.but i am not getting how to switch in SPI mode there are no bit are available in driver for setting it to SPI mode. so how to switch in SPI mode ?

1 Solution
asss
Valued Contributor II
62 Views

Hi,

as I see sdhci driver does not support SPI mode. Need to rewrite a driver.

BR,

xbolshe

View solution in original post

3 Replies
asss
Valued Contributor II
63 Views

Hi,

as I see sdhci driver does not support SPI mode. Need to rewrite a driver.

BR,

xbolshe

View solution in original post

BArde
Beginner
62 Views

Hi xbolshe

I am seeing that if i am able to disable 1 bit mode and 4 bit mode for SDIO then it will work as SPI mode so i am able to disable 1 bit mode using http://lxr.free-electrons.com/ident?i=SDHCI_QUIRK_FORCE_1_BIT_DATA QUIRK_FORCE_1_BIT_DATA bit in sdhci driver but how to disable 4 bit mode...????

asss
Valued Contributor II
62 Views
Reply