Debian Codegraph @

Documentation/devicetree/bindings/sound/nvidia,tegra210-adx.yaml

raw
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/sound/nvidia,tegra210-adx.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Tegra210 ADX
8
9 description: |
10 The Audio Demultiplexer (ADX) block takes an input stream with up to
11 16 channels and demultiplexes it into four output streams of up to 16
12 channels each. A byte RAM helps to form output frames by any combination
13 of bytes from the input frame. Its design is identical to that of byte
14 RAM in the AMX except that the data flow direction is reversed.
15
16 maintainers:
17 - Jon Hunter <[email protected]>
18 - Mohan Kumar <[email protected]>
19 - Sameer Pujar <[email protected]>
20
21 allOf:
22 - $ref: dai-common.yaml#
23
24 properties:
25 $nodename:
26 pattern: "^adx@[0-9a-f]*$"
27
28 compatible:
29 oneOf:
30 - enum:
31 - nvidia,tegra210-adx
32 - nvidia,tegra264-adx
33 - items:
34 - enum:
35 - nvidia,tegra234-adx
36 - nvidia,tegra194-adx
37 - nvidia,tegra186-adx
38 - const: nvidia,tegra210-adx
39
40 reg:
41 maxItems: 1
42
43 sound-name-prefix:
44 pattern: "^ADX[1-9]$"
45
46 ports:
47 $ref: /schemas/graph.yaml#/properties/ports
48 description: |
49 ADX has one input and four outputs. Accordingly ACIF (Audio Client
50 Interface) port nodes are defined to represent ADX input (port 0)
51 and outputs (ports 1 to 4). These are connected to corresponding
52 ports on AHUB (Audio Hub).
53 properties:
54 port@0:
55 $ref: audio-graph-port.yaml#
56 unevaluatedProperties: false
57 description: ADX ACIF input port
58 patternProperties:
59 '^port@[1-4]':
60 $ref: audio-graph-port.yaml#
61 unevaluatedProperties: false
62 description: ADX ACIF output ports
63
64 required:
65 - compatible
66 - reg
67
68 additionalProperties: false
69
70 examples:
71 - |
72
73 adx@702d3800 {
74 compatible = "nvidia,tegra210-adx";
75 reg = <0x702d3800 0x100>;
76 sound-name-prefix = "ADX1";
77 };
78
79 ...