linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] mmc: sdhci-esdhc-imx: add SD3.0 support
@ 2013-09-04 12:54 Dong Aisheng
  2013-09-04 12:54 ` [PATCH 1/8] mmc: sdhci: add hooks for platform specific tuning Dong Aisheng
                   ` (8 more replies)
  0 siblings, 9 replies; 33+ messages in thread
From: Dong Aisheng @ 2013-09-04 12:54 UTC (permalink / raw)
  To: linux-mmc; +Cc: cjb, anton, shawn.guo, linux-arm-kernel, s.hauer, b29396

This patch series add SD3.0 support for i.MX6Q/DL.
Since freescale i.MX6Q/DL uSDHC clock tuning progress is a little different from
the standard tuning process defined in host controller spec v3.0.
So we add a hook to allow execute platform specific tuning instead of
standard host controller tuning.

The main difference are:
1) not only generate Buffer Read Ready interrupt when tuning is performing.
It generates all other DATA interrupts like the normal data command.
2) SDHCI_CTRL_EXEC_TUNING is not automatically cleared by HW,
instead it's controlled by SW.
3) SDHCI_CTRL_TUNED_CLK is not automatically set by HW,
it's controlled by SW.
4) the clock delay for every tuning is set by SW.

Tested on i.MX6Q Sabreauto board.

The series is based on latest Linus tree.

Dong Aisheng (8):
  mmc: sdhci: add hooks for platform specific tuning
  mmc: sdhci: allow platform access of sdhci_send_command
  sdhci: sdhci-esdhc-imx: support real clock on and off for imx6q
  sdhci: sdhci-esdhci-imx: add sd3.0 clock tuning support
  sdhci: sdhci-esdhc-imx: change pinctrl state according to uhs mode
  mmc: sdhci-esdhc: correct pre_div for imx6q
  mmc: sdhci-esdhc: set actual_clock in clock setting
  ARM: dts: imx6qdl: add uhs pinctrl state for usdhc3

 arch/arm/boot/dts/imx6dl.dtsi               |   33 +++
 arch/arm/boot/dts/imx6q.dtsi                |   33 +++
 arch/arm/boot/dts/imx6qdl-sabreauto.dtsi    |    4 +-
 drivers/mmc/host/sdhci-esdhc-imx.c          |  307 ++++++++++++++++++++++++++-
 drivers/mmc/host/sdhci-esdhc.h              |   35 +++-
 drivers/mmc/host/sdhci.c                    |   12 +-
 drivers/mmc/host/sdhci.h                    |    3 +
 include/linux/platform_data/mmc-esdhc-imx.h |    4 +
 8 files changed, 419 insertions(+), 12 deletions(-)



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

end of thread, other threads:[~2013-09-27  0:28 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-04 12:54 [PATCH 0/8] mmc: sdhci-esdhc-imx: add SD3.0 support Dong Aisheng
2013-09-04 12:54 ` [PATCH 1/8] mmc: sdhci: add hooks for platform specific tuning Dong Aisheng
2013-09-05  3:14   ` Shawn Guo
2013-09-05 14:53     ` Dong Aisheng
2013-09-04 12:54 ` [PATCH 2/8] mmc: sdhci: allow platform access of sdhci_send_command Dong Aisheng
2013-09-04 12:54 ` [PATCH 3/8] sdhci: sdhci-esdhc-imx: support real clock on and off for imx6q Dong Aisheng
2013-09-05  4:32   ` Shawn Guo
2013-09-05 14:59     ` Dong Aisheng
2013-09-04 12:54 ` [PATCH 4/8] sdhci: sdhci-esdhci-imx: add sd3.0 clock tuning support Dong Aisheng
2013-09-05  6:00   ` Shawn Guo
2013-09-05 15:02     ` Dong Aisheng
2013-09-05  7:33   ` Ulf Hansson
2013-09-05 17:52     ` Dong Aisheng
2013-09-16  7:48       ` Ulf Hansson
2013-09-04 12:54 ` [PATCH 5/8] sdhci: sdhci-esdhc-imx: change pinctrl state according to uhs mode Dong Aisheng
2013-09-05  6:34   ` Shawn Guo
2013-09-05 15:06     ` Dong Aisheng
2013-09-05  7:38   ` Ulf Hansson
2013-09-05 16:04     ` Dong Aisheng
2013-09-13 14:01       ` Ulf Hansson
2013-09-13 16:38         ` Dong Aisheng
2013-09-05 18:40   ` Matt Sealey
2013-09-11  9:26     ` Dong Aisheng
2013-09-27  0:28       ` Matt Sealey
2013-09-04 12:54 ` [PATCH 6/8] mmc: sdhci-esdhc: correct pre_div for imx6q Dong Aisheng
2013-09-04 12:54 ` [PATCH 7/8] mmc: sdhci-esdhc: set actual_clock in clock setting Dong Aisheng
2013-09-04 12:54 ` [PATCH 8/8] ARM: dts: imx6qdl: add uhs pinctrl state for usdhc3 Dong Aisheng
2013-09-05  6:43   ` Shawn Guo
2013-09-05 15:09     ` Dong Aisheng
2013-09-05  8:03   ` Sascha Hauer
2013-09-05 15:29     ` Dong Aisheng
2013-09-05  7:42 ` [PATCH 0/8] mmc: sdhci-esdhc-imx: add SD3.0 support Ulf Hansson
2013-09-05 18:01   ` Dong Aisheng

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