From: Aaron Lu <aaron.lu@amd.com>
To: Girish K S <girish.shivananjappa@linaro.org>
Cc: linux-mmc@vger.kernel.org, cjb@laptop.org, kgene.kim@samsung.com,
patches@linaro.org, linux-samsung-soc@vger.kernel.org
Subject: Re: [PATCH V1] mmc: core: HS200 mode support for eMMC 4.5
Date: Fri, 23 Sep 2011 10:53:29 +0800 [thread overview]
Message-ID: <20110923025324.GA4680@ladygaga> (raw)
In-Reply-To: <1316690020-8742-1-git-send-email-girish.shivananjappa@linaro.org>
On Thu, Sep 22, 2011 at 04:43:40PM +0530, Girish K S wrote:
> This patch adds the support of the HS200 bus speed for
> eMMC 4.5 devices.
> The eMMC 4.5 devices have support for 200MHz bus speed.
> The mmc core and host modules have been touched to add support
> for this module.
> It is necessary to know the card type in the sdhci.c file to
> add support for eMMC tuning function. So card.h file is included
> to import the card data structure.
>
> Signed-off-by: Girish K S <girish.shivananjappa@linaro.org>
> ---
> v1:
> cases which produce same result have been combined to reduce
> repeated assignments. patch recreated after rebase to chris
> balls mmc-next branch.
Your patch does not apply to mmc-next tree...
>
> @@ -1661,7 +1663,10 @@ static int sdhci_execute_tuning(struct mmc_host *mmc)
> if (!tuning_loop_counter && !timeout)
> break;
>
The sdhci_execute_tuning will not proceed here unless the ctrl register
indicates the host is running at UHS_SDR104 or UHS_SDR50 with
SDHCI_SDR50_NEEDS_TUNING flag set. Does your host also reflect this when
running at 200Mhz bus speed?
> - cmd.opcode = MMC_SEND_TUNING_BLOCK;
> + if (mmc->card->type == MMC_TYPE_MMC)
> + cmd.opcode = MMC_SEND_TUNING_BLOCK_HS200;
> + else
> + cmd.opcode = MMC_SEND_TUNING_BLOCK;
> cmd.arg = 0;
> cmd.flags = MMC_RSP_R1 | MMC_CMD_ADTC;
> cmd.retries = 0;
prev parent reply other threads:[~2011-09-23 2:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-22 11:13 [PATCH V1] mmc: core: HS200 mode support for eMMC 4.5 Girish K S
2011-09-22 22:00 ` J Freyensee
2011-09-23 2:53 ` Aaron Lu [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=20110923025324.GA4680@ladygaga \
--to=aaron.lu@amd.com \
--cc=cjb@laptop.org \
--cc=girish.shivananjappa@linaro.org \
--cc=kgene.kim@samsung.com \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=patches@linaro.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