1. 12 1月, 2018 1 次提交
  2. 30 11月, 2017 1 次提交
  3. 17 11月, 2017 1 次提交
  4. 09 10月, 2017 1 次提交
  5. 28 9月, 2017 1 次提交
    • P
      mmc: Add MMC support for stm32h7 Socs · b312c590
      Patrice Chotard 提交于
      This patch adds SD/MMC support for STM32H7 SoCs.
      
      Here is an extraction of SDMMC main features, embedded in
      STM32H7 SoCs.
      The SD/MMC block include the following:
       _ Full compliance with MultiMediaCard System Specification
         Version 4.51. Card support for three different databus modes:
         1-bit (default), 4-bit and 8-bit.
       _ Full compatibility with previous versions of MultiMediaCards
         (backward compatibility).
       _ Full compliance with SD memory card specifications version 4.1.
         (SDR104 SDMMC_CK speed limited to maximum allowed IO speed,
          SPI mode and UHS-II mode not supported).
       _ Full compliance with SDIO card specification version 4.0.
         Card support for two different databus modes: 1-bit (default)
         and 4-bit. (SDR104 SDMMC_CK speed limited to maximum allowed IO
         speed, SPI mode and UHS-II mode not supported).
       _ Data transfer up to 208 Mbyte/s for the 8 bit mode.
         (depending maximum allowed IO speed).
       _ Data and command output enable signals to control external
         bidirectional drivers.
      
      The current version of the SDMMC supports only one SD/SDIO/MMC card
      at any one time and a stack of MMC Version 4.51 or previous.
      Signed-off-by: NChristophe Kerello <christophe.kerello@st.com>
      Signed-off-by: NPatrice Chotard <patrice.chotard@st.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      b312c590
  6. 22 9月, 2017 2 次提交
  7. 29 8月, 2017 1 次提交
    • M
      mmc: sunxi: Support new mode · de9b1771
      Maxime Ripard 提交于
      Almost all of the newer Allwinner SoCs have a new operating mode for the
      eMMC clocks that needs to be enabled in both the clock and the MMC
      controller.
      
      Details about that mode are sparse, and the name itself (new mode vs old
      mode) doesn't give much details, but it seems that the it changes the
      sampling of the MMC clock. One side effect is also that it divides the
      parent clock rate by 2.
      
      Add support for it through a Kconfig option.
      Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
      Reviewed-by: NJagan Teki <jagan@openedev.com>
      de9b1771
  8. 17 8月, 2017 2 次提交
  9. 01 8月, 2017 1 次提交
    • S
      dm: mmc: Allow disabling driver model in SPL · c4d660d4
      Simon Glass 提交于
      At present if U-Boot proper uses driver model for MMC, then SPL has to
      also. While this is desirable, it places a significant barrier to moving
      to driver model in some cases. For example, with a space-constrained SPL
      it may be necessary to enable CONFIG_SPL_OF_PLATDATA which involves
      adjusting some drivers.
      
      Add new SPL versions of the options for DM_MMC, DM_MMC_OPS and BLK. By
      default these follow their non-SPL versions, but this can be changed by
      boards which need it.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      c4d660d4
  10. 09 6月, 2017 1 次提交
  11. 15 5月, 2017 2 次提交
  12. 14 4月, 2017 2 次提交
  13. 02 4月, 2017 1 次提交
  14. 29 3月, 2017 2 次提交
  15. 21 3月, 2017 2 次提交
  16. 15 3月, 2017 2 次提交
  17. 09 2月, 2017 1 次提交
  18. 31 1月, 2017 7 次提交
  19. 25 1月, 2017 1 次提交
    • S
      mmc: Add Marvell Xenon SDHCI controller driver · b6acb5f1
      Stefan Roese 提交于
      This driver implementes platform specific code for the Xenon SDHCI
      controller which is integrated in the Marvell MVEBU Armada 37xx and
      Armada 7k / 8K SoCs.
      
      History:
      This driver is ported from the Marvell U-Boot version 2015.01 which is
      written by Victor Gu <xigu@marvell.com> with minor changes ported from
      the Linux driver which is written by Ziji Hu <huziji@marvell.com>.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Jaehoon Chung <jh80.chung@samsung.com>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NJaehoon Chung <jh80.chung@samsung.com>
      b6acb5f1
  20. 13 1月, 2017 1 次提交
  21. 11 1月, 2017 6 次提交
    • M
      mmc: move more driver config options to Kconfig · 1d2c0506
      Masahiro Yamada 提交于
      Move (and rename) the following CONFIG options to Kconfig:
      
        CONFIG_DAVINCI_MMC  (renamed to CONFIG_MMC_DAVINCI)
        CONFIG_OMAP_HSMMC   (renamed to CONFIG_MMC_OMAP_HS)
        CONFIG_MXC_MMC      (renamed to CONFIG_MMC_MXC)
        CONFIG_MXS_MMC      (renamed to CONFIG_MMC_MXS)
        CONFIG_TEGRA_MMC    (renamed to CONFIG_MMC_SDHCI_TEGRA)
        CONFIG_SUNXI_MMC    (renamed to CONFIG_MMC_SUNXI)
      
      They are the same option names as used in Linux.
      
      This commit was created as follows:
      
      [1] Rename the options with the following command:
      
      find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
      -type f -print | xargs sed -i -e '
      s/CONFIG_DAVINCI_MMC/CONFIG_MMC_DAVINCI/g
      s/CONFIG_OMAP_HSMMC/CONFIG_MMC_OMAP_HS/g
      s/CONFIG_MXC_MMC/CONFIG_MMC_MXC/g
      s/CONFIG_MXS_MMC/CONFIG_MMC_MXS/g
      s/CONFIG_TEGRA_MMC/CONFIG_MMC_SDHCI_TEGRA/g
      s/CONFIG_SUNXI_MMC/CONFIG_MMC_SUNXI/g
      '
      
      [2] Commit the changes
      
      [3] Create entries in driver/mmc/Kconfig.
          (copied from Linux)
      
      [4] Move the options with the following command
      tools/moveconfig.py -y -r HEAD \
      MMC_DAVINCI MMC_OMAP_HS MMC_MXC MMC_MXS MMC_SDHCI_TEGRA MMC_SUNXI
      
      [5] Sort and align drivers/mmc/Makefile for readability
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NMarek Vasut <marex@denx.de>
      1d2c0506
    • M
      mmc: move DesignWare-based drivers to Kconfig · ae4c81e9
      Masahiro Yamada 提交于
      Move (and rename) the following CONFIG options to Kconfig:
      
        CONFIG_EXYNOS_DWMMC  (renamed to CONFIG_MMC_DW_EXYNOS)
        CONFIG_HIKEY_DWMMC   (renamed to CONFIG_MMC_DW_K3)
        CONFIG_SOCFPGA_DWMMC (renamed to CONFIG_MMC_DW_SOCFPGA)
      
      The "HIKEY" is a board name, so it is not suitable for the MMC
      controller name.  I am following the name used in Linux.
      
      This commit was generated as follows:
      
      [1] Rename the config options with the following command:
      find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
      -type f -print | xargs sed -i -e '
      s/CONFIG_EXYNOS_DWMMC/CONFIG_MMC_DW_EXYNOS/g
      s/CONFIG_HIKEY_DWMMC/CONFIG_MMC_DW_K3/g
      s/CONFIG_SOCFPGA_DWMMC/CONFIG_MMC_DW_SOCFPGA/g
      '
      
      [2] Commit the changes
      
      [3] Create the entries in drivers/mmc/Kconfig
          (with default y for EXYNOS and SOCFPGA)
      
      [4] Run the following:
      tools/moveconfig.py -y -r HEAD MMC_DW_EXYNOS MMC_DW_K3 MMC_DW_SOCFPGA
      
      [5] Sort and align drivers/mmc/Makefile for readability
      
      [6] Clean-up doc/README.socfpga by hand
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NMarek Vasut <marex@denx.de>
      ae4c81e9
    • M
      mmc: move CONFIG_DWMMC to Kconfig, renaming to CONFIG_MMC_DW · 55ed3b46
      Masahiro Yamada 提交于
      This commit was created as follows:
      
      [1] Rename the option with the following command:
      find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
      -type f -print | xargs sed -i -e 's/CONFIG_DWMMC/CONFIG_MMC_DW/g'
      
      [2] create the entry for MMC_DW in drivers/mmc/Kconfig
          (the prompt and help were copied from Linux)
      
      [3] run "tools/moveconfig.py -y MMC_DW"
      
      [4] add "depends on MMC_DW" to the MMC_DW_ROCKCHIP entry
      
      [5] Clean-up doc/README.socfpga by hand
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NMarek Vasut <marex@denx.de>
      55ed3b46
    • M
      mmc: rename CONFIG_ROCKCHIP_DWMMC to CONFIG_MMC_DW_ROCKCHIP · fed44087
      Masahiro Yamada 提交于
      I am trying to make all DesignWare-based driver options prefixed
      with CONFIG_MMC_DW_.
      
      This commit was generated as follows:
      
      find . -name .git -prune -o -type f -print | \
      xargs sed -i -e 's/ROCKCHIP_DWMMC/MMC_DW_ROCKCHIP/g'
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NMarek Vasut <marex@denx.de>
      fed44087
    • M
      mmc: uniphier-sd: fix Kconfig dependency · 9c720c81
      Masahiro Yamada 提交于
      Some MMC drivers describe operations with the DM_MMC_OPS form, but
      there are still several drivers with older implementation.  We can
      not compile drivers from different groups at the same time because
      the core framework is shared with #ifdef CONFIG_DM_MMC_OPS.
      
      Every driver should have "depends on DM_MMC_OPS" (or !DM_MMC_OPS)
      explicitly to express which framework it is based on.  This will
      avoid enabling drivers with incompatible interface at the same time.
      It is incorrect to make a driver "select DM_MMC_OPS".
      
      While we are here, add "depends on OF_CONTROL" as well because this
      driver can be configured only by Device Tree.
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      9c720c81
    • M
      mmc: sdhci-cadence: add Cadence SD4HC support · e5e7a7c2
      Masahiro Yamada 提交于
      Add a driver for the Cadence SD4HC SD/SDIO/eMMC Controller.
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      e5e7a7c2
  22. 05 1月, 2017 1 次提交