Skip to content

Commit 2bf717b

Browse files
committed
Merge tag 'mmc-v6.14' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc
Pull MMC updates from Ulf Hansson: "MMC core: - Share a helper to convert from crypto_profile to mmc_host - Respect quirk_max_rate for non-UHS SDIO card too MMC host: - Add DT bindings for the mmc-slot - Clarify DT bindings for the mmc-controller - bcm2835: Add support for system-wide suspend/resume PM - dw_mmc-exynos: Add support for the exynos8895 variant - meson-mx-sdio: Convert DT bindings to dtschema - mtk-sd: Fixup use of two register ranges - mtk-sd: Add support for ignoring cmd response CRC - sdhci-esdhc-imx: enable 'SDHCI_QUIRK_NO_LED' quirk for S32G - sdhci-msm: Correctly set the load for the regulator - sdhci-msm: Convert to use custom crypto profile - sdhci-of-at91: Add support for the microchip sama7d65 variant" * tag 'mmc-v6.14' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc: (25 commits) mmc: sdhci-msm: Correctly set the load for the regulator mmc: hi3798mv200: Use syscon_regmap_lookup_by_phandle_args mmc: Use of_property_present() for non-boolean properties dt-bindings: mmc: samsung,exynos-dw-mshc: add specific compatible for exynos8895 mmc: sdhci-msm: convert to use custom crypto profile mmc: crypto: add mmc_from_crypto_profile() mmc: mtk-sd: Limit getting top_base to SoCs that require it dt-bindings: mmc: mtk-sd: Document compatibles that need two register ranges mmc: sdhci-acpi: Use devm_platform_ioremap_resource() mmc: sdhci-acpi: Remove not so useful error message dt-bindings: mmc: convert amlogic,meson-mx-sdio.txt to dtschema dt-bindings: mmc: document mmc-slot dt-bindings: mmc: controller: remove '|' when not needed dt-bindings: mmc: controller: move properties common with slot out to mmc-controller-common dt-bindings: mmc: controller: clarify the address-cells description mmc: bcm2835: add suspend/resume pm support dt-bindings: Drop Bhupesh Sharma from maintainers mmc: core: don't include 'pm_wakeup.h' directly mmc: mtk-sd: Add support for ignoring cmd response CRC mmc: core: Introduce the MMC_RSP_R1B_NO_CRC response ...
2 parents a4910ed + 20a0c37 commit 2bf717b

30 files changed

+750
-523
lines changed

Documentation/devicetree/bindings/crypto/qcom-qce.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
77
title: Qualcomm crypto engine driver
88

99
maintainers:
10-
- Bhupesh Sharma <[email protected]>
10+
- Bjorn Andersson <[email protected]>
11+
- Konrad Dybcio <[email protected]>
1112

1213
description:
1314
This document defines the binding for the QCE crypto

Documentation/devicetree/bindings/mmc/amlogic,meson-mx-sdio.txt

Lines changed: 0 additions & 54 deletions
This file was deleted.
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
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-mx-sdio.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Amlogic Meson6, Meson8 and Meson8b SDIO/MMC controller
8+
9+
description: |
10+
The highspeed MMC host controller on Amlogic SoCs provides an interface
11+
for MMC, SD, SDIO and SDHC types of memory cards.
12+
13+
Supported maximum speeds are the ones of the eMMC standard 4.41 as well
14+
as the speed of SD standard 2.0.
15+
16+
The hardware provides an internal "mux" which allows up to three slots
17+
to be controlled. Only one slot can be accessed at a time.
18+
19+
maintainers:
20+
- Neil Armstrong <[email protected]>
21+
22+
properties:
23+
compatible:
24+
items:
25+
- enum:
26+
- amlogic,meson8-sdio
27+
- amlogic,meson8b-sdio
28+
- const: amlogic,meson-mx-sdio
29+
30+
reg:
31+
maxItems: 1
32+
33+
interrupts:
34+
maxItems: 1
35+
36+
clocks:
37+
maxItems: 2
38+
39+
clock-names:
40+
items:
41+
- const: core
42+
- const: clkin
43+
44+
"#address-cells":
45+
const: 1
46+
47+
"#size-cells":
48+
const: 0
49+
50+
patternProperties:
51+
"slot@[0-2]$":
52+
$ref: mmc-slot.yaml#
53+
description:
54+
A node for each slot provided by the MMC controller
55+
56+
properties:
57+
reg:
58+
enum: [0, 1, 2]
59+
60+
bus-width:
61+
enum: [1, 4]
62+
63+
unevaluatedProperties: false
64+
65+
required:
66+
- compatible
67+
- reg
68+
- interrupts
69+
- clocks
70+
- clock-names
71+
- "#address-cells"
72+
- "#size-cells"
73+
74+
additionalProperties: false
75+
76+
examples:
77+
- |
78+
#include <dt-bindings/interrupt-controller/irq.h>
79+
#include <dt-bindings/interrupt-controller/arm-gic.h>
80+
mmc@c1108c20 {
81+
compatible = "amlogic,meson8-sdio", "amlogic,meson-mx-sdio";
82+
reg = <0xc1108c20 0x20>;
83+
interrupts = <GIC_SPI 28 IRQ_TYPE_EDGE_RISING>;
84+
clocks = <&clk_core>, <&clk_in>;
85+
clock-names = "core", "clkin";
86+
#address-cells = <1>;
87+
#size-cells = <0>;
88+
89+
slot@1 {
90+
compatible = "mmc-slot";
91+
reg = <1>;
92+
bus-width = <4>;
93+
};
94+
};

Documentation/devicetree/bindings/mmc/atmel,sama5d2-sdhci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ properties:
2222
- items:
2323
- enum:
2424
- microchip,sam9x7-sdhci
25+
- microchip,sama7d65-sdhci
2526
- microchip,sama7g5-sdhci
2627
- const: microchip,sam9x60-sdhci
2728

Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.yaml

Lines changed: 22 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,9 @@ properties:
3838

3939
reg:
4040
minItems: 1
41-
maxItems: 2
42-
description: |
43-
For "marvell,armada-3700-sdhci", two register areas. The first one
44-
for Xenon IP register. The second one for the Armada 3700 SoC PHY PAD
45-
Voltage Control register. Please follow the examples with compatible
46-
"marvell,armada-3700-sdhci" in below.
47-
Please also check property marvell,pad-type in below.
48-
49-
For other compatible strings, one register area for Xenon IP.
41+
items:
42+
- description: Xenon IP registers
43+
- description: Armada 3700 SoC PHY PAD Voltage Control register
5044

5145
clocks:
5246
minItems: 1
@@ -61,6 +55,17 @@ properties:
6155
interrupts:
6256
maxItems: 1
6357

58+
marvell,pad-type:
59+
$ref: /schemas/types.yaml#/definitions/string
60+
enum:
61+
- sd
62+
- fixed-1-8v
63+
description:
64+
Type of Armada 3700 SoC PHY PAD Voltage Controller register. If "sd" is
65+
selected, SoC PHY PAD is set as 3.3V at the beginning and is switched to
66+
1.8V when later in higher speed mode. If "fixed-1-8v" is selected, SoC PHY
67+
PAD is fixed 1.8V, such as for eMMC.
68+
6469
marvell,xenon-sdhc-id:
6570
$ref: /schemas/types.yaml#/definitions/uint32
6671
minimum: 0
@@ -147,27 +152,18 @@ allOf:
147152
then:
148153
properties:
149154
reg:
150-
items:
151-
- description: Xenon IP registers
152-
- description: Armada 3700 SoC PHY PAD Voltage Control register
153-
154-
marvell,pad-type:
155-
$ref: /schemas/types.yaml#/definitions/string
156-
enum:
157-
- sd
158-
- fixed-1-8v
159-
description: |
160-
Type of Armada 3700 SoC PHY PAD Voltage Controller register.
161-
If "sd" is selected, SoC PHY PAD is set as 3.3V at the beginning
162-
and is switched to 1.8V when later in higher speed mode.
163-
If "fixed-1-8v" is selected, SoC PHY PAD is fixed 1.8V, such as for
164-
eMMC.
165-
Please follow the examples with compatible
166-
"marvell,armada-3700-sdhci" in below.
155+
minItems: 2
167156

168157
required:
169158
- marvell,pad-type
170159

160+
else:
161+
properties:
162+
reg:
163+
maxItems: 1
164+
165+
marvell,pad-type: false
166+
171167
- if:
172168
properties:
173169
compatible:

0 commit comments

Comments
 (0)