From: Maximus <john.maximus@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: sdio - ocr confusions
Date: Wed, 3 May 2006 03:30:14 -0700 [thread overview]
Message-ID: <3634de740605030330t1e060362ibff0e247bfb805e5@mail.gmail.com> (raw)
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
next reply other threads:[~2006-05-03 10:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-03 10:30 Maximus [this message]
2006-05-04 7:36 ` Marcel Holtmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3634de740605030330t1e060362ibff0e247bfb805e5@mail.gmail.com \
--to=john.maximus@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®