1. 15 3月, 2017 1 次提交
    • P
      STiH410: Add STi SDHCI driver · eee20f81
      Patrice Chotard 提交于
      Add SDHCI host controller found on STMicroelectronics SoCs
      
      On some ST SoCs, i.e. STiH407/STiH410, the MMC devices can live
      inside a dedicated flashSS sub-system that provides an extend subset
      of registers that can be used to configure the Arasan MMC/SD Host
      Controller.
      
      This means, that the SDHCI Arasan Controller can be configured to be
      eMMC4.5 or 4.3 spec compliant.
      
      W/o these settings the SDHCI will configure and use the MMC/SD
      controller with limited features e.g. PIO mode, no DMA, no HS etc.
      Signed-off-by: NPatrice Chotard <patrice.chotard@st.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      Reviewed-by: NJaehoon Chung <jh80.chung@samsung.com>
      eee20f81
  2. 09 2月, 2017 1 次提交
  3. 31 1月, 2017 7 次提交
  4. 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
  5. 13 1月, 2017 1 次提交
  6. 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
  7. 05 1月, 2017 1 次提交
  8. 30 12月, 2016 5 次提交
    • M
      mmc: move MMC_SDHCI_IO_ACCESSORS to Kconfig · 3d3a74cc
      Masahiro Yamada 提交于
      This is a user-unconfigurable option that is selected by the
      drivers that need to overwrite SDHCI IO memory accessors.
      (BCM2835 SDHCI seems the only driver that needs to do so.)
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      Reviewed-by: NJaehoon Chung <jh80.chung@samsung.com>
      3d3a74cc
    • M
      mmc: move some SDHCI related options to Kconfig · 45a68fe2
      Masahiro Yamada 提交于
      While I moved the options, I also renamed them so that they are all
      prefixed with MMC_SDHCI_.
      
      This commit was created in the following steps.
      
      [1] Rename with the following command
      find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
      -type f -print | xargs sed -i -e '
      s/CONFIG_MMC_SDMA/CONFIG_MMC_SDHCI_SDMA/g
      s/CONFIG_BCM2835_SDHCI/CONFIG_MMC_SDHCI_BCM2835/g
      s/CONFIG_KONA_SDHCI/CONFIG_MMC_SDHCI_KONA/g
      s/CONFIG_MV_SDHCI/CONFIG_MMC_SDHCI_MV/g
      s/CONFIG_S5P_SDHCI/CONFIG_MMC_SDHCI_S5P/g
      s/CONFIG_SPEAR_SDHCI/CONFIG_MMC_SDHCI_SPEAR/g
      '
      
      [2] create the Kconfig entries in drivers/mmc/Kconfig
      
      [3] Move the options by the following command
      tools/moveconfig.py -y MMC_SDHCI_SDMA MMC_SDHCI_BCM2835 \
      MMC_SDHCI_KONA MMC_SDHCI_MV MMC_SDHCI_S5P MMC_SDHCI_SPEAR
      
      [4] Sort drivers/mmc/Makefile for readability
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      Reviewed-by: NJaehoon Chung <jh80.chung@samsung.com>
      45a68fe2
    • M
      mmc: move CONFIG_SDHCI to Kconfig, renaming to CONFIG_MMC_SDHCI · e1ce61fb
      Masahiro Yamada 提交于
      Move CONFIG_SDHCI to Kconfig and rename it to CONFIG_MMC_SDHCI.
      My motivation for the rename is, ultimately, to make all the MMC
      options prefixed with MMC_ and SDHCI options with MMC_SDHCI_,
      like Linux.
      
      This commit was created as follows:
      
      [1] Rename the config option with the following command:
      find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
      -type f -print | xargs sed -i -e 's/CONFIG_SDHCI/CONFIG_MMC_SDHCI/g'
      
      [2] create the entry for MMC_SDHCI in drivers/mmc/Kconfig
      
      [3] run "tools/moveconfig.py -y MMC_SDHCI"
      
      [4] add "depends on MMC_SDHCI" to existing SDHCI driver entries
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      Reviewed-by: NJaehoon Chung <jh80.chung@samsung.com>
      e1ce61fb
    • M
      mmc: make MMC driver entries dependent on MMC · e298c46a
      Masahiro Yamada 提交于
      Currently, CONFIG_MMC is not related to any other options by
      "depends on" or "select".  One of big advantages of using Kconfig
      is automatic dependency tracking, but the current state is lacking
      it.  As the first step, make the existing MMC driver entries depend
      on MMC.
      
      This commit was created by the following steps:
      
      [1] Run the following script:
      
      --------------------8<--------------------
      rm -f tmp.txt
      
      for d in $(find . -path './configs/*_defconfig')
      do
              if grep -q -e 'CONFIG_MSM_SDHCI=y' $d ||
                 grep -q -e 'CONFIG_ATMEL_SDHCI=y' $d ||
                 grep -q -e 'CONFIG_ROCKCHIP_DWMMC=y' $d ||
                 grep -q -e 'CONFIG_SH_SDHI=y' $d ||
                 grep -q -e 'CONFIG_PIC32_SDHCI=y' $d ||
                 grep -q -e 'CONFIG_ZYNQ_SDHCI=y' $d ||
                 grep -q -e 'CONFIG_ROCKCHIP_SDHCI=y' $d ||
                 grep -q -e 'CONFIG_MMC_UNIPHIER=y' $d ||
                 grep -q -e 'CONFIG_SANDBOX_MMC=y' $d
              then
                      echo CONFIG_MMC=y >> $d
                      echo ${d#./configs/} >> tmp.txt
              fi
      done
      
      tools/moveconfig.py -y -s -d tmp.txt
      rm tmp.txt
      --------------------8<--------------------
      
      [2] surround MMC driver entries with "if MMC" and "endif"
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      Reviewed-by: NJaehoon Chung <jh80.chung@samsung.com>
      e298c46a
    • M
      mmc: complete unfinished move of CONFIG_MMC · c2726995
      Masahiro Yamada 提交于
      Commit 7a777f6d ("mmc: Add generic Kconfig option") created
      a Kconfig entry for this option without any actual moves, then
      commit 44c79879 ("sunxi: Use Kconfig CONFIG_MMC") moved
      instances only for SUNXI.
      
      We generally do not like such partial moves.  This kind of work
      is automated by tools/moveconfig.py, so it is pretty easy to
      complete this move.
      
      I am adding "default ARM || PPC || SANDBOX" (suggested by Tom).
      This shortens the configs and will ease new board porting.
      
      This commit was created as follows:
      
      [1] Edit Kconfig (remove the "depends on", add the "default",
          copy the prompt and help message from Linux)
      
      [2] Run 'tools/moveconfig.py -y -s -r HEAD MMC'
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NJaehoon Chung <jh80.chung@samsung.com>
      c2726995
  9. 22 12月, 2016 1 次提交
  10. 01 12月, 2016 1 次提交
  11. 12 10月, 2016 1 次提交
  12. 14 9月, 2016 1 次提交
  13. 28 8月, 2016 1 次提交
  14. 16 8月, 2016 1 次提交
  15. 26 7月, 2016 1 次提交
    • K
      mmc: rockchip: add SDHCI driver support for rockchip soc · 79c83065
      Kever Yang 提交于
      Rockchip rk3399 using arasan sdhci-5.1 controller.
      This patch add the controller support to enable mmc device
      with full driver-model support, tested on rk3399 evb board.
      
      According to my test result, this driver should be OK,
      the command "part list mmc 0" can result in a right output,
      but all the mmc command failed like this:
      	=> mmc info
      	No MMC device available
      	Command failed, result=1
      
      The result of get_mmc_num in cmd/mmc.c is always 0?
      Signed-off-by: NKever Yang <kever.yang@rock-chips.com>
      Acked-by: NSimon Glass <sjg@chromium.org>
      79c83065
  16. 16 7月, 2016 1 次提交
    • R
      Various, unrelated tree-wide typo fixes. · 62a3b7dd
      Robert P. J. Day 提交于
          Fix a number of typos, including:
      
           * "compatble" -> "compatible"
           * "eanbeld" -> "enabled"
           * "envrionment" -> "environment"
           * "FTD" -> "FDT" (for "flattened device tree")
           * "ommitted" -> "omitted"
           * "overriden" -> "overridden"
           * "partiton" -> "partition"
           * "propogate" -> "propagate"
           * "resourse" -> "resource"
           * "rest in piece" -> "rest in peace"
           * "suport" -> "support"
           * "varible" -> "variable"
      Signed-off-by: NRobert P. J. Day <rpjday@crashcourse.ca>
      62a3b7dd
  17. 12 7月, 2016 2 次提交
  18. 17 5月, 2016 1 次提交
  19. 02 4月, 2016 1 次提交
  20. 29 2月, 2016 1 次提交
  21. 22 2月, 2016 1 次提交
  22. 02 2月, 2016 1 次提交
  23. 21 10月, 2015 2 次提交