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-ope.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Tegra210 OPE
8
9description:
10  The Output Processing Engine (OPE) is one of the AHUB client. It has
11  PEQ (Parametric Equalizer) and MBDRC (Multi Band Dynamic Range Compressor)
12  sub blocks for data processing.
13
14maintainers:
15  - Jon Hunter <jonathanh@nvidia.com>
16  - Mohan Kumar <mkumard@nvidia.com>
17  - Sameer Pujar <spujar@nvidia.com>
18
19allOf:
20  - $ref: dai-common.yaml#
21
22properties:
23  compatible:
24    oneOf:
25      - const: nvidia,tegra210-ope
26      - items:
27          - enum:
28              - nvidia,tegra234-ope
29              - nvidia,tegra194-ope
30              - nvidia,tegra186-ope
31          - const: nvidia,tegra210-ope
32
33  reg:
34    maxItems: 1
35
36  "#address-cells":
37    enum: [ 1, 2 ]
38
39  "#size-cells":
40    enum: [ 1, 2 ]
41
42  ranges: true
43
44  sound-name-prefix:
45    pattern: "^OPE[1-9]$"
46
47  ports:
48    $ref: /schemas/graph.yaml#/properties/ports
49    properties:
50      port@0:
51        $ref: audio-graph-port.yaml#
52        unevaluatedProperties: false
53        description:
54          OPE ACIF (Audio Client Interface) input port. This is connected
55          to corresponding ACIF output port on AHUB (Audio Hub).
56
57      port@1:
58        $ref: audio-graph-port.yaml#
59        unevaluatedProperties: false
60        description:
61          OPE ACIF output port. This is connected to corresponding ACIF
62          input port on AHUB.
63
64patternProperties:
65  '^equalizer@[0-9a-f]+$':
66    type: object
67    $ref: nvidia,tegra210-peq.yaml#
68
69  '^dynamic-range-compressor@[0-9a-f]+$':
70    type: object
71    $ref: nvidia,tegra210-mbdrc.yaml#
72
73required:
74  - compatible
75  - reg
76
77additionalProperties: false
78
79examples:
80  - |
81    processing-engine@702d8000 {
82        compatible = "nvidia,tegra210-ope";
83        reg = <0x702d8000 0x100>;
84        sound-name-prefix = "OPE1";
85    };
86
87...
88