[PATCHv4 0/4] socfpga: Enable SD/MMC support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




From: Dinh Nguyen <dinguyen@xxxxxxxxxx>

Hi,

This is v4 of the patch series to enable SD/MMC on the SOCFPGA platform.

V4 differences from V3:

* Re-use the SOCFPGA clock driver for controlling the SDR settings of the CIU
clock. By using the .prepare member of the common clk_ops structure, the settings
of the SD/MMC CIU can be done through the common clock API in the SD/MMC driver.

* Re-use exising binding that is on the Rockchip. The "rockchip,rk2928-dw-mshc"
binding that will also work for SOCFPGA.

* Remove dw_mmm-socfpga.c that is platform specific to SOCFPGA as the only
require platform specific code is already done with "rockchip,rk2928-dw-mshc".

* Add error checking for getting "samsung,dw-mshc-sdr-timing".

* Add support for SD/MMC to socfpga_defconfig.

* Add SD/MMC dts entries for socfpga_arria5.

Thanks,

Dinh Nguyen (4):
  arm: dts: Add support for SD/MMC on SOCFPGA
  clk: socfpga: Add a hook for SD/MMC driver to control CIU clock
    settings
  mmc: dw_mmc-socfpga: Remove the SOCFPGA specific platform for dw_mmc
  ARM: socfpga_defconfig: enable SD/MMC support

 arch/arm/boot/dts/socfpga.dtsi          |   11 +++
 arch/arm/boot/dts/socfpga_arria5.dtsi   |   12 +++
 arch/arm/boot/dts/socfpga_cyclone5.dtsi |   12 +++
 arch/arm/boot/dts/socfpga_vt.dts        |   12 +++
 arch/arm/configs/socfpga_defconfig      |    2 +
 drivers/clk/socfpga/clk.c               |   22 +++++
 drivers/mmc/host/Kconfig                |    8 --
 drivers/mmc/host/dw_mmc-socfpga.c       |  138 -------------------------------
 8 files changed, 71 insertions(+), 146 deletions(-)
 delete mode 100644 drivers/mmc/host/dw_mmc-socfpga.c

-- 
1.7.9.5


--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux