- 02 5月, 2018 1 次提交
-
-
由 Hannes Schmelzer 提交于
Some IP-core implementations of the SDHCI have different troubles on the silicon where they are placed. On ZYNQ platform for example Xilinx doesn't accept the hold timing of an eMMC chip which operates in High-Speed mode and must be forced to operate in non high-speed mode. To get rid of this "SDHCI_QUIRK_BROKEN_HISPD_MODE" is introduced. For more details about this refer to the Xilinx answer-recor #59999 https://www.xilinx.com/support/answers/59999.html This commit: - doesn't set HISPD bit on the host-conroller - reflects this fact within the host-controller capabilities Upon this the layer above (mmc-driver) can setup the card correctly. Otherwise the MMC card will be switched into high-speed mode and causes possible timing violation on the host-controller side. Signed-off-by: NHannes Schmelzer <oe5hpm@oevsv.at> Signed-off-by: NHannes Schmelzer <hannes.schmelzer@br-automation.com>
-
- 17 8月, 2017 1 次提交
-
-
由 Simon Glass 提交于
All boards which use DM_MMC have now been converted to use DM_MMC_OPS. Drop the option and good riddance. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 25 1月, 2017 1 次提交
-
-
由 Stefan Roese 提交于
Some SDHCI drivers might need to do some special controller configuration after the common clock set_ios() function has been called (speed / width configuration). This patch adds a call to the newly created function set_ios_port() when its configured in the host driver. This will be used by the Xenon SDHCI controller driver used on the Marvell Armada 3700 and 7k/8k ARM64 SoCs. Signed-off-by: NStefan Roese <sr@denx.de> Cc: Jaehoon Chung <jh80.chung@samsung.com> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: NJaehoon Chung <jh80.chung@samsung.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>
-
- 11 1月, 2017 5 次提交
-
-
由 Jaehoon Chung 提交于
Ther is no usage anywhere. It doesn't need to maintain this bit. Signed-off-by: NJaehoon Chung <jh80.chung@samsung.com>
-
由 Jaehoon Chung 提交于
The using the bitops is too easy controlling than now. Signed-off-by: NJaehoon Chung <jh80.chung@samsung.com>
-
由 Jaehoon Chung 提交于
callback function should be moved into sdhci_ops struct. Other controller can use these ops for controlling clock or their own specific register. Signed-off-by: NJaehoon Chung <jh80.chung@samsung.com>
-
由 Jaehoon Chung 提交于
This quirk doesn't need anymore. It's replaced to get_cd callback function. Signed-off-by: NJaehoon Chung <jh80.chung@samsung.com>
-
由 Jaehoon Chung 提交于
Some SoCs can have their own card dect scheme. Then they may use this get_cd callback function after implementing init in their drivers. Signed-off-by: NJaehoon Chung <jh80.chung@samsung.com>
-
- 20 9月, 2016 1 次提交
-
-
由 Wenyou Yang 提交于
Add the programmable clock mode for the clock generator. Signed-off-by: NWenyou Yang <wenyou.yang@atmel.com>
-
- 16 8月, 2016 1 次提交
-
-
由 Wenyou Yang 提交于
Convert the driver to the driver model while retaining the existing legacy code. This allows the driver to support boards that have converted to driver model as well as those that have not. Signed-off-by: NWenyou Yang <wenyou.yang@atmel.com> Reviewed-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NJaehoon Chung <jh80.chung@samsung.com> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
- 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>
-
- 12 7月, 2016 1 次提交
-
-
由 Simon Glass 提交于
Add support for using driver model for block devices and MMC operations in this driver. 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>
-
- 30 1月, 2015 1 次提交
-
-
由 Simon Glass 提交于
These functions are going away, so use the new uclass support instead. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 24 3月, 2014 1 次提交
-
-
由 Pantelis Antoniou 提交于
The way that struct mmc was implemented was a bit of a mess; configuration and internal state all jumbled up in a single structure. On top of that the way initialization is done with mmc_register leads to a lot of duplicated code in drivers. Typically the initialization got something like this in every driver. struct mmc *mmc = malloc(sizeof(struct mmc)); memset(mmc, 0, sizeof(struct mmc); /* fill in fields of mmc struct */ /* store private data pointer */ mmc_register(mmc); By using the new mmc_create call one just passes an mmc config struct and an optional private data pointer like this: struct mmc = mmc_create(&cfg, priv); All in tree drivers have been updated to the new form, and expect mmc_register to go away before long. Changes since v1: * Use calloc instead of manually calling memset. * Mark mmc_register as deprecated. Signed-off-by: NPantelis Antoniou <panto@antoniou-consulting.com>
-
- 12 3月, 2014 1 次提交
-
-
由 Piotr Wilczek 提交于
This patch enables support for device tree for sdhci driver. Non DT case is still supported. Signed-off-by: NPiotr Wilczek <p.wilczek@samsung.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com>
-
- 18 9月, 2013 1 次提交
-
-
由 Jaehoon Chung 提交于
Samsung SoC is supported the WIDE8, even if Controller version is v2.0. So add the SDHCI_QUIRK_USE_WIDE8 for Samsung-SoC. Signed-off-by: NJaehoon Chung <jh80.chung@samsung.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.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>
-
- 28 11月, 2012 1 次提交
-
-
由 Mela Custodio 提交于
Bring in the code from Linux kernel. Added to Linux kernel by: commit e08c1694d9e2138204f2b79b73f0f159074ce2f5 Author: Andres Salomon <dilinger@queued.net> Date: Fri Jul 4 10:00:03 2008 -0700 Some HW balks when writing both voltage setting and power up at the same time to SDHCI_POWER_CONTROL register. Signed-off-by: NRommel G Custodio <sessyargc@gmail.com> CC: Andy Fleming <afleming@freescale.com> v2: fix attribution and SOB Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
- 22 10月, 2012 1 次提交
-
-
由 Tushar Behera 提交于
MMC host controller requires a delay between every sdhci_send_cmd() execution. In s5p_mmc driver (s5p_sdhci replaces this driver), a delay of 1000us was provided after every mmc_send_cmd() call. Adding a quirk in current sdhci driver to replicate the behaviour. Without this delay, MMC initialization on Origen board fails with following error messages. Timeout for status update! mmc fail to send stop cmd Signed-off-by: NTushar Behera <tushar.behera@linaro.org> Signed-off-by: NJaehoon Chung <jh80.chung@samsung.com> Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
- 06 9月, 2012 2 次提交
-
-
由 Jaehoon Chung 提交于
Samsung SoC use the cmu control to set clock. Signed-off-by: NJaehoon Chung <jh80.chung@samsung.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
由 Joe Hershberger 提交于
Some boards have no Card Detect wired. In that case, set the CD test bits in the standard interface. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
- 09 5月, 2012 2 次提交
-
-
由 Jaehoon Chung 提交于
To support the Samsung-SoC, added the basically functions. Samsung-SoC didn't used the SDHCI_CTRL_HISPD. And added set_control_reg callback for s3c64xx. Signed-off-by: NJaehoon Chung <jh80.chung@samsung.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> Acked-by: Lei Wen<leiwen@marvell.com>
-
由 Jaehoon Chung 提交于
When response type is R1b, mask value is added the SDHCI_INT_DAT_END. but in while(), didn't check that flag. So sdhci controller didn't work fine. CMD6 didn't always complete. So add the quirks for broken r1b response and add the timeout value to prevent the infinite loop. Signed-off-by: NJaehoon Chung <jh80.chung@samsung.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> Acked-by: Lei Wen<leiwen@marvell.com>
-
- 26 11月, 2011 1 次提交
-
-
由 Ajay Bhargav 提交于
sdhci_readw does not work for host version read in Armada100 series SoCs. This patch fix this issue by making a sdhci_readl call to get host version. Signed-off-by: NAjay Bhargav <ajay.bhargav@einfochips.com>
-
- 03 11月, 2011 2 次提交
-
-
由 Lei Wen 提交于
So that sdhci host would tell in the driver that the mmc current attributes. Signed-off-by: NLei Wen <leiwen@marvell.com>
-
由 Lei Wen 提交于
If CONFIG_MMC_SDHCI_IO_ACCESSORS is defined, the following warning would shows up: include/sdhci.h:224: warning: 'struct sdhci_host' declared inside parameter list include/sdhci.h:224: warning: its scope is only this definition or declaration, which is probably not what you want include/sdhci.h:225: warning: 'struct sdhci_host' declared inside parameter list include/sdhci.h:226: warning: 'struct sdhci_host' declared inside parameter list include/sdhci.h:227: warning: 'struct sdhci_host' declared inside parameter list include/sdhci.h:228: warning: 'struct sdhci_host' declared inside parameter list include/sdhci.h:229: warning: 'struct sdhci_host' declared inside parameter list Signed-off-by: NLei Wen <leiwen@marvell.com>
-
- 16 7月, 2011 1 次提交
-
-
由 Lei Wen 提交于
Nowdays, there are plenty of mmc driver in uboot adopt the sd standard host design, aka as sdhci. It is better to centralize the common logic together to better maintenance. Signed-off-by: NLei Wen <leiwen@marvell.com> Acked-by: NAndy Fleming <afleming@freescale.com>
-