Skip to content

Commit da15efe

Browse files
committed
Merge tag 'mmc-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc
Pull MMC updates from Ulf Hansson: "MMC core: - Extend slot-gpio to be used for host specific card detect interrupts - Align to common busy polling behaviour for mmc ioctls - Suggest the BFQ I/O scheduler to be built along with MMC/SD support - Add devm_mmc_alloc_host() to enable further cleanups in host drivers MMC host: - atmel-mci: Fix race condition when stopping/starting a command - dw_mmc-starfive: Add new driver to support the StarFive JH7110 variant - dw_mmc-rockchip: Add support for the RK3588 variant - jz4740: Add support for the vqmmc power supply - meson-gx: Convert the DT bindings to the dt-schema - meson-gx: Enable the platform interrupt to be used for card detect - moxart: Set the supported maximum request/block/segment sizes - renesas,sdhi: Add support for the RZ/V2M variants - sdhci: Rework code to drop SDHCI_QUIRK_MISSING_CAPS - sdhci-esdhc-imx: Improve tuning logic support - sdhci-msm: Add support for the IPQ5332 and the IPQ9574 variants - sdhci-of-dwcmshc: Add the missing device table IDs for acpi - sdhci-of-dwcmshc: Improve clock support for the Rockchip variant - sdhci-of-dwcmshc: Enable support of V4 host for the BlueField-3 variant - sdhci-pxav2: Add support for the PXA168 V1 variant - sdhci-pxav2: Add support for SDIO IRQs for the PXA168 V1 variant - uniphier-sd: Add support for SD UHS-I speed modes" * tag 'mmc-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc: (59 commits) mmc: meson-gx: Use devm_platform_get_and_ioremap_resource() mmc: meson-gx: constify member data of struct meson_host mmc: meson-gx: use devm_clk_get_enabled() for core clock mmc: core: fix return value check in devm_mmc_alloc_host() dt-bindings: mmc: meson-gx: fix interrupt binding mmc: meson-gx: support platform interrupt as card detect interrupt dt-bindings: mmc: meson-gx: support specifying cd interrupt mmc: core: support setting card detect interrupt from drivers mmc: starfive: Add sdio/emmc driver support dt-bindings: mmc: Add StarFive MMC module dt-bindings: mmc: sdhci-msm: Allow 1 icc path dt-bindings: mmc: rockchip-dw-mshc: Add RK3588 compatible string mmc: core: Align to common busy polling behaviour for mmc ioctls dt-bindings: mmc: Add resets property to cadence SDHCI binding mmc: meson-gx: remove meson_mmc_get_cd mmc: moxart: set maximum request/block/segment sizes mmc: sdhci-brcmstb: Use devm_platform_get_and_ioremap_resource() mmc: sdhci-of-dwcmshc: add the missing device table IDs for acpi mmc: sdhci-of-dwcmshc: Update DLL and pre-change delay for rockchip platform mmc: jz4740: Add support for vqmmc power supply ...
2 parents 6ffb575 + 571f235 commit da15efe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+922
-236
lines changed

Documentation/devicetree/bindings/mmc/allwinner,sun4i-a10-mmc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
77
title: Allwinner A10 MMC Controller
88

99
allOf:
10-
- $ref: "mmc-controller.yaml"
10+
- $ref: mmc-controller.yaml
1111

1212
maintainers:
1313
- Chen-Yu Tsai <[email protected]>
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/mmc/amlogic,meson-gx-mmc.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Amlogic SD / eMMC controller for S905/GXBB family SoCs
8+
9+
description:
10+
The MMC 5.1 compliant host controller on Amlogic provides the
11+
interface for SD, eMMC and SDIO devices
12+
13+
maintainers:
14+
- Neil Armstrong <[email protected]>
15+
16+
allOf:
17+
- $ref: mmc-controller.yaml#
18+
19+
properties:
20+
compatible:
21+
oneOf:
22+
- const: amlogic,meson-axg-mmc
23+
- items:
24+
- const: amlogic,meson-gx-mmc
25+
- const: amlogic,meson-gxbb-mmc
26+
27+
reg:
28+
maxItems: 1
29+
30+
interrupts:
31+
minItems: 1
32+
items:
33+
- description: mmc controller instance
34+
- description: card detect
35+
36+
clocks:
37+
maxItems: 3
38+
39+
clock-names:
40+
items:
41+
- const: core
42+
- const: clkin0
43+
- const: clkin1
44+
45+
resets:
46+
maxItems: 1
47+
48+
amlogic,dram-access-quirk:
49+
type: boolean
50+
description:
51+
set when controller's internal DMA engine cannot access the DRAM memory,
52+
like on the G12A dedicated SDIO controller.
53+
54+
required:
55+
- compatible
56+
- reg
57+
- interrupts
58+
- clocks
59+
- clock-names
60+
- resets
61+
62+
unevaluatedProperties: false
63+
64+
examples:
65+
- |
66+
#include <dt-bindings/interrupt-controller/irq.h>
67+
#include <dt-bindings/interrupt-controller/arm-gic.h>
68+
mmc@70000 {
69+
compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc";
70+
reg = <0x70000 0x2000>;
71+
interrupts = <GIC_SPI 216 IRQ_TYPE_EDGE_RISING>;
72+
clocks = <&clk_mmc>, <&xtal>, <&clk_div>;
73+
clock-names = "core", "clkin0", "clkin1";
74+
pinctrl-0 = <&emm_pins>;
75+
resets = <&reset_mmc>;
76+
};

Documentation/devicetree/bindings/mmc/amlogic,meson-gx.txt

Lines changed: 0 additions & 39 deletions
This file was deleted.

Documentation/devicetree/bindings/mmc/amlogic,meson-mx-sdhc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
77
title: Amlogic Meson SDHC controller
88

99
allOf:
10-
- $ref: "mmc-controller.yaml"
10+
- $ref: mmc-controller.yaml
1111

1212
maintainers:
1313
- Martin Blumenstingl <[email protected]>

Documentation/devicetree/bindings/mmc/arasan,sdhci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
22
%YAML 1.2
33
---
4-
$id: "http://devicetree.org/schemas/mmc/arasan,sdhci.yaml#"
5-
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
4+
$id: http://devicetree.org/schemas/mmc/arasan,sdhci.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
66

77
title: Arasan SDHCI Controller
88

99
maintainers:
1010
- Adrian Hunter <[email protected]>
1111

1212
allOf:
13-
- $ref: "mmc-controller.yaml#"
13+
- $ref: mmc-controller.yaml#
1414
- if:
1515
properties:
1616
compatible:

Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,50 +29,53 @@ properties:
2929
clocks:
3030
maxItems: 1
3131

32+
resets:
33+
maxItems: 1
34+
3235
# PHY DLL input delays:
3336
# They are used to delay the data valid window, and align the window to
3437
# sampling clock. The delay starts from 5ns (for delay parameter equal to 0)
3538
# and it is increased by 2.5ns in each step.
3639

3740
cdns,phy-input-delay-sd-highspeed:
3841
description: Value of the delay in the input path for SD high-speed timing
39-
$ref: "/schemas/types.yaml#/definitions/uint32"
42+
$ref: /schemas/types.yaml#/definitions/uint32
4043
minimum: 0
4144
maximum: 0x1f
4245

4346
cdns,phy-input-delay-legacy:
4447
description: Value of the delay in the input path for legacy timing
45-
$ref: "/schemas/types.yaml#/definitions/uint32"
48+
$ref: /schemas/types.yaml#/definitions/uint32
4649
minimum: 0
4750
maximum: 0x1f
4851

4952
cdns,phy-input-delay-sd-uhs-sdr12:
5053
description: Value of the delay in the input path for SD UHS SDR12 timing
51-
$ref: "/schemas/types.yaml#/definitions/uint32"
54+
$ref: /schemas/types.yaml#/definitions/uint32
5255
minimum: 0
5356
maximum: 0x1f
5457

5558
cdns,phy-input-delay-sd-uhs-sdr25:
5659
description: Value of the delay in the input path for SD UHS SDR25 timing
57-
$ref: "/schemas/types.yaml#/definitions/uint32"
60+
$ref: /schemas/types.yaml#/definitions/uint32
5861
minimum: 0
5962
maximum: 0x1f
6063

6164
cdns,phy-input-delay-sd-uhs-sdr50:
6265
description: Value of the delay in the input path for SD UHS SDR50 timing
63-
$ref: "/schemas/types.yaml#/definitions/uint32"
66+
$ref: /schemas/types.yaml#/definitions/uint32
6467
minimum: 0
6568
maximum: 0x1f
6669

6770
cdns,phy-input-delay-sd-uhs-ddr50:
6871
description: Value of the delay in the input path for SD UHS DDR50 timing
69-
$ref: "/schemas/types.yaml#/definitions/uint32"
72+
$ref: /schemas/types.yaml#/definitions/uint32
7073
minimum: 0
7174
maximum: 0x1f
7275

7376
cdns,phy-input-delay-mmc-highspeed:
7477
description: Value of the delay in the input path for MMC high-speed timing
75-
$ref: "/schemas/types.yaml#/definitions/uint32"
78+
$ref: /schemas/types.yaml#/definitions/uint32
7679
minimum: 0
7780
maximum: 0x1f
7881

@@ -83,31 +86,31 @@ properties:
8386
# Each delay property represents the fraction of the clock period.
8487
# The approximate delay value will be
8588
# (<delay property value>/128)*sdmclk_clock_period.
86-
$ref: "/schemas/types.yaml#/definitions/uint32"
89+
$ref: /schemas/types.yaml#/definitions/uint32
8790
minimum: 0
8891
maximum: 0x1f
8992

9093
cdns,phy-dll-delay-sdclk:
9194
description: |
9295
Value of the delay introduced on the sdclk output for all modes except
9396
HS200, HS400 and HS400_ES.
94-
$ref: "/schemas/types.yaml#/definitions/uint32"
97+
$ref: /schemas/types.yaml#/definitions/uint32
9598
minimum: 0
9699
maximum: 0x7f
97100

98101
cdns,phy-dll-delay-sdclk-hsmmc:
99102
description: |
100103
Value of the delay introduced on the sdclk output for HS200, HS400 and
101104
HS400_ES speed modes.
102-
$ref: "/schemas/types.yaml#/definitions/uint32"
105+
$ref: /schemas/types.yaml#/definitions/uint32
103106
minimum: 0
104107
maximum: 0x7f
105108

106109
cdns,phy-dll-delay-strobe:
107110
description: |
108111
Value of the delay introduced on the dat_strobe input used in
109112
HS400 / HS400_ES speed modes.
110-
$ref: "/schemas/types.yaml#/definitions/uint32"
113+
$ref: /schemas/types.yaml#/definitions/uint32
111114
minimum: 0
112115
maximum: 0x7f
113116

Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ maintainers:
1010
- Shawn Guo <[email protected]>
1111

1212
allOf:
13-
- $ref: "mmc-controller.yaml"
13+
- $ref: mmc-controller.yaml
1414

1515
description: |
1616
The Enhanced Secure Digital Host Controller on Freescale i.MX family
@@ -29,14 +29,23 @@ properties:
2929
- fsl,imx53-esdhc
3030
- fsl,imx6q-usdhc
3131
- fsl,imx6sl-usdhc
32-
- fsl,imx6sll-usdhc
3332
- fsl,imx6sx-usdhc
34-
- fsl,imx6ull-usdhc
3533
- fsl,imx7d-usdhc
3634
- fsl,imx7ulp-usdhc
3735
- fsl,imx8mm-usdhc
3836
- fsl,imxrt1050-usdhc
3937
- nxp,s32g2-usdhc
38+
- items:
39+
- const: fsl,imx50-esdhc
40+
- const: fsl,imx53-esdhc
41+
- items:
42+
- enum:
43+
- fsl,imx6sll-usdhc
44+
- fsl,imx6ull-usdhc
45+
- const: fsl,imx6sx-usdhc
46+
- items:
47+
- const: fsl,imx7d-usdhc
48+
- const: fsl,imx6sl-usdhc
4049
- items:
4150
- enum:
4251
- fsl,imx8mq-usdhc
@@ -98,12 +107,12 @@ properties:
98107
Specify the number of delay cells for override mode.
99108
This is used to set the clock delay for DLL(Delay Line) on override mode
100109
to select a proper data sampling window in case the clock quality is not good
101-
due to signal path is too long on the board. Please refer to eSDHC/uSDHC
110+
because the signal path is too long on the board. Please refer to eSDHC/uSDHC
102111
chapter, DLL (Delay Line) section in RM for details.
103112
default: 0
104113

105114
voltage-ranges:
106-
$ref: '/schemas/types.yaml#/definitions/uint32-matrix'
115+
$ref: /schemas/types.yaml#/definitions/uint32-matrix
107116
description: |
108117
Specify the voltage range in case there are software transparent level
109118
shifters on the outputs of the controller. Two cells are required, first
@@ -127,7 +136,7 @@ properties:
127136
Specify the increasing delay cell steps in tuning procedure.
128137
The uSDHC use one delay cell as default increasing step to do tuning process.
129138
This property allows user to change the tuning step to more than one delay
130-
cells which is useful for some special boards or cards when the default
139+
cell which is useful for some special boards or cards when the default
131140
tuning step can't find the proper delay window within limited tuning retries.
132141
default: 0
133142

Documentation/devicetree/bindings/mmc/fsl-imx-mmc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ maintainers:
1010
- Markus Pargmann <[email protected]>
1111

1212
allOf:
13-
- $ref: "mmc-controller.yaml"
13+
- $ref: mmc-controller.yaml
1414

1515
properties:
1616
compatible:

Documentation/devicetree/bindings/mmc/microchip,dw-sparx5-sdhci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
77
title: Microchip Sparx5 Mobile Storage Host Controller
88

99
allOf:
10-
- $ref: "mmc-controller.yaml"
10+
- $ref: mmc-controller.yaml
1111

1212
maintainers:
1313
- Lars Povlsen <[email protected]>
@@ -35,7 +35,7 @@ properties:
3535
microchip,clock-delay:
3636
description: Delay clock to card to meet setup time requirements.
3737
Each step increase by 1.25ns.
38-
$ref: "/schemas/types.yaml#/definitions/uint32"
38+
$ref: /schemas/types.yaml#/definitions/uint32
3939
minimum: 1
4040
maximum: 15
4141

Documentation/devicetree/bindings/mmc/mmc-pwrseq-emmc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ additionalProperties: false
4141
examples:
4242
- |
4343
#include <dt-bindings/gpio/gpio.h>
44-
sdhci0_pwrseq {
44+
pwrseq {
4545
compatible = "mmc-pwrseq-emmc";
4646
reset-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
4747
};

0 commit comments

Comments
 (0)