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-v5.15' of git://git.kernel.org/pub/scm/linux/kernel/gi…
…t/ulfh/mmc Pull MMC and MEMSTICK updates from Ulf Hansson: "MMC core: - Return a proper response in case of an ioctl error - Issue HPI to interrupt BKOPS for eMMC if it timed out - Avoid hogging the CPU while polling for busy - Extend sd8787 pwrseq to support the wilc1000 SDIO - Remove a couple of confusing warning messages - Clarify comment for ->card_busy() host ops MMC host: - dw_mmc: Add data CRC error injection - mmci: De-assert reset during ->probe() - rtsx_pci: Fix long reads when clock is pre-scaled - sdhci: Correct the tuning command handle for PIO mode - sdhci-esdhc-imx: Improve support for auto tuning - sdhci-msm: Add support for the sc7280 - sdhci-of-arasan: Don't auto tune for DDR50 mode for ZynqMP - sdhci-of-arasan: Enable support for auto cmd12 - sdhci-of-arasan: Use 19MHz for SD default speed for ZynqMP for level shifter - usdhi6rol0: Implement the ->card_busy() host ops MEMSTICK: - A couple of minor cleanups" * tag 'mmc-v5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc: (52 commits) mmc: queue: Remove unused parameters(request_queue) mmc: pwrseq: sd8787: fix compilation warning mmc: core: Return correct emmc response in case of ioctl error mmc: sdhci-esdhc-imx: Select the correct mode for auto tuning mmc: sdhci-esdhc-imx: Remove redundant code for manual tuning mmc: core: Issue HPI in case the BKOPS timed out mmc: queue: Match the data type of max_segments mmc: switch from 'pci_' to 'dma_' API memstick: switch from 'pci_' to 'dma_' API memstick: r592: Change the name of the 'pci_driver' structure to be consistent mmc: pwrseq: add wilc1000_sdio dependency for pwrseq_sd8787 mmc: pwrseq: sd8787: add support for wilc1000 dt-bindings: mmc: Extend pwrseq-sd8787 binding for wilc1000 dt-bindings: mmc: fsl-imx-esdhc: change the pinctrl-names rule dt-bindings: mmc: fsl-imx-esdhc: add a new compatible string dt-bindings: mmc: renesas,sdhi: Document RZ/G2L bindings dt-bindings: mmc: renesas,sdhi: Fix dtbs-check warning mmc: core: Update ->card_busy() callback comment mmc: usdhi6rol0: Implement card_busy function mmc: sdhci: Correct the tuning command handle for PIO mode ...
- Loading branch information
Showing
41 changed files
with
647 additions
and
374 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
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 |
---|---|---|
|
@@ -9,9 +9,6 @@ title: Renesas SDHI SD/MMC controller | |
maintainers: | ||
- Wolfram Sang <[email protected]> | ||
|
||
allOf: | ||
- $ref: "mmc-controller.yaml" | ||
|
||
properties: | ||
compatible: | ||
oneOf: | ||
|
@@ -47,19 +44,20 @@ properties: | |
- const: renesas,sdhi-mmc-r8a77470 # RZ/G1C (SDHI/MMC IP) | ||
- items: | ||
- enum: | ||
- renesas,sdhi-r8a774a1 # RZ/G2M | ||
- renesas,sdhi-r8a774b1 # RZ/G2N | ||
- renesas,sdhi-r8a774c0 # RZ/G2E | ||
- renesas,sdhi-r8a774e1 # RZ/G2H | ||
- renesas,sdhi-r8a7795 # R-Car H3 | ||
- renesas,sdhi-r8a7796 # R-Car M3-W | ||
- renesas,sdhi-r8a77961 # R-Car M3-W+ | ||
- renesas,sdhi-r8a77965 # R-Car M3-N | ||
- renesas,sdhi-r8a77970 # R-Car V3M | ||
- renesas,sdhi-r8a77980 # R-Car V3H | ||
- renesas,sdhi-r8a77990 # R-Car E3 | ||
- renesas,sdhi-r8a77995 # R-Car D3 | ||
- renesas,sdhi-r8a779a0 # R-Car V3U | ||
- renesas,sdhi-r8a774a1 # RZ/G2M | ||
- renesas,sdhi-r8a774b1 # RZ/G2N | ||
- renesas,sdhi-r8a774c0 # RZ/G2E | ||
- renesas,sdhi-r8a774e1 # RZ/G2H | ||
- renesas,sdhi-r8a7795 # R-Car H3 | ||
- renesas,sdhi-r8a7796 # R-Car M3-W | ||
- renesas,sdhi-r8a77961 # R-Car M3-W+ | ||
- renesas,sdhi-r8a77965 # R-Car M3-N | ||
- renesas,sdhi-r8a77970 # R-Car V3M | ||
- renesas,sdhi-r8a77980 # R-Car V3H | ||
- renesas,sdhi-r8a77990 # R-Car E3 | ||
- renesas,sdhi-r8a77995 # R-Car D3 | ||
- renesas,sdhi-r8a779a0 # R-Car V3U | ||
- renesas,sdhi-r9a07g044 # RZ/G2{L,LC} | ||
- const: renesas,rcar-gen3-sdhi # R-Car Gen3 or RZ/G2 | ||
|
||
reg: | ||
|
@@ -69,15 +67,9 @@ properties: | |
minItems: 1 | ||
maxItems: 3 | ||
|
||
clocks: | ||
minItems: 1 | ||
maxItems: 2 | ||
clocks: true | ||
|
||
clock-names: | ||
minItems: 1 | ||
items: | ||
- const: core | ||
- const: cd | ||
clock-names: true | ||
|
||
dmas: | ||
minItems: 4 | ||
|
@@ -104,36 +96,89 @@ properties: | |
pinctrl-1: | ||
maxItems: 1 | ||
|
||
pinctrl-names: | ||
minItems: 1 | ||
items: | ||
- const: default | ||
- const: state_uhs | ||
pinctrl-names: true | ||
|
||
max-frequency: true | ||
|
||
allOf: | ||
- $ref: "mmc-controller.yaml" | ||
|
||
- if: | ||
properties: | ||
compatible: | ||
contains: | ||
const: renesas,sdhi-r9a07g044 | ||
then: | ||
properties: | ||
clocks: | ||
items: | ||
- description: IMCLK, SDHI channel main clock1. | ||
- description: IMCLK2, SDHI channel main clock2. When this clock is | ||
turned off, external SD card detection cannot be | ||
detected. | ||
- description: CLK_HS, SDHI channel High speed clock which operates | ||
4 times that of SDHI channel main clock1. | ||
- description: ACLK, SDHI channel bus clock. | ||
clock-names: | ||
items: | ||
- const: imclk | ||
- const: imclk2 | ||
- const: clk_hs | ||
- const: aclk | ||
required: | ||
- clock-names | ||
- resets | ||
else: | ||
properties: | ||
clocks: | ||
minItems: 1 | ||
maxItems: 2 | ||
clock-names: | ||
minItems: 1 | ||
items: | ||
- const: core | ||
- const: cd | ||
|
||
- if: | ||
properties: | ||
compatible: | ||
contains: | ||
const: renesas,sdhi-mmc-r8a77470 | ||
then: | ||
properties: | ||
pinctrl-names: | ||
items: | ||
- const: state_uhs | ||
else: | ||
properties: | ||
pinctrl-names: | ||
minItems: 1 | ||
items: | ||
- const: default | ||
- const: state_uhs | ||
|
||
- if: | ||
properties: | ||
compatible: | ||
contains: | ||
enum: | ||
- renesas,sdhi-r7s72100 | ||
- renesas,sdhi-r7s9210 | ||
then: | ||
required: | ||
- clock-names | ||
description: | ||
The internal card detection logic that exists in these controllers is | ||
sectioned off to be run by a separate second clock source to allow | ||
the main core clock to be turned off to save power. | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- interrupts | ||
- clocks | ||
- power-domains | ||
|
||
if: | ||
properties: | ||
compatible: | ||
contains: | ||
enum: | ||
- renesas,sdhi-r7s72100 | ||
- renesas,sdhi-r7s9210 | ||
then: | ||
required: | ||
- clock-names | ||
description: | ||
The internal card detection logic that exists in these controllers is | ||
sectioned off to be run by a separate second clock source to allow | ||
the main core clock to be turned off to save power. | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
|
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.