-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'mmc-v3.20-1' of git://git.linaro.org/people/ulf.hansson/mmc
Pull MMC updates from Ulf Hansson: "MMC core: - Support for MMC power sequences. - SDIO function devicetree subnode parsing. - Refactor the hardware reset routines and enable it for SD cards. - Various code quality improvements, especially for slot-gpio. MMC host: - dw_mmc: Various fixes and cleanups. - dw_mmc: Convert to mmc_send_tuning(). - moxart: Fix probe logic. - sdhci: Various fixes and cleanups - sdhci: Asynchronous request handling support. - sdhci-pxav3: Various fixes and cleanups. - sdhci-tegra: Fixes for T114, T124 and T132. - rtsx: Various fixes and cleanups. - rtsx: Support for SDIO. - sdhi/tmio: Refactor and cleanup of header files. - omap_hsmmc: Use slot-gpio and common MMC DT parser. - Make all hosts to deal with errors from mmc_of_parse(). - sunxi: Various fixes and cleanups. - sdhci: Support for Fujitsu SDHCI controller f_sdh30" * tag 'mmc-v3.20-1' of git://git.linaro.org/people/ulf.hansson/mmc: (117 commits) mmc: sdhci-s3c: solve problem with sleeping in atomic context mmc: pwrseq: add driver for emmc hardware reset mmc: moxart: fix probe logic mmc: core: Invoke mmc_pwrseq_post_power_on() prior MMC_POWER_ON state mmc: pwrseq_simple: Add optional reference clock support mmc: pwrseq: Document optional clock for the simple power sequence mmc: pwrseq_simple: Extend to support more pins mmc: pwrseq: Document that simple sequence support more than one GPIO mmc: Add hardware dependencies for sdhci-pxav3 and sdhci-pxav2 mmc: sdhci-pxav3: Modify clock settings for the SDR50 and DDR50 modes mmc: sdhci-pxav3: Extend binding with SDIO3 conf reg for the Armada 38x mmc: sdhci-pxav3: Fix Armada 38x controller's caps according to erratum ERR-7878951 mmc: sdhci-pxav3: Fix SDR50 and DDR50 capabilities for the Armada 38x flavor mmc: sdhci: switch voltage before sdhci_set_ios in runtime resume mmc: tegra: Write xfer_mode, CMD regs in together mmc: Resolve BKOPS compatability issue mmc: sdhci-pxav3: fix setting of pdata->clk_delay_cycles mmc: dw_mmc: rockchip: remove incorrect __exit_p() mmc: dw_mmc: exynos: remove incorrect __exit_p() mmc: Fix menuconfig alignment of MMC_SDHCI_* options ...
- Loading branch information
Showing
68 changed files
with
2,152 additions
and
1,180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
* The simple eMMC hardware reset provider | ||
|
||
The purpose of this driver is to perform standard eMMC hw reset | ||
procedure, as descibed by Jedec 4.4 specification. This procedure is | ||
performed just after MMC core enabled power to the given mmc host (to | ||
fix possible issues if bootloader has left eMMC card in initialized or | ||
unknown state), and before performing complete system reboot (also in | ||
case of emergency reboot call). The latter is needed on boards, which | ||
doesn't have hardware reset logic connected to emmc card and (limited or | ||
broken) ROM bootloaders are unable to read second stage from the emmc | ||
card if the card is left in unknown or already initialized state. | ||
|
||
Required properties: | ||
- compatible : contains "mmc-pwrseq-emmc". | ||
- reset-gpios : contains a GPIO specifier. The reset GPIO is asserted | ||
and then deasserted to perform eMMC card reset. To perform | ||
reset procedure as described in Jedec 4.4 specification, the | ||
gpio line should be defined as GPIO_ACTIVE_LOW. | ||
|
||
Example: | ||
|
||
sdhci0_pwrseq { | ||
compatible = "mmc-pwrseq-emmc"; | ||
reset-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; | ||
} |
25 changes: 25 additions & 0 deletions
25
Documentation/devicetree/bindings/mmc/mmc-pwrseq-simple.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
* The simple MMC power sequence provider | ||
|
||
The purpose of the simple MMC power sequence provider is to supports a set of | ||
common properties between various SOC designs. It thus enables us to use the | ||
same provider for several SOC designs. | ||
|
||
Required properties: | ||
- compatible : contains "mmc-pwrseq-simple". | ||
|
||
Optional properties: | ||
- reset-gpios : contains a list of GPIO specifiers. The reset GPIOs are asserted | ||
at initialization and prior we start the power up procedure of the card. | ||
They will be de-asserted right after the power has been provided to the | ||
card. | ||
- clocks : Must contain an entry for the entry in clock-names. | ||
See ../clocks/clock-bindings.txt for details. | ||
- clock-names : Must include the following entry: | ||
"ext_clock" (External clock provided to the card). | ||
|
||
Example: | ||
|
||
sdhci0_pwrseq { | ||
compatible = "mmc-pwrseq-simple"; | ||
reset-gpios = <&gpio1 12 0>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
* Fujitsu SDHCI controller | ||
|
||
This file documents differences between the core properties in mmc.txt | ||
and the properties used by the sdhci_f_sdh30 driver. | ||
|
||
Required properties: | ||
- compatible: "fujitsu,mb86s70-sdhci-3.0" | ||
- clocks: Must contain an entry for each entry in clock-names. It is a | ||
list of phandles and clock-specifier pairs. | ||
See ../clocks/clock-bindings.txt for details. | ||
- clock-names: Should contain the following two entries: | ||
"iface" - clock used for sdhci interface | ||
"core" - core clock for sdhci controller | ||
|
||
Optional properties: | ||
- vqmmc-supply: phandle to the regulator device tree node, mentioned | ||
as the VCCQ/VDD_IO supply in the eMMC/SD specs. | ||
|
||
Example: | ||
|
||
sdhci1: mmc@36600000 { | ||
compatible = "fujitsu,mb86s70-sdhci-3.0"; | ||
reg = <0 0x36600000 0x1000>; | ||
interrupts = <0 172 0x4>, | ||
<0 173 0x4>; | ||
bus-width = <4>; | ||
vqmmc-supply = <&vccq_sdhci1>; | ||
clocks = <&clock 2 2 0>, <&clock 2 3 0>; | ||
clock-names = "iface", "core"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.