From: Jaehoon Chung <jh80.chung@samsung.com>
To: James Hogan <james.hogan@imgtec.com>
Cc: Jaehoon Chung <jh80.chung@samsung.com>,
"linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>,
Chris Ball <cjb@laptop.org>, Will Newton <will.newton@imgtec.com>,
Kyungmin Park <kyungmin.park@samsung.com>
Subject: Re: [PATCH] mmc: dw_mmc: modified the DMA threshold for SD card
Date: Mon, 26 Sep 2011 17:34:46 +0900 [thread overview]
Message-ID: <4E803926.4070508@samsung.com> (raw)
In-Reply-To: <4E8036F1.8060304@imgtec.com>
Hi James.
I found other problem about not reading scr register.
Did you have 2.40a spec?
Our code is based on lower version than 2.40a.
In DWC_mobile_storage 2.40a spec, DATA register address is changed.
Now we used DATA register address is 0x100.(in 2.40a, Address 0x100 is used for CardThrCtl register)
But in 2.40a, DATA register address is 0x200...
Maybe i think the reason why PIO mode is broken.
We need to set DATA register according to VERID.(reading VERID register)
I will send the patch for this point.
Best Regards,
Jaehoon Chung
> Our current hardware also has a data width of 32.
>
> Does it work if you disable DMA (by returning -ENODEV at the beginning
> of dw_mci_submit_data_dma)? That would prove that the problem wasn't
> caused by DMA mode leaving the hardware in a bad state before switching
> to PIO mode.
>
> Cheers
> James
>
>> Best regards,
>> Jaehon Chung
>>
>>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
prev parent reply other threads:[~2011-09-26 8:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-22 10:01 [PATCH] mmc: dw_mmc: modified the DMA threshold for SD card Jaehoon Chung
2011-09-22 10:13 ` James Hogan
2011-09-26 4:24 ` Jaehoon Chung
2011-09-26 8:25 ` James Hogan
2011-09-26 8:34 ` Jaehoon Chung [this message]
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=4E803926.4070508@samsung.com \
--to=jh80.chung@samsung.com \
--cc=cjb@laptop.org \
--cc=james.hogan@imgtec.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-mmc@vger.kernel.org \
--cc=will.newton@imgtec.com \
/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