Skip to content

Commit b833f3d

Browse files
superna9999storulf
authored andcommitted
dt-bindings: mmc: document mmc-slot
Document the mmc-slot, which is a subnode of a multi-slot MMC controller, each slot is represented as a full MMC controller, the top node handling all the shared resources and slot mux. Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Message-ID: <20241128-topic-amlogic-arm32-upstream-bindings-fixes-convert-meson-mx-sdio-v4-4-11d9f9200a59@linaro.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent b55a9f7 commit b833f3d

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/mmc/mmc-slot.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: MMC slot properties
8+
9+
maintainers:
10+
- Ulf Hansson <ulf.hansson@linaro.org>
11+
12+
description:
13+
These properties defines slot properties for MMC controlers that
14+
have multiple slots or ports provided by the same controller and
15+
sharing the same resources.
16+
17+
$ref: mmc-controller-common.yaml#
18+
19+
properties:
20+
$nodename:
21+
pattern: "^slot(@.*)?$"
22+
23+
compatible:
24+
const: mmc-slot
25+
26+
reg:
27+
description:
28+
the slot (or "port") ID
29+
maxItems: 1
30+
31+
required:
32+
- compatible
33+
- reg
34+
35+
unevaluatedProperties: false
36+
37+
examples:
38+
- |
39+
mmc {
40+
#address-cells = <1>;
41+
#size-cells = <0>;
42+
slot@0 {
43+
compatible = "mmc-slot";
44+
reg = <0>;
45+
bus-width = <4>;
46+
};
47+
};
48+
49+
...

0 commit comments

Comments
 (0)