linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] mmc: debugfs: implement ios show for SDR12 and SDR25
@ 2015-09-24  0:13 Shawn Lin
  2015-09-29 10:30 ` Ulf Hansson
  0 siblings, 1 reply; 2+ messages in thread
From: Shawn Lin @ 2015-09-24  0:13 UTC (permalink / raw)
  To: Ulf Hansson; +Cc: linux-mmc, linux-kernel, Shawn Lin

This patch add MMC_TIMING_UHS_SDR12 and MMC_TIMING_UHS_SDR25
for mmc_ios_show to show the ios->timing if mmc card runs under
these two modes.

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

---

Changes in v2:
- replace "mmc uhs sdr12" with "sd uhs sdr12"
  replace "mmc uhs sdr25" with "sd uhs sdr25"

 drivers/mmc/core/debugfs.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/mmc/core/debugfs.c b/drivers/mmc/core/debugfs.c
index 9adba8d..f4db93e 100644
--- a/drivers/mmc/core/debugfs.c
+++ b/drivers/mmc/core/debugfs.c
@@ -126,6 +126,12 @@ static int mmc_ios_show(struct seq_file *s, void *data)
 	case MMC_TIMING_SD_HS:
 		str = "sd high-speed";
 		break;
+	case MMC_TIMING_UHS_SDR12:
+		str = "sd uhs SDR12";
+		break;
+	case MMC_TIMING_UHS_SDR25:
+		str = "sd uhs SDR25";
+		break;
 	case MMC_TIMING_UHS_SDR50:
 		str = "sd uhs SDR50";
 		break;
-- 
2.3.7



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

* Re: [PATCH v2] mmc: debugfs: implement ios show for SDR12 and SDR25
  2015-09-24  0:13 [PATCH v2] mmc: debugfs: implement ios show for SDR12 and SDR25 Shawn Lin
@ 2015-09-29 10:30 ` Ulf Hansson
  0 siblings, 0 replies; 2+ messages in thread
From: Ulf Hansson @ 2015-09-29 10:30 UTC (permalink / raw)
  To: Shawn Lin; +Cc: linux-mmc, linux-kernel

On 24 September 2015 at 02:13, Shawn Lin <shawn.lin@rock-chips.com> wrote:
> This patch add MMC_TIMING_UHS_SDR12 and MMC_TIMING_UHS_SDR25
> for mmc_ios_show to show the ios->timing if mmc card runs under
> these two modes.
>
> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>

Thanks, applied for next.

Kind regards
Uffe

>
> ---
>
> Changes in v2:
> - replace "mmc uhs sdr12" with "sd uhs sdr12"
>   replace "mmc uhs sdr25" with "sd uhs sdr25"
>
>  drivers/mmc/core/debugfs.c | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/drivers/mmc/core/debugfs.c b/drivers/mmc/core/debugfs.c
> index 9adba8d..f4db93e 100644
> --- a/drivers/mmc/core/debugfs.c
> +++ b/drivers/mmc/core/debugfs.c
> @@ -126,6 +126,12 @@ static int mmc_ios_show(struct seq_file *s, void *data)
>         case MMC_TIMING_SD_HS:
>                 str = "sd high-speed";
>                 break;
> +       case MMC_TIMING_UHS_SDR12:
> +               str = "sd uhs SDR12";
> +               break;
> +       case MMC_TIMING_UHS_SDR25:
> +               str = "sd uhs SDR25";
> +               break;
>         case MMC_TIMING_UHS_SDR50:
>                 str = "sd uhs SDR50";
>                 break;
> --
> 2.3.7
>
>
> --
> 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

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

end of thread, other threads:[~2015-09-29 10:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-24  0:13 [PATCH v2] mmc: debugfs: implement ios show for SDR12 and SDR25 Shawn Lin
2015-09-29 10:30 ` Ulf Hansson

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).