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 implementing the pinconf power-source parameter. 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 v2: - Implement the pinconf power-source parameter instead of separate functions for the low-voltage mode - Adjust low-voltage mode setter function and device tree accordingly - Add low-voltage mode getter function for R8A7790 Changes since v1: - Reword commit message for "mmc: tmio: Add UHS-I mode support" - Make sh_mobile_sdhi_start_signal_voltage_switch() succeed if asked to switch to 3.3V and the regulator or pinctrl or pinctrl state is missing - Drop change to mmcif clock on Lager - Correct original author for sdhi clock changes on Lager 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 Hutchings (5): mmc: tmio: Add UHS-I mode support pinctrl: sh-pfc: Add low-voltage pinconf parameter pinctrl: sh-pfc: r8a7790: Implement voltage switching for SDHI mmc: sh_mobile_sdhi: Add UHS-I mode support ARM: shmobile: lager: Enable UHS-I SDR-50 Ian Molton (1): ARM: shmobile: lager: Set clock rates for SDHI .../bindings/pinctrl/renesas,pfc-pinctrl.txt | 6 +- arch/arm/boot/dts/r8a7790-lager.dts | 28 ++++++++- drivers/mmc/host/sh_mobile_sdhi.c | 60 +++++++++++++++++++ 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 | 67 +++++++++++++++++++++- drivers/pinctrl/sh-pfc/pinctrl.c | 57 +++++++++++++++--- drivers/pinctrl/sh-pfc/sh_pfc.h | 11 ++++ 10 files changed, 252 insertions(+), 14 deletions(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html