From: angelo <angelo70@gmail.com>
To: linux-mmc@vger.kernel.org
Subject: sdio sn8000 wifi module
Date: Thu, 26 Feb 2015 00:19:39 +0100 [thread overview]
Message-ID: <54EE588B.2030005@gmail.com> (raw)
Dear all,
i am trying to have working this module with kernel 3.10 over
sdio, 4 lines, high speed, on a imx6q.
The bcm43362 CHIP_ID is still missing in kernel 3.10 so i merged
some small parts of 3.14 wifi drivers into 3.10.
Actually, seems this module does not reply to the SDIO probing
commands, i am getting err 110 (time out).
Seems its failing here, into sdio_ops.c
int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr)
{
struct mmc_command cmd = {0};
int i, err = 0;
BUG_ON(!host);
cmd.opcode = SD_IO_SEND_OP_COND;
cmd.arg = ocr;
cmd.flags = MMC_RSP_SPI_R4 | MMC_RSP_R4 | MMC_CMD_BCR;
for (i = 100; i; i--) {
>>> err = mmc_wait_for_cmd(host, &cmd, MMC_CMD_RETRIES);
if (err)
break;
I checked trough oscilloscope, the command is sent but the
recognize operation terminates in time out.
I am using device tree. usdhc controller is set as 4 lines SDIO.
Every help or suggestion is appreciated.
Many thanks,
angelo
reply other threads:[~2015-02-25 23:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=54EE588B.2030005@gmail.com \
--to=angelo70@gmail.com \
--cc=linux-mmc@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.