-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path0073-dt-bindings-Add-bindings-for-Phytium-I2S-controller.patch
90 lines (86 loc) · 2.91 KB
/
0073-dt-bindings-Add-bindings-for-Phytium-I2S-controller.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
From 1a3167719746a6a663430a3da8bb5c85ae59df65 Mon Sep 17 00:00:00 2001
From: Zhang Yiqun <[email protected]>
Date: Mon, 17 Jun 2024 19:33:06 +0800
Subject: [PATCH 073/150] dt-bindings: Add bindings for Phytium I2S controller
This patch documents the DT binding for the Phytium I2S controller.
Signed-off-by: Zhang Yiqun <[email protected]>
Signed-off-by: Chen Baozi <[email protected]>
Change-Id: Id63996cdb0e2681e370c077779b633e2d7ce0555
Signed-off-by: Andrew Powers-Holmes <[email protected]>
---
.../bindings/sound/phytium,i2s.yaml | 52 +++++++++++++++++++
MAINTAINERS | 1 +
2 files changed, 53 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/phytium,i2s.yaml
diff --git a/Documentation/devicetree/bindings/sound/phytium,i2s.yaml b/Documentation/devicetree/bindings/sound/phytium,i2s.yaml
new file mode 100644
index 000000000000..06e5613cdbcf
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/phytium,i2s.yaml
@@ -0,0 +1,52 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/phytium,i2s.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Phytium I2S controller
+
+maintainers:
+ - Chen Baozi <[email protected]>
+
+properties:
+ compatible:
+ const: phytium,i2s
+
+ reg:
+ maxItems: 2
+ description: |
+ It contains two register region. The first one is for physical base
+ address and length of I2S controller. The second one is for physical
+ base address and length of DMA_BDL controller.
+
+ interrupts:
+ description: |
+ The interrupt line number for the I2S controller. It should contain
+ the DMA_BDL interrupt.
+ maxItems: 1
+
+ clocks:
+ description: Sampling rate reference clock
+ maxItems: 1
+
+ dai-name:
+ $ref: /schemas/types.yaml#/definitions/string
+ description: it will set dai's name used in driver.
+
+required:
+ - compatible
+ - reg
+ - interrupts
+ - clocks
+ - dai-name
+
+examples:
+ - |
+ i2s@28009000 {
+ compatible = "phytium,i2s";
+ reg = <0x0 0x28009000 0x0 0x1000>, <0x0 0x28005000 0x0 0x1000>;
+ interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&sysclk_600mhz>;
+ dai-name = "phytium-i2s-lsd";
+ };
diff --git a/MAINTAINERS b/MAINTAINERS
index 5af0776d6c87..0c3b48347495 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2551,6 +2551,7 @@ F: Documentation/devicetree/bindings/pci/phytium,pd2008-pcie-ep.yaml
F: Documentation/devicetree/bindings/pwm/phytium,pwm.yaml
F: Documentation/devicetree/bindings/rng/phytium,rng.yaml
F: Documentation/devicetree/bindings/sound/phytium,hda.yaml
+F: Documentation/devicetree/bindings/sound/phytium,i2s.yaml
F: Documentation/devicetree/bindings/spi/phytium,qspi-nor.yaml
F: Documentation/devicetree/bindings/spi/phytium,spi.yaml
F: Documentation/devicetree/bindings/usb/phytium,usb2.yaml
--
2.47.0