public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/10] r8a7790: add UHS-I (SDR50) support to Lager
@ 2016-03-12  9:15 Wolfram Sang
  2016-03-12  9:15 ` [PATCH 01/10] pinctrl: sh-pfc: r8a7790: Implement voltage switching for SDHI Wolfram Sang
                   ` (9 more replies)
  0 siblings, 10 replies; 15+ messages in thread
From: Wolfram Sang @ 2016-03-12  9:15 UTC (permalink / raw)
  To: linux-renesas-soc; +Cc: Wolfram Sang, linux-mmc, Dirk Behme, Ben Hutchings

So, here is finally the series adding SDR50 support to the Renesas Lager board.
The previous series worked fine with my Transcend card, but failed to switch
voltages on a SanDisk and Samsung card. This bug hunting resulted in patches
5-7 newly added: The clock really has to be disabled on ios->clock == 0,
setting frequency to 0Hz doesn't work. I wonder if this isn't true for some
more controllers?

Changes since RFC are described in the individual patches. I think I addressed
all comments, either by code changes or by replying in the RFC thread why I
chose to decline the suggestion :)

My "copy-large-files-around"-setup showed now 30MB/s while it had 19MB/s
without SDR50. Frankly, I hoped for a little more, but let's start with this
initial support and do the tuning incrementally I'd say.

Patch 1 should go via Geert. Patches 2-8 should go via Ulf. They don't depend
on each other. After those patches went in, Simon can take 9+10 to tie it all
together. I'd say this is 4.7 material.

Please comment, test, apply...

Thanks,

   Wolfram


Ben Hutchings (4):
  mmc: tmio, sh_mobile_sdhi: Pass tmio_mmc_host ptr to clk_{enable,disable} ops
  mmc: tmio, sh_mobile_sdhi: Add support for variable input clock frequency
  ARM: shmobile: r8a7790: Set maximum frequencies for SDHI clocks
  ARM: shmobile: r8a7790: lager: Enable UHS-I SDR-50

Wolfram Sang (6):
  pinctrl: sh-pfc: r8a7790: Implement voltage switching for SDHI
  mmc: tmio: Add UHS-I mode support
  mmc: tmio: always start clock after frequency calculation
  mmc: tmio: stop clock when 0Hz is requested
  mmc: host: add note that set_ios needs to handle 0Hz properly
  mmc: sh_mobile_sdhi: Add UHS-I mode support

 Documentation/devicetree/bindings/mmc/tmio_mmc.txt |   3 +
 arch/arm/boot/dts/r8a7790-lager.dts                |  22 +++-
 arch/arm/boot/dts/r8a7790.dtsi                     |   4 +
 drivers/mmc/host/sh_mobile_sdhi.c                  | 115 +++++++++++++++++++--
 drivers/mmc/host/tmio_mmc.h                        |   8 +-
 drivers/mmc/host/tmio_mmc_pio.c                    | 110 +++++++++++---------
 drivers/pinctrl/sh-pfc/pfc-r8a7790.c               |  54 +++++++++-
 include/linux/mmc/host.h                           |  31 ++++--
 include/linux/mmc/tmio.h                           |   2 +
 9 files changed, 279 insertions(+), 70 deletions(-)

-- 
2.7.0


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

end of thread, other threads:[~2016-03-22  8:44 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-12  9:15 [PATCH 00/10] r8a7790: add UHS-I (SDR50) support to Lager Wolfram Sang
2016-03-12  9:15 ` [PATCH 01/10] pinctrl: sh-pfc: r8a7790: Implement voltage switching for SDHI Wolfram Sang
2016-03-14  9:47   ` Geert Uytterhoeven
2016-03-22  8:35     ` Wolfram Sang
2016-03-22  8:44       ` Geert Uytterhoeven
2016-03-12  9:15 ` [PATCH 02/10] mmc: tmio, sh_mobile_sdhi: Pass tmio_mmc_host ptr to clk_{enable,disable} ops Wolfram Sang
2016-03-12  9:15 ` [PATCH 03/10] mmc: tmio, sh_mobile_sdhi: Add support for variable input clock frequency Wolfram Sang
2016-03-12  9:15 ` [PATCH 04/10] mmc: tmio: Add UHS-I mode support Wolfram Sang
2016-03-12  9:15 ` [PATCH 05/10] mmc: tmio: always start clock after frequency calculation Wolfram Sang
2016-03-12  9:15 ` [PATCH 06/10] mmc: tmio: stop clock when 0Hz is requested Wolfram Sang
2016-03-12  9:15 ` [PATCH 07/10] mmc: host: add note that set_ios needs to handle 0Hz properly Wolfram Sang
2016-03-12 18:13   ` Sergei Shtylyov
2016-03-12  9:15 ` [PATCH 08/10] mmc: sh_mobile_sdhi: Add UHS-I mode support Wolfram Sang
2016-03-12  9:15 ` [PATCH 09/10] ARM: shmobile: r8a7790: Set maximum frequencies for SDHI clocks Wolfram Sang
2016-03-12  9:15 ` [PATCH 10/10] ARM: shmobile: r8a7790: lager: Enable UHS-I SDR-50 Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox