Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1404254

[PATCH v4 4/5] mmc: debugfs: add HS400 enhanced strobe description

From Shawn Lin <shawn.lin@rock-chips.com>
Newsgroups linux.kernel
Subject [PATCH v4 4/5] mmc: debugfs: add HS400 enhanced strobe description
Date 2016-05-20 10:40 +0200
Message-ID <rAO8r-3ca-45@gated-at.bofh.it> (permalink)
References <rAO8q-3ca-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


We introduce HS400 with enhanced strobe function, so we need
to add it for debug show.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
---

Changes in v4: None
Changes in v3: None
Changes in v2: None

 drivers/mmc/core/debugfs.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/mmc/core/debugfs.c b/drivers/mmc/core/debugfs.c
index 9382a57..51d7c38 100644
--- a/drivers/mmc/core/debugfs.c
+++ b/drivers/mmc/core/debugfs.c
@@ -148,7 +148,9 @@ static int mmc_ios_show(struct seq_file *s, void *data)
 		str = "mmc HS200";
 		break;
 	case MMC_TIMING_MMC_HS400:
-		str = "mmc HS400";
+		mmc_card_hs400es(host->card) ?
+			(str = "mmc HS400 enhanced strobe") :
+			(str = "mmc HS400");
 		break;
 	default:
 		str = "invalid";
-- 
2.3.7

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v4 0/5] Add enhanced strobe support for emmc version 5.1 or later Shawn Lin <shawn.lin@rock-chips.com> - 2016-05-20 10:40 +0200
  [PATCH v4 5/5] mmc: sdhci-of-arasan: implement enhanced strobe callback Shawn Lin <shawn.lin@rock-chips.com> - 2016-05-20 10:40 +0200
    Re: [PATCH v4 5/5] mmc: sdhci-of-arasan: implement enhanced strobe  callback Adrian Hunter <adrian.hunter@intel.com> - 2016-05-20 13:50 +0200
  [PATCH v4 2/5] mmc: core: add mmc-hs400-enhanced-strobe support Shawn Lin <shawn.lin@rock-chips.com> - 2016-05-20 10:40 +0200
  [PATCH v4 4/5] mmc: debugfs: add HS400 enhanced strobe description Shawn Lin <shawn.lin@rock-chips.com> - 2016-05-20 10:40 +0200
  [PATCH v4 3/5] mmc: core: implement enhanced strobe support Shawn Lin <shawn.lin@rock-chips.com> - 2016-05-20 10:40 +0200
    Re: [PATCH v4 3/5] mmc: core: implement enhanced strobe support Adrian Hunter <adrian.hunter@intel.com> - 2016-05-20 12:10 +0200
      Re: [PATCH v4 3/5] mmc: core: implement enhanced strobe support Shawn Lin <shawn.lin@rock-chips.com> - 2016-05-20 14:00 +0200
  [PATCH v4 1/5] Documentation: mmc: add mmc-hs400-enhanced-strobe Shawn Lin <shawn.lin@rock-chips.com> - 2016-05-20 10:40 +0200

csiph-web