All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mmc: sdhci-xenon: ignore timing DDR52 in tuning
@ 2017-07-21 18:30 Zhoujie Wu
  2017-07-24 10:47 ` Adrian Hunter
  2017-07-27 14:49 ` Ulf Hansson
  0 siblings, 2 replies; 3+ messages in thread
From: Zhoujie Wu @ 2017-07-21 18:30 UTC (permalink / raw)
  To: ulf.hansson, adrian.hunter, linux-mmc
  Cc: zmxu, jszhang, nadavh, xigu, dingwei, kostap, hannah, hongd,
	dougj, ygao, liuw, gregory.clement, thomas.petazzoni, Zhoujie Wu

Emmc DDR52 mode uses fixed delay, return earlier if
timing is MMC_TIMING_MMC_DDR52 in execute tuning function.

Signed-off-by: Zhoujie Wu <zjwu@marvell.com>
---
 drivers/mmc/host/sdhci-xenon.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/mmc/host/sdhci-xenon.c b/drivers/mmc/host/sdhci-xenon.c
index 6ef33aa..edd4d915 100644
--- a/drivers/mmc/host/sdhci-xenon.c
+++ b/drivers/mmc/host/sdhci-xenon.c
@@ -311,7 +311,8 @@ static int xenon_execute_tuning(struct mmc_host *mmc, u32 opcode)
 {
 	struct sdhci_host *host = mmc_priv(mmc);
 
-	if (host->timing == MMC_TIMING_UHS_DDR50)
+	if (host->timing == MMC_TIMING_UHS_DDR50 ||
+		host->timing == MMC_TIMING_MMC_DDR52)
 		return 0;
 
 	/*
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] mmc: sdhci-xenon: ignore timing DDR52 in tuning
  2017-07-21 18:30 [PATCH] mmc: sdhci-xenon: ignore timing DDR52 in tuning Zhoujie Wu
@ 2017-07-24 10:47 ` Adrian Hunter
  2017-07-27 14:49 ` Ulf Hansson
  1 sibling, 0 replies; 3+ messages in thread
From: Adrian Hunter @ 2017-07-24 10:47 UTC (permalink / raw)
  To: Zhoujie Wu, ulf.hansson, linux-mmc
  Cc: zmxu, jszhang, nadavh, xigu, dingwei, kostap, hannah, hongd,
	dougj, ygao, liuw, gregory.clement, thomas.petazzoni

On 21/07/17 21:30, Zhoujie Wu wrote:
> Emmc DDR52 mode uses fixed delay, return earlier if
> timing is MMC_TIMING_MMC_DDR52 in execute tuning function.
> 
> Signed-off-by: Zhoujie Wu <zjwu@marvell.com>

Acked-by: Adrian Hunter <adrian.hunter@intel.com>

> ---
>  drivers/mmc/host/sdhci-xenon.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/mmc/host/sdhci-xenon.c b/drivers/mmc/host/sdhci-xenon.c
> index 6ef33aa..edd4d915 100644
> --- a/drivers/mmc/host/sdhci-xenon.c
> +++ b/drivers/mmc/host/sdhci-xenon.c
> @@ -311,7 +311,8 @@ static int xenon_execute_tuning(struct mmc_host *mmc, u32 opcode)
>  {
>  	struct sdhci_host *host = mmc_priv(mmc);
>  
> -	if (host->timing == MMC_TIMING_UHS_DDR50)
> +	if (host->timing == MMC_TIMING_UHS_DDR50 ||
> +		host->timing == MMC_TIMING_MMC_DDR52)
>  		return 0;
>  
>  	/*
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] mmc: sdhci-xenon: ignore timing DDR52 in tuning
  2017-07-21 18:30 [PATCH] mmc: sdhci-xenon: ignore timing DDR52 in tuning Zhoujie Wu
  2017-07-24 10:47 ` Adrian Hunter
@ 2017-07-27 14:49 ` Ulf Hansson
  1 sibling, 0 replies; 3+ messages in thread
From: Ulf Hansson @ 2017-07-27 14:49 UTC (permalink / raw)
  To: Zhoujie Wu
  Cc: Adrian Hunter, linux-mmc, Jimmy Xu, Jisheng Zhang, Nadav Haklai,
	Victor Gu, Wilson Ding, Kostya Porotchkin, Hanna Hawa, hongd,
	Doug Jones, Ryan Gao, Wei(SOCP) Liu, Gregory Clement,
	Thomas Petazzoni

On 21 July 2017 at 20:30, Zhoujie Wu <zjwu@marvell.com> wrote:
> Emmc DDR52 mode uses fixed delay, return earlier if
> timing is MMC_TIMING_MMC_DDR52 in execute tuning function.
>
> Signed-off-by: Zhoujie Wu <zjwu@marvell.com>

Thanks, applied for next!

Kind regards
Uffe

> ---
>  drivers/mmc/host/sdhci-xenon.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/sdhci-xenon.c b/drivers/mmc/host/sdhci-xenon.c
> index 6ef33aa..edd4d915 100644
> --- a/drivers/mmc/host/sdhci-xenon.c
> +++ b/drivers/mmc/host/sdhci-xenon.c
> @@ -311,7 +311,8 @@ static int xenon_execute_tuning(struct mmc_host *mmc, u32 opcode)
>  {
>         struct sdhci_host *host = mmc_priv(mmc);
>
> -       if (host->timing == MMC_TIMING_UHS_DDR50)
> +       if (host->timing == MMC_TIMING_UHS_DDR50 ||
> +               host->timing == MMC_TIMING_MMC_DDR52)
>                 return 0;
>
>         /*
> --
> 1.9.1
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-07-27 14:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-21 18:30 [PATCH] mmc: sdhci-xenon: ignore timing DDR52 in tuning Zhoujie Wu
2017-07-24 10:47 ` Adrian Hunter
2017-07-27 14:49 ` Ulf Hansson

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.