-
Notifications
You must be signed in to change notification settings - Fork 114
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-v4.15' of git://git.kernel.org/pub/scm/linux/kernel/gi…
…t/ulfh/mmc Pull MMC updates from Ulf Hansson: "MMC core: - Introduce host claiming by context to support blkmq - Preparations for enabling CQE (eMMC CMDQ) requests - Re-factorizations to prepare for blkmq support - Re-factorizations to prepare for CQE support - Fix signal voltage switch for SD cards without power cycle - Convert RPMB to a character device - Export eMMC revision via sysfs - Support eMMC DT binding for fixed driver type - Document mmc_regulator_get_supply() API MMC host: - omap_hsmmc: Updated regulator management for PBIAS - sdhci-omap: Add new OMAP SDHCI driver - meson-mx-sdio: New driver for the Amlogic Meson8 and Meson8b SoCs - sdhci-pci: Add support for Intel CDF - sdhci-acpi: Fix voltage switch for some Intel host controllers - sdhci-msm: Enable delay circuit calibration clocks - sdhci-msm: Manage power IRQ properly - mediatek: Add support of mt2701/mt2712 - mediatek: Updates management of clocks and tunings - mediatek: Upgrade eMMC HS400 support - rtsx_pci: Update tuning for gen3 PCI-Express - renesas_sdhi: Support R-Car Gen[123] fallback compatibility strings - Catch all errors when getting regulators - Various additional improvements and cleanups" * tag 'mmc-v4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc: (91 commits) sdhci-fujitsu: add support for setting the CMD_DAT_DELAY attribute dt-bindings: sdhci-fujitsu: document cmd-dat-delay property mmc: tmio: Replace msleep() of 20ms or less with usleep_range() mmc: dw_mmc: Convert timers to use timer_setup() mmc: dw_mmc: Cleanup the DTO timer like the CTO one mmc: vub300: Use common code in __download_offload_pseudocode() mmc: tmio: Use common error handling code in tmio_mmc_host_probe() mmc: Convert timers to use timer_setup() mmc: sdhci-acpi: Fix voltage switch for some Intel host controllers mmc: sdhci-acpi: Let devices define their own private data mmc: mediatek: perfer to use rise edge latching for cmd line mmc: mediatek: improve eMMC hs400 mode read performance mmc: mediatek: add latch-ck support mmc: mediatek: add support of source_cg clock mmc: mediatek: add stop_clk fix and enhance_rx support mmc: mediatek: add busy_check support mmc: mediatek: add async fifo and data tune support mmc: mediatek: add pad_tune0 support mmc: mediatek: make hs400_tune_response only for mt8173 arm64: dts: mt8173: remove "mediatek, mt8135-mmc" from mmc nodes ...
- Loading branch information
Showing
66 changed files
with
3,256 additions
and
581 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,4 @@ | ||
What: /sys/bus/mmc/devices/.../rev | ||
Date: October 2017 | ||
Contact: Jin Qian <jinqian@android.com> | ||
Description: Extended CSD revision number |
54 changes: 54 additions & 0 deletions
54
Documentation/devicetree/bindings/mmc/amlogic,meson-mx-sdio.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,54 @@ | ||
* Amlogic Meson6, Meson8 and Meson8b SDIO/MMC controller | ||
|
||
The highspeed MMC host controller on Amlogic SoCs provides an interface | ||
for MMC, SD, SDIO and SDHC types of memory cards. | ||
|
||
Supported maximum speeds are the ones of the eMMC standard 4.41 as well | ||
as the speed of SD standard 2.0. | ||
|
||
The hardware provides an internal "mux" which allows up to three slots | ||
to be controlled. Only one slot can be accessed at a time. | ||
|
||
Required properties: | ||
- compatible : must be one of | ||
- "amlogic,meson8-sdio" | ||
- "amlogic,meson8b-sdio" | ||
along with the generic "amlogic,meson-mx-sdio" | ||
- reg : mmc controller base registers | ||
- interrupts : mmc controller interrupt | ||
- #address-cells : must be 1 | ||
- size-cells : must be 0 | ||
- clocks : phandle to clock providers | ||
- clock-names : must contain "core" and "clkin" | ||
|
||
Required child nodes: | ||
A node for each slot provided by the MMC controller is required. | ||
NOTE: due to a driver limitation currently only one slot (= child node) | ||
is supported! | ||
|
||
Required properties on each child node (= slot): | ||
- compatible : must be "mmc-slot" (see mmc.txt within this directory) | ||
- reg : the slot (or "port") ID | ||
|
||
Optional properties on each child node (= slot): | ||
- bus-width : must be 1 or 4 (8-bit bus is not supported) | ||
- for cd and all other additional generic mmc parameters | ||
please refer to mmc.txt within this directory | ||
|
||
Examples: | ||
mmc@c1108c20 { | ||
compatible = "amlogic,meson8-sdio", "amlogic,meson-mx-sdio"; | ||
reg = <0xc1108c20 0x20>; | ||
interrupts = <0 28 1>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
clocks = <&clkc CLKID_SDIO>, <&clkc CLKID_CLK81>; | ||
clock-names = "core", "clkin"; | ||
|
||
slot@1 { | ||
compatible = "mmc-slot"; | ||
reg = <1>; | ||
|
||
bus-width = <4>; | ||
}; | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
* TI OMAP SDHCI Controller | ||
|
||
Refer to mmc.txt for standard MMC bindings. | ||
|
||
Required properties: | ||
- compatible: Should be "ti,dra7-sdhci" for DRA7 and DRA72 controllers | ||
- ti,hwmods: Must be "mmc<n>", <n> is controller instance starting 1 | ||
|
||
Example: | ||
mmc1: mmc@4809c000 { | ||
compatible = "ti,dra7-sdhci"; | ||
reg = <0x4809c000 0x400>; | ||
ti,hwmods = "mmc1"; | ||
bus-width = <4>; | ||
vmmc-supply = <&vmmc>; /* phandle to regulator node */ | ||
}; |
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.