- 17 2月, 2017 1 次提交
-
-
由 Stefan Herbrechtsmeier 提交于
The zynq_sdhci controller driver use CONFIG_ZYNQ_SDHCI_MAX_FREQ as base clock frequency but this clock is not fixed and depends on the hardware configuration. Additionally the value of CONFIG_ZYNQ_SDHCI_MAX_FREQ doesn't match the real base clock frequency of SDIO_FREQ. Use the clock framework to determine the frequency at run time. Signed-off-by: NStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Reviewed-by: NJaehoon Chung <jh80.chung@samsung.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 23 1月, 2017 1 次提交
-
-
由 Stefan Herbrechtsmeier 提交于
The sdhci controller assumes that the base clock frequency is fully supported by the peripheral and doesn't support hardware limitations. The Linux kernel distinguishes between base clock (max_clk) of the host controller and maximum frequency (f_max) of the card interface. Use the same differentiation and allow the platform to constrain the peripheral interface. Signed-off-by: NStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
-
- 10 10月, 2016 1 次提交
-
-
由 Jaehoon Chung 提交于
"host->version" isn't a SoC specific value. It doesn't need to get in each SoC drivers. Signed-off-by: NJaehoon Chung <jh80.chung@samsung.com> Reviewed-by: NMinkyu Kang <mk7.kang@samsung.com>
-
- 24 9月, 2016 1 次提交
-
-
由 Masahiro Yamada 提交于
These functions can be much simpler by squashing lines for immediate return. For *_bind() callbacks, they will be a simple wrapper function of an upper-level bind API. For mmc_set_{boot_bus_width,part_conf}, they will be a wrapper of mmc_switch(). Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: NJaehoon Chung <jh80.chung@samsung.com>
-
- 06 8月, 2016 1 次提交
-
-
由 Tom Rini 提交于
We no longer need to set 'caps' as it's not passed to sdhci_setup_cfg anymore. Fixes: 14bed52d ("mmc: sdhci: remove the unnecessary arguments for sdhci_setup_cfg") Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 05 8月, 2016 2 次提交
-
-
由 Jaehoon Chung 提交于
Some arguments don't need to pass to sdhci_setup_cfg. Generic variable can be used in sdhci_setup_cfg, and some arguments are already included in sdhci_host struct. It's enough that just pass the board specific things to sdhci_setup_cfg(). After removing the unnecessary arguments, it's more simpler than before. It doesn't consider "Version" and "Capabilities" anymore in each SoC driver. Signed-off-by: NJaehoon Chung <jh80.chung@samsung.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Jaehoon Chung 提交于
buswidth isn't used anywhere in sdhci_setup_cfg. Signed-off-by: NJaehoon Chung <jh80.chung@samsung.com> Reviewed-by: NMinkyu Kang <mk7.kang@samsung.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 28 7月, 2016 1 次提交
-
-
由 Simon Glass 提交于
Move zynq to the latest driver model support by enabling CONFIG_DM_MMC, CONFIG_DM_MMC_OPS and CONFIG_BLK. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 17 5月, 2016 1 次提交
-
-
由 Simon Glass 提交于
Update the existing drivers to set up this new pointer. This will be required by the MMC uclass. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 26 4月, 2016 1 次提交
-
-
由 Masahiro Yamada 提交于
This allows to drop annoying (char *) casts when setting the host name of struct sdhci_host. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
- 27 1月, 2016 2 次提交
-
-
Add quirk to disable high speed incase the high speed was broken.This solves the issue where the the controller is used in High Speed Mode and the the hold time requirement for the JEDEC/MMC 4.41 specification is NOT met. This timing issue is not on all boards and hence provided config option to enable it when required. Signed-off-by: NSiva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: NEmil Lenchak <emill@xilinx.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
Remove hardcoded value zero as min frequency and use config option CONFIG_ZYNQ_SDHCI_MIN_FREQ defined in board config Signed-off-by: NSiva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 07 12月, 2015 3 次提交
-
-
由 Michal Simek 提交于
Move driver to DM Signed-off-by: NMichal Simek <michal.simek@xilinx.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Michal Simek 提交于
Prepare for using DM. Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
Calculate the minimum sd clock based on max clock. This will be done by add_sdhci() if we pass minimum clock as zero. It also does based on SD host contoller version. Signed-off-by: NSiva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 19 11月, 2015 1 次提交
-
-
由 Michal Simek 提交于
zc1571 with silicon can operate on 200MHz maximum frequency. Setup this frequency by default and fix setting for ep108. Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 19 8月, 2015 1 次提交
-
-
由 Masahiro Yamada 提交于
We have flipped CONFIG_SPL_DISABLE_OF_CONTROL. We have cleansing devices, $(SPL_) and CONFIG_IS_ENABLED(), so we are ready to clear away the ugly logic in include/fdtdec.h: #ifdef CONFIG_OF_CONTROL # if defined(CONFIG_SPL_BUILD) && !defined(SPL_OF_CONTROL) # define OF_CONTROL 0 # else # define OF_CONTROL 1 # endif #else # define OF_CONTROL 0 #endif Now CONFIG_IS_ENABLED(OF_CONTROL) is the substitute. It refers to CONFIG_OF_CONTROL for U-boot proper and CONFIG_SPL_OF_CONTROL for SPL. Also, we no longer have to cancel CONFIG_OF_CONTROL in include/config_uncmd_spl.h and scripts/Makefile.spl. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: NTom Rini <trini@konsulko.com> Reviewed-by: NSimon Glass <sjg@chromium.org> Acked-by: NLinus Walleij <linus.walleij@linaro.org>
-
- 05 5月, 2015 1 次提交
-
-
由 Rob Herring 提交于
High capacity support is not a host capability, but a device capability that is queried via the OCR. The flag in the operating conditions request argument can just be set unconditionally. This matches the Linux implementation. [panto] Hand merged and renumbering MMC_MODE_DDR_52MHz. Signed-off-by: NRob Herring <robh@kernel.org> Signed-off-by: NPantelis Antoniou <pantelis.antoniou@konsulko.com> Cc: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
-
- 29 4月, 2015 1 次提交
-
-
Remove the quirk SDHCI_QUIRK_NO_CD as it is not required. Signed-off-by: NSiva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 21 1月, 2015 1 次提交
-
-
由 Michal Simek 提交于
phys_addr_t is designed for physical addresses that's why use it. Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 04 3月, 2014 1 次提交
-
-
由 Michal Simek 提交于
Enable initialize sdhci from DTB. Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 07 2月, 2014 1 次提交
-
-
As per the below commit "mmc: sdhci: add the quirk for broken r1b response" (sha1: 3a638320) need to add quirk SDHCI_QUIRK_BROKEN_R1B, when the response type is R1b. Signed-off-by: NSiva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com> Acked-by: NJagannadha Sutradharudu Teki <jaganna@xilinx.com> Signed-off-by: NPantelis Antoniou <panto@antoniou-consulting.com>
-
- 24 7月, 2013 1 次提交
-
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: NTom Rini <trini@ti.com>
-
- 30 4月, 2013 1 次提交
-
-
由 Michal Simek 提交于
Add support for SD, MMC and eMMC card on Xilinx Zynq. Signed-off-by: NMichal Simek <michal.simek@xilinx.com> Reviewed-by: NTom Rini <trini@ti.com>
-