-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path0013-dt-bindings-mmc-phytium-Add-bindings-for-Phytium-SDC.patch
96 lines (91 loc) · 2.45 KB
/
0013-dt-bindings-mmc-phytium-Add-bindings-for-Phytium-SDC.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
From eb2a8cb784c4cca9be1277af5441ac0f56184afe Mon Sep 17 00:00:00 2001
From: Chen Baozi <[email protected]>
Date: Mon, 17 Jun 2024 19:33:01 +0800
Subject: [PATCH 013/150] dt-bindings: mmc: phytium: Add bindings for Phytium
SDCI
Add binding documentation for Phytium SDCI controller.
Signed-off-by: Chen Baozi <[email protected]>
Change-Id: I7ed8947f14f4cbc2e5e1a853eb2e08e26ee47f4b
Signed-off-by: Andrew Powers-Holmes <[email protected]>
---
.../devicetree/bindings/mmc/phytium,sdci.yaml | 58 +++++++++++++++++++
MAINTAINERS | 1 +
2 files changed, 59 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mmc/phytium,sdci.yaml
diff --git a/Documentation/devicetree/bindings/mmc/phytium,sdci.yaml b/Documentation/devicetree/bindings/mmc/phytium,sdci.yaml
new file mode 100644
index 000000000000..9c56e5fe0187
--- /dev/null
+++ b/Documentation/devicetree/bindings/mmc/phytium,sdci.yaml
@@ -0,0 +1,58 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/mmc/phytium,sdci.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Phytium SDCI Controller Binding
+
+maintainers:
+ - Chen Baozi <[email protected]>
+
+allOf:
+ - $ref: mmc-controller.yaml#
+
+properties:
+ compatible:
+ enum:
+ - phytium,sdci
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ minItems: 3
+ maxItems: 3
+
+ clocks:
+ minItems: 1
+ items:
+ - description: core clock
+
+ clock-names:
+ minItems: 1
+ items:
+ - const: phytium_sdc_clk
+
+required:
+ - compatible
+ - reg
+ - interrupts
+ - clocks
+ - clock-names
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ sdci: sdci@28207c00 {
+ compatible = "phytium,sdci";
+ reg = <0x0 0x28207c00 0x0 0x100>;
+ interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&sysclk_600mhz>;
+ clock-names = "phytium_sdc_clk";
+ };
+
+...
diff --git a/MAINTAINERS b/MAINTAINERS
index 615941ad7495..68c840f1656a 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2531,6 +2531,7 @@ M: Chen Baozi <[email protected]>
S: Maintained
W: https://www.phytium.com.cn
F: Documentation/devicetree/bindings/gpio/phytium,gpio.yaml
+F: Documentation/devicetree/bindings/mmc/phytium,sdci.yaml
F: arch/arm64/boot/dts/phytium/*
F: drivers/gpio/gpio-phytium*
--
2.47.0