* sdio - ocr confusions
@ 2006-05-03 10:30 Maximus
2006-05-04 7:36 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Maximus @ 2006-05-03 10:30 UTC (permalink / raw)
To: linux-kernel
Hi,
im trying to develop and sdio driver modifying the existing SD card driver.
Im using an OMAP processor and a Wifi SDIO Card.
I have send CMD 5 to get the OCR.
i do get the EOC Status bit set.
I do get the response resp[0] => 0x10fff000 (Contents of RSP6 & RSP7)
According to this -> ocr => 0xfff000 (right most 24 bits)
mem present => 0
No of IO functions => 1
I am using a Wifi SDIO Card - am not sure if these values are correct?.
Am i doing something wrong here?
I understand from the SDIO specs that only one of the bits (0-24) must be set.
How do u interpreset an ocr of 0xfff000 ?.
#define MMC_RSP_R4 (MMC_RSP_SHORT|MMC_RSP_CRC)
#define SDIO_IO_SEND_OP_COND (5)
cmd.opcode = SDIO_IO_SEND_OP_COND ;
cmd.arg = 0;
cards.flags = MMC_RSP_R4
Is this wrong?
Regards,
Jo
MMC1: set_ios: clock 0Hz busmode 1 powermode 0 Vdd 0.00
MMC1: set_ios: clock 0Hz busmode 1 powermode 0 Vdd 0.00
MMC1: set_ios: clock 400000Hz busmode 1 powermode 1 Vdd 0.21
MMC1: set_ios: clock 400000Hz busmode 1 powermode 1 Vdd 0.21
MMC1: set_ios: clock 400000Hz busmode 1 powermode 2 Vdd 0.21
MMC1: set_ios: clock 400000Hz busmode 1 powermode 2 Vdd 0.21
MMC: starting cmd 05 arg 00000000 flags 00000009
MMC1: CMD5, argument 0x00000000, 32-bit response, CRC
MMC IRQ 0001 (CMD 5): EOC
MMC1: Response 10fff000
MMC1: End request, err 0
MMC: req done (05): 0: 10fff000 00000000 00000000 00000000
MC1: set_ios: clock 0Hz busmode 1 powermode 0 Vdd 0.00
MMC1: set_ios: clock 0Hz busmode 1 powermode 0 Vdd 0.00
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: sdio - ocr confusions
2006-05-03 10:30 sdio - ocr confusions Maximus
@ 2006-05-04 7:36 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2006-05-04 7:36 UTC (permalink / raw)
To: Maximus; +Cc: linux-kernel
Hi John,
> im trying to develop and sdio driver modifying the existing SD card driver.
> Im using an OMAP processor and a Wifi SDIO Card.
I am trying to get SDIO working with the SDHCI driver, but so far with
no success at all. Did you modify the OMAP driver or the mmc_core to add
support for SDIO. From my understanding no changes to any of the drivers
should be necessary.
Regards
Marcel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-05-04 7:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-03 10:30 sdio - ocr confusions Maximus
2006-05-04 7:36 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox