linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] UHS-I support for sh_mobile_sdhi
@ 2015-05-17  0:27 Ben Hutchings
  2015-05-17  0:28 ` [PATCH 1/6] mmc: tmio: Add UHS-I mode support Ben Hutchings
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Ben Hutchings @ 2015-05-17  0:27 UTC (permalink / raw)
  To: Ian Molton, linux-mmc
  Cc: linux-sh, linux-gpio, linux-kernel, Sergei Shtylyov, Simon Horman

This series adds support for UHS-I in sh_mobile_sdhi, partly implemented
in tmio_mmc.  This does not yet include tuning for SDR-104, but SDR-50 now
works on the R8A7790 Lager board and another development board.

The pfc block needs to be reconfigured from 3.3V to 1.8V signalling on
the pins wired to the SD card.  This is supported by adding separate
functions for 1.8V signalling in sh-pfc ("sdhi0_1v8" etc.).  I expect
that several SH SoCs have this capability, but I only have the R8A7790
data sheet so I only implemented it for that one.

Changes since the RFC:
- Replace the 'regulator' devices for signal voltage switching with
  pinctrl functions and states
- Drop 'mmc: sh_mobile_sdhi: Add actual clock rate support' as it's
  redundant
- Use a switch statement in sh_mobile_sdhi_start_signal_voltage_switch()
- Fix subject prefix for the DT changes

Ben.

Ben Dooks (1):
  ARM: shmobile: lager: Set sdhi and mmcif clock rates

Ben Hutchings (5):
  mmc: tmio: Add UHS-I mode support
  pinctrl: sh-pfc: Add set_mux operation to struct sh_pfc_function
  pinctrl: sh-pfc: r8a7790: Add separate functions for SDHI 1.8V
    operation
  mmc: sh_mobile_sdhi: Add UHS-I mode support
  ARM: shmobile: lager: Enable UHS-I SDR-50

 arch/arm/boot/dts/r8a7790-lager.dts  |   29 +++++++++++++-
 drivers/mmc/host/sh_mobile_sdhi.c    |   58 ++++++++++++++++++++++++++++
 drivers/mmc/host/tmio_mmc.h          |    3 ++
 drivers/mmc/host/tmio_mmc_pio.c      |   31 +++++++++++++++
 drivers/pinctrl/sh-pfc/core.c        |    2 +-
 drivers/pinctrl/sh-pfc/core.h        |    1 +
 drivers/pinctrl/sh-pfc/pfc-r8a7790.c |   70 ++++++++++++++++++++++++++++++++--
 drivers/pinctrl/sh-pfc/pinctrl.c     |    4 ++
 drivers/pinctrl/sh-pfc/sh_pfc.h      |   10 ++++-
 9 files changed, 200 insertions(+), 8 deletions(-)

-- 
1.7.10.4




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

end of thread, other threads:[~2015-05-26 18:17 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-17  0:27 [PATCH 0/6] UHS-I support for sh_mobile_sdhi Ben Hutchings
2015-05-17  0:28 ` [PATCH 1/6] mmc: tmio: Add UHS-I mode support Ben Hutchings
2015-05-17  0:28 ` [PATCH 2/6] pinctrl: sh-pfc: Add set_mux operation to struct sh_pfc_function Ben Hutchings
2015-05-17  0:28 ` [PATCH 3/6] pinctrl: sh-pfc: r8a7790: Add separate functions for SDHI 1.8V operation Ben Hutchings
2015-05-17  0:29 ` [PATCH 4/6] mmc: sh_mobile_sdhi: Add UHS-I mode support Ben Hutchings
2015-05-18  1:05   ` Kuninori Morimoto
2015-05-18 17:00     ` Ben Hutchings
2015-05-17  0:29 ` [PATCH 5/6] ARM: shmobile: lager: Set sdhi and mmcif clock rates Ben Hutchings
2015-05-17  8:13   ` Geert Uytterhoeven
2015-05-18 19:48     ` Ben Hutchings
2015-05-26 18:17       ` Ben Hutchings
2015-05-17  0:39 ` [PATCH 6/6] ARM: shmobile: lager: Enable UHS-I SDR-50 Ben Hutchings
2015-05-25  1:07   ` Simon Horman
2015-05-25  4:00     ` Kuninori Morimoto
2015-05-25  5:07       ` Simon Horman

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