xref: /linux/Documentation/devicetree/bindings/sound/linux,spdif.yaml (revision 68a052239fc4b351e961f698b824f7654a346091)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/linux,spdif.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Dummy SPDIF Transmitter/Receiver
8
9maintainers:
10  - Mark Brown <broonie@kernel.org>
11
12allOf:
13  - $ref: dai-common.yaml#
14
15properties:
16  compatible:
17    enum:
18      - linux,spdif-dit
19      - linux,spdif-dir
20
21  "#sound-dai-cells":
22    const: 0
23
24  sound-name-prefix: true
25
26  port:
27    $ref: /schemas/graph.yaml#/properties/port
28
29required:
30  - "#sound-dai-cells"
31  - compatible
32
33additionalProperties: false
34
35examples:
36  - |
37    spdif-out {
38        #sound-dai-cells = <0>;
39        compatible = "linux,spdif-dit";
40    };
41
42...
43