forked from torvalds/linux
-
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-v4.18' of git://git.kernel.org/pub/scm/linux/kernel/gi…
…t/ulfh/mmc Pull MMC updates from Ulf Hansson: "MMC core: - Decrease polling rate for erase/trim/discard - Allow non-sleeping GPIOs for card detect - Improve mmc block removal path - Enable support for mmc_sw_reset() for SDIO cards - Add mmc_sw_reset() to allow users to do a soft reset of the card - Allow power delay to be tunable via DT - Allow card detect debounce delay to be tunable via DT - Enable new quirk to limit clock rate for Marvell 8887 chip - Don't show eMMC RPMB and BOOT areas in /proc/partitions - Add capability to avoid 3.3V signaling for fragile HWs MMC host: - Improve/fixup support for handle highmem pages - Remove depends on HAS_DMA in case of platform dependency - mvsdio: Enable support for erase/trim/discard - rtsx_usb: Enable support for erase/trim/discard - renesas_sdhi: Fix WP logic regressions - renesas_sdhi: Add r8a77965 support - renesas_sdhi: Add R8A77980 to whitelist - meson: Add optional support for device reset - meson: Add support for the Meson-AXG platform - dw_mmc: Add new driver for BlueField DW variant - mediatek: Add support for 64G DRAM DMA - sunxi: Deploy runtime PM support - jz4740: Add support for JZ4780 - jz4740: Enable support for DT based platforms - sdhci: Various improvement to timeout handling - sdhci: Disable support for HS200/HS400/UHS when no 1.8V support - sdhci-omap: Add support for controller in k2g SoC - sdhci-omap: Add workarounds for a couple of Erratas - sdhci-omap: Enable support for generic sdhci DT properties - sdhci-cadence: Re-send tune request to deal with errata - sdhci-pci: Fix 3.3V voltage switch for some BYT-based Intel controllers - sdhci-pci: Avoid 3.3V signaling on some NI 904x - sdhci-esdhc-imx: Use watermark levels for PIO access - sdhci-msm: Improve card detection handling - sdhci-msm: Add support voltage pad switching" * tag 'mmc-v4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc: (104 commits) mmc: renesas_sdhi: really fix WP logic regressions mmc: mvsdio: Enable MMC_CAP_ERASE mmc: mvsdio: Respect card busy time out from mmc core mmc: sdhci-msm: Remove NO_CARD_NO_RESET quirk mmc: sunxi: Use ifdef rather than __maybe_unused mmc: mxmmc: Use ifdef rather than __maybe_unused mmc: mxmmc: include linux/highmem.h mmc: sunxi: mark PM functions as __maybe_unused mmc: Throttle calls to MMC_SEND_STATUS during mmc_do_erase() mmc: au1xmmc: handle highmem pages mmc: Allow non-sleeping GPIO cd mmc: sdhci-*: Don't emit error msg if sdhci_add_host() fails mmc: sd: Define name for default speed dtr mmc: core: Move calls to ->prepare_hs400_tuning() closer to mmc code mmc: sdhci-xenon: use match_string() helper mmc: wbsd: handle highmem pages mmc: ushc: handle highmem pages mmc: mxcmmc: handle highmem pages mmc: atmel-mci: use sg_copy_{from,to}_buffer mmc: android-goldfish: use sg_copy_{from,to}_buffer ...
- Loading branch information
Showing
66 changed files
with
1,382 additions
and
431 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
29 changes: 29 additions & 0 deletions
29
Documentation/devicetree/bindings/mmc/bluefield-dw-mshc.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,29 @@ | ||
* Mellanox Bluefield SoC specific extensions to the Synopsys Designware | ||
Mobile Storage Host Controller | ||
|
||
Read synopsys-dw-mshc.txt for more details | ||
|
||
The Synopsys designware mobile storage host controller is used to interface | ||
a SoC with storage medium such as eMMC or SD/MMC cards. This file documents | ||
differences between the core Synopsys dw mshc controller properties described | ||
by synopsys-dw-mshc.txt and the properties used by the Mellanox Bluefield SoC | ||
specific extensions to the Synopsys Designware Mobile Storage Host Controller. | ||
|
||
Required Properties: | ||
|
||
* compatible: should be one of the following. | ||
- "mellanox,bluefield-dw-mshc": for controllers with Mellanox Bluefield SoC | ||
specific extensions. | ||
|
||
Example: | ||
|
||
/* Mellanox Bluefield SoC MMC */ | ||
mmc@6008000 { | ||
compatible = "mellanox,bluefield-dw-mshc"; | ||
reg = <0x6008000 0x400>; | ||
interrupts = <32>; | ||
fifo-depth = <0x100>; | ||
clock-frequency = <24000000>; | ||
bus-width = <8>; | ||
cap-mmc-highspeed; | ||
}; |
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,38 @@ | ||
* Ingenic JZ47xx MMC controllers | ||
|
||
This file documents the device tree properties used for the MMC controller in | ||
Ingenic JZ4740/JZ4780 SoCs. These are in addition to the core MMC properties | ||
described in mmc.txt. | ||
|
||
Required properties: | ||
- compatible: Should be one of the following: | ||
- "ingenic,jz4740-mmc" for the JZ4740 | ||
- "ingenic,jz4780-mmc" for the JZ4780 | ||
- reg: Should contain the MMC controller registers location and length. | ||
- interrupts: Should contain the interrupt specifier of the MMC controller. | ||
- clocks: Clock for the MMC controller. | ||
|
||
Optional properties: | ||
- dmas: List of DMA specifiers with the controller specific format | ||
as described in the generic DMA client binding. A tx and rx | ||
specifier is required. | ||
- dma-names: RX and TX DMA request names. | ||
Should be "rx" and "tx", in that order. | ||
|
||
For additional details on DMA client bindings see ../dma/dma.txt. | ||
|
||
Example: | ||
|
||
mmc0: mmc@13450000 { | ||
compatible = "ingenic,jz4780-mmc"; | ||
reg = <0x13450000 0x1000>; | ||
|
||
interrupt-parent = <&intc>; | ||
interrupts = <37>; | ||
|
||
clocks = <&cgu JZ4780_CLK_MSC0>; | ||
clock-names = "mmc"; | ||
|
||
dmas = <&dma JZ4780_DMA_MSC0_RX 0xffffffff>, <&dma JZ4780_DMA_MSC0_TX 0xffffffff>; | ||
dma-names = "rx", "tx"; | ||
}; |
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
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.