Linux 6.7-rc7
[linux-modified.git] / Documentation / devicetree / bindings / sound / cirrus,ep9301-i2s.yaml
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/sound/cirrus,ep9301-i2s.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Cirrus EP93xx I2S Controller
8
9 description: |
10   The I2S controller is used to stream serial audio data between the external
11   I2S CODECs’, ADCs/DACs, and the ARM Core. The controller supports I2S, Left-
12   and Right-Justified DSP formats.
13
14 maintainers:
15   - Alexander Sverdlin <alexander.sverdlin@gmail.com>
16
17 allOf:
18   - $ref: dai-common.yaml#
19
20 properties:
21   compatible:
22     const: cirrus,ep9301-i2s
23
24   '#sound-dai-cells':
25     const: 0
26
27   reg:
28     maxItems: 1
29
30   interrupts:
31     maxItems: 1
32
33   clocks:
34     minItems: 3
35     maxItems: 3
36
37   clock-names:
38     items:
39       - const: mclk
40       - const: sclk
41       - const: lrclk
42
43 required:
44   - compatible
45   - '#sound-dai-cells'
46   - reg
47   - clocks
48   - clock-names
49
50 additionalProperties: false
51
52 examples:
53   - |
54     i2s: i2s@80820000 {
55         compatible = "cirrus,ep9301-i2s";
56         #sound-dai-cells = <0>;
57         reg = <0x80820000 0x100>;
58         interrupt-parent = <&vic1>;
59         interrupts = <28>;
60         clocks = <&syscon 29>,
61                  <&syscon 30>,
62                  <&syscon 31>;
63         clock-names = "mclk", "sclk", "lrclk";
64     };
65
66 ...