linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Seungwon Jeon <tgih.jun@samsung.com>
To: 'Chris Ball' <chris@printf.net>, 'Ulf Hansson' <ulf.hansson@linaro.org>
Cc: linux-mmc@vger.kernel.org
Subject: [PATCH 1/7] mmc: clarify DDR timing mode between SD-UHS and eMMC
Date: Wed, 15 Jan 2014 23:10:43 +0900	[thread overview]
Message-ID: <001f01cf11fb$93d188c0$bb749a40$%jun@samsung.com> (raw)
In-Reply-To: 

This change distinguishes DDR timing mode of current
mixed usage to clarify device type.

Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
---
 drivers/mmc/core/debugfs.c |    3 +++
 drivers/mmc/core/mmc.c     |    2 +-
 include/linux/mmc/host.h   |    3 ++-
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/drivers/mmc/core/debugfs.c b/drivers/mmc/core/debugfs.c
index 54829c0..509229b 100644
--- a/drivers/mmc/core/debugfs.c
+++ b/drivers/mmc/core/debugfs.c
@@ -135,6 +135,9 @@ static int mmc_ios_show(struct seq_file *s, void *data)
 	case MMC_TIMING_UHS_DDR50:
 		str = "sd uhs DDR50";
 		break;
+	case MMC_TIMING_MMC_DDR52:
+		str = "mmc DDR52";
+		break;
 	case MMC_TIMING_MMC_HS200:
 		str = "mmc high-speed SDR200";
 		break;
diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c
index 98e9eb0..6d91ff7 100644
--- a/drivers/mmc/core/mmc.c
+++ b/drivers/mmc/core/mmc.c
@@ -1261,7 +1261,7 @@ static int mmc_init_card(struct mmc_host *host, u32 ocr,
 					goto err;
 			}
 			mmc_card_set_ddr_mode(card);
-			mmc_set_timing(card->host, MMC_TIMING_UHS_DDR50);
+			mmc_set_timing(card->host, MMC_TIMING_MMC_DDR52);
 			mmc_set_bus_width(card->host, bus_width);
 		}
 	}
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index 99f5709..87b1f4f 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -58,7 +58,8 @@ struct mmc_ios {
 #define MMC_TIMING_UHS_SDR50	5
 #define MMC_TIMING_UHS_SDR104	6
 #define MMC_TIMING_UHS_DDR50	7
-#define MMC_TIMING_MMC_HS200	8
+#define MMC_TIMING_MMC_DDR52	8
+#define MMC_TIMING_MMC_HS200	9
 
 #define MMC_SDR_MODE		0
 #define MMC_1_2V_DDR_MODE	1
-- 
1.7.0.4



  parent reply	other threads:[~2014-01-15 14:10 UTC|newest]

Thread overview: 181+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-05 12:10 [PATCH 0/3] mmc: tmio: Use modern PM ops Ulf Hansson
2013-11-05 12:10 ` [PATCH 1/3] mmc: sh_mobile_sdhi: Use modern PM macros to define pm callbacks Ulf Hansson
2013-11-05 22:29   ` Guennadi Liakhovetski
2013-11-05 12:10 ` [PATCH 2/3] mmc: tmio_mmc: Convert from legacy to modern PM ops Ulf Hansson
2013-11-05 22:24   ` Guennadi Liakhovetski
2013-11-05 12:10 ` [PATCH 3/3] mmc: tmio: Adapt to proper PM configs for exported functions Ulf Hansson
2013-11-05 22:29   ` Guennadi Liakhovetski
2013-11-05 13:26 ` [PATCH] mmc: trivial: fix the compiling warning Seungwon Jeon
2013-11-06  3:20   ` Jaehoon Chung
2013-11-06  9:42     ` Seungwon Jeon
2013-11-05 13:27 ` [PATCH 0/3] mmc: update bus speed mode Seungwon Jeon
2013-11-05 13:27 ` [PATCH 1/3] mmc: rework selection of " Seungwon Jeon
2013-11-05 14:06   ` Ulf Hansson
2013-11-06  9:09     ` Seungwon Jeon
2013-11-06 10:46       ` Ulf Hansson
2013-11-05 13:27 ` [PATCH 2/3] mmc: correct some exclusive card state to clear Seungwon Jeon
2013-11-05 14:33   ` Ulf Hansson
2013-11-06  9:35     ` Seungwon Jeon
2013-11-06 10:38       ` Ulf Hansson
2013-11-07  3:51         ` Seungwon Jeon
2013-11-05 13:28 ` [PATCH 3/3] mmc: add support for hs400 mode of eMMC5.0 Seungwon Jeon
2013-11-07  7:38   ` Shen, Jackey
2013-11-07 11:38     ` Seungwon Jeon
2013-11-08  9:05       ` Jackey Shen
2013-11-11 12:51         ` Seungwon Jeon
2013-11-25  7:32           ` Jackey Shen
2013-11-08 12:16 ` [PATCH 0/3] mmc: tmio: Use modern PM ops Guennadi Liakhovetski
2013-11-11  9:24   ` Ulf Hansson
2014-01-15 14:10 ` [PATCH 0/7] mmc: distinguish DDR timing mode for eMMC/UHS Seungwon Jeon
2014-01-15 14:10 ` Seungwon Jeon [this message]
2014-01-16 10:50   ` [PATCH 1/7] mmc: clarify DDR timing mode between SD-UHS and eMMC Ulf Hansson
2014-01-17 21:22     ` Ulf Hansson
2014-01-20  3:55       ` Seungwon Jeon
2014-01-23  9:06         ` Ulf Hansson
2014-01-15 14:11 ` [PATCH 2/7] mmc: mmci: " Seungwon Jeon
2014-01-16 10:20   ` Ulf Hansson
2014-01-17 14:05     ` Seungwon Jeon
2014-01-17 14:50     ` [PATCH v2 " Seungwon Jeon
2014-01-15 14:11 ` [PATCH 3/7] mmc: omap: " Seungwon Jeon
2014-01-16 10:49   ` Ulf Hansson
2014-01-16 11:07     ` Balaji T K
2014-01-16 11:01   ` Balaji T K
2014-01-15 14:12 ` [PATCH 4/7] mmc: sh_mmcif: " Seungwon Jeon
2014-01-16 10:22   ` Ulf Hansson
2014-01-17 14:36     ` Seungwon Jeon
2014-01-28 13:08     ` Seungwon Jeon
2014-01-15 14:12 ` [PATCH 5/7] mmc: rtsx: " Seungwon Jeon
2014-01-16 10:51   ` Ulf Hansson
2014-01-15 14:12 ` [PATCH 6/7] mmc: dw_mmc: " Seungwon Jeon
2014-01-16 10:37   ` Ulf Hansson
2014-01-15 14:12 ` [PATCH 7/7] mmc: sdhci: " Seungwon Jeon
2014-01-16 10:25   ` Ulf Hansson
2014-01-15 14:13 ` [PATCH 0/5] update selection of bus speed mode for eMMC Seungwon Jeon
2014-01-15 14:14 ` [PATCH 1/5] mmc: drop the speed mode of card's state Seungwon Jeon
2014-01-15 14:14 ` [PATCH 2/5] mmc: identify available device type to select Seungwon Jeon
2014-01-15 14:14 ` [PATCH 3/5] mmc: step power class after final selection of bus mode Seungwon Jeon
2014-01-15 14:15 ` [PATCH 4/5] mmc: rework selection of bus speed mode Seungwon Jeon
2014-01-15 14:19 ` [PATCH 5/5] mmc: add support for HS400 mode of eMMC5.0 Seungwon Jeon
2014-02-18 10:24   ` Jackey Shen
2014-02-18 13:31     ` Seungwon Jeon
2014-02-15 14:08 ` [PATCH v2 0/7] mmc: distinguish DDR timing mode for eMMC/UHS Seungwon Jeon
2014-03-07 13:30   ` [PATCH v3 " Seungwon Jeon
2014-03-14 12:11   ` [PATCH RESEND " Seungwon Jeon
2014-04-02 11:50     ` Ulf Hansson
2014-04-03 11:56       ` Seungwon Jeon
2014-02-15 14:08 ` [PATCH v2 1/7] mmc: clarify DDR timing mode between SD-UHS and eMMC Seungwon Jeon
2014-03-07 13:30   ` [PATCH v3 " Seungwon Jeon
2014-03-07 13:42     ` Jaehoon Chung
2014-03-14 12:11   ` [PATCH RESEND " Seungwon Jeon
2014-02-15 14:08 ` [PATCH v2 2/7] mmc: mmci: " Seungwon Jeon
2014-02-17 14:08   ` Ulf Hansson
2014-02-18 13:34     ` Seungwon Jeon
2014-03-07 13:30   ` [PATCH v3 " Seungwon Jeon
2014-03-14 12:12   ` [PATCH RESEND " Seungwon Jeon
2014-02-15 14:09 ` [PATCH v2 3/7] mmc: omap: " Seungwon Jeon
2014-03-07 13:30   ` [PATCH v3 " Seungwon Jeon
2014-03-14 12:12   ` [PATCH RESEND " Seungwon Jeon
2014-02-15 14:09 ` [PATCH v2 4/7] mmc: sh_mmcif: " Seungwon Jeon
2014-03-07 13:30   ` [PATCH v3 " Seungwon Jeon
2014-03-14 12:12   ` [PATCH RESEND " Seungwon Jeon
2014-02-15 14:09 ` [PATCH v2 5/7] mmc: rtsx: " Seungwon Jeon
2014-03-07 13:31   ` [PATCH v3 " Seungwon Jeon
2014-03-14 12:12   ` [PATCH RESEND " Seungwon Jeon
2014-02-15 14:09 ` [PATCH v2 6/7] mmc: dw_mmc: " Seungwon Jeon
2014-03-07 13:31   ` [PATCH v3 " Seungwon Jeon
2014-03-07 13:43     ` Jaehoon Chung
2014-03-14 12:12   ` [PATCH RESEMD " Seungwon Jeon
2014-02-15 14:09 ` [PATCH v2 7/7] mmc: sdhci: " Seungwon Jeon
2014-03-07 13:31   ` [PATCH v3 " Seungwon Jeon
2014-03-14 12:12   ` [PATCH RESEND " Seungwon Jeon
2014-02-15 14:18 ` [PATCH RESEND 0/5] update selection of bus speed mode for eMMC Seungwon Jeon
2014-03-07 14:35   ` [PATCH v2 " Seungwon Jeon
2014-03-13 14:41     ` Ulf Hansson
2014-03-13  9:52   ` [PATCH RESEND " Jaehoon Chung
2014-03-14 12:16   ` [PATCH v3 " Seungwon Jeon
2014-03-17  8:47     ` Ulf Hansson
2014-03-18  1:43       ` Seungwon Jeon
2014-03-18  4:20         ` Jaehoon Chung
2014-03-18  8:01           ` Ulf Hansson
2014-03-26 10:59   ` [PATCH v4 " Seungwon Jeon
2014-03-26 11:00   ` [PATCH v4 1/5] mmc: drop the speed mode of card's state Seungwon Jeon
2014-03-26 11:00   ` [PATCH v4 2/5] mmc: identify available device type to select Seungwon Jeon
2014-03-26 11:00   ` [PATCH v4 3/5] mmc: step power class after final selection of bus mode Seungwon Jeon
2014-03-28  8:43     ` Ulf Hansson
2014-03-26 11:00   ` [PATCH v4 4/5] mmc: rework selection of bus speed mode Seungwon Jeon
2014-03-26 11:00   ` [PATCH v4 5/5] mmc: add support for HS400 mode of eMMC5.0 Seungwon Jeon
2014-04-11 11:33   ` [PATCH v5 0/5] update selection of bus speed mode for eMMC Seungwon Jeon
2014-04-11 11:34   ` [PATCH v5 1/5] mmc: drop the speed mode of card's state Seungwon Jeon
2014-04-11 11:34   ` [PATCH v5 2/5] mmc: identify available device type to select Seungwon Jeon
2014-04-11 11:47     ` Ulf Hansson
2014-04-11 11:34   ` [PATCH v5 3/5] mmc: step power class after final selection of bus mode Seungwon Jeon
2014-04-11 11:34   ` [PATCH v5 4/5] mmc: rework selection of bus speed mode Seungwon Jeon
2014-04-11 11:34   ` [PATCH v5 5/5] mmc: add support for HS400 mode of eMMC5.0 Seungwon Jeon
2014-04-11 12:06     ` Ulf Hansson
2014-04-18 13:36   ` [PATCH v6 0/6] update selection of bus speed mode for eMMC Seungwon Jeon
2014-04-20  7:18     ` Ulf Hansson
2014-04-21  3:55       ` Seungwon Jeon
2014-04-18 13:36   ` [PATCH v6 1/6] mmc: drop the speed mode of card's state Seungwon Jeon
2014-04-18 13:36   ` [PATCH v6 2/6] mmc: identify available device type to select Seungwon Jeon
2014-04-18 13:36   ` [PATCH v6 3/6] mmc: step power class after final selection of bus mode Seungwon Jeon
2014-04-18 13:36   ` [PATCH v6 4/6] mmc: rework selection of bus speed mode Seungwon Jeon
2014-04-18 13:37   ` [PATCH v6 5/6] mmc: add support for HS400 mode of eMMC5.0 Seungwon Jeon
2014-04-18 13:37   ` [PATCH v6 6/6] mmc: core: add DT bindings for eMMC HS400 1.8/1.2V Seungwon Jeon
2014-04-23  8:30     ` Ulf Hansson
2014-04-23  8:07   ` [PATCH 0/6] update selection of bus speed mode for eMMC Seungwon Jeon
2014-04-23  8:07   ` [PATCH 1/6] mmc: drop the speed mode of card's state Seungwon Jeon
2014-05-05  8:02     ` Ulf Hansson
2014-04-23  8:07   ` [PATCH 2/6] mmc: identify available device type to select Seungwon Jeon
2014-04-23  8:08   ` [PATCH 3/6] mmc: step power class after final selection of bus mode Seungwon Jeon
2014-04-23  8:08   ` [PATCH 4/6] mmc: rework selection of bus speed mode Seungwon Jeon
2014-04-23  8:14   ` [PATCH 5/6] mmc: add support for HS400 mode of eMMC5.0 Seungwon Jeon
2014-04-23  8:15   ` [PATCH 6/6] mmc: core: add DT bindings for eMMC HS400 1.8/1.2V Seungwon Jeon
2014-02-15 14:18 ` [PATCH RESEND 1/5] mmc: drop the speed mode of card's state Seungwon Jeon
2014-02-17 14:38   ` Ulf Hansson
2014-02-18 13:43     ` Seungwon Jeon
2014-02-18 16:40       ` Ulf Hansson
2014-03-07 14:36   ` [PATCH v2 " Seungwon Jeon
2014-03-14 12:16   ` [PATCH v3 " Seungwon Jeon
2014-02-15 14:18 ` [PATCH RESEND 2/5] mmc: identify available device type to select Seungwon Jeon
2014-03-07 14:36   ` [PATCH v2 " Seungwon Jeon
2014-03-10 10:14     ` Jaehoon Chung
2014-03-10 11:59       ` Seungwon Jeon
2014-03-13  5:37         ` Jaehoon Chung
2014-03-13  8:37           ` Seungwon Jeon
2014-03-13  9:51             ` Jaehoon Chung
2014-03-13 14:02     ` Ulf Hansson
2014-03-14  2:49       ` Seungwon Jeon
2014-03-14  7:34         ` Ulf Hansson
2014-03-14 10:24           ` Seungwon Jeon
2014-03-28  8:31         ` Ulf Hansson
2014-03-28 12:27           ` Seungwon Jeon
2014-03-14 12:16   ` [PATCH v3 " Seungwon Jeon
2014-02-15 14:23 ` [PATCH RESEND 3/5] mmc: step power class after final selection of bus mode Seungwon Jeon
2014-03-07 14:36   ` [PATCH v2 " Seungwon Jeon
2014-03-13 14:28     ` Ulf Hansson
2014-03-14  2:49       ` Seungwon Jeon
2014-03-14  7:31         ` Ulf Hansson
2014-03-14 12:16   ` [PATCH v3 " Seungwon Jeon
2014-02-15 14:24 ` [PATCH RESEND 4/5] mmc: rework selection of bus speed mode Seungwon Jeon
2014-03-07 14:36   ` [PATCH v2 " Seungwon Jeon
2014-03-14 12:16   ` [PATCH v3 " Seungwon Jeon
2014-03-21 13:01     ` Ulf Hansson
2014-03-22 12:04       ` Seungwon Jeon
2014-03-24 13:11         ` Ulf Hansson
2014-02-15 14:24 ` [PATCH RESEND 5/5] mmc: add support for HS400 mode of eMMC5.0 Seungwon Jeon
2014-03-07 14:36   ` [PATCH v2 " Seungwon Jeon
2014-03-11  0:45     ` Jackey Shen
2014-03-14 11:34       ` Seungwon Jeon
2014-03-14 12:16   ` [PATCH v3 " Seungwon Jeon
2014-03-24 15:41     ` Ulf Hansson
2014-03-25  9:23       ` Seungwon Jeon
2014-03-28  9:57         ` Ulf Hansson
2014-03-28 12:18           ` Seungwon Jeon
2014-03-28 13:33             ` Ulf Hansson
2014-04-02  1:15               ` Seungwon Jeon
2014-04-02  9:39                 ` Ulf Hansson
2014-04-03 11:53                   ` Seungwon Jeon
2014-04-03 13:14                     ` Ulf Hansson
2014-04-04 10:46                       ` Seungwon Jeon
2014-04-04 11:58                         ` Ulf Hansson
2014-04-05 14:36                           ` Seungwon Jeon

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='001f01cf11fb$93d188c0$bb749a40$%jun@samsung.com' \
    --to=tgih.jun@samsung.com \
    --cc=chris@printf.net \
    --cc=linux-mmc@vger.kernel.org \
    --cc=ulf.hansson@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;
as well as URLs for NNTP newsgroup(s).