xref: /linux/Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml (revision e49a3eac9207e9575337f70feeb29430f6f16bb7)
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,tegra264-ope
29              - nvidia,tegra234-ope
30              - nvidia,tegra194-ope
31              - nvidia,tegra186-ope
32          - const: nvidia,tegra210-ope
33
34  reg:
35    maxItems: 1
36
37  "#address-cells":
38    enum: [ 1, 2 ]
39
40  "#size-cells":
41    enum: [ 1, 2 ]
42
43  ranges: true
44
45  sound-name-prefix:
46    pattern: "^OPE[1-9]$"
47
48  ports:
49    $ref: /schemas/graph.yaml#/properties/ports
50    properties:
51      port@0:
52        $ref: audio-graph-port.yaml#
53        unevaluatedProperties: false
54        description:
55          OPE ACIF (Audio Client Interface) input port. This is connected
56          to corresponding ACIF output port on AHUB (Audio Hub).
57
58      port@1:
59        $ref: audio-graph-port.yaml#
60        unevaluatedProperties: false
61        description:
62          OPE ACIF output port. This is connected to corresponding ACIF
63          input port on AHUB.
64
65patternProperties:
66  '^equalizer@[0-9a-f]+$':
67    type: object
68    $ref: nvidia,tegra210-peq.yaml#
69
70  '^dynamic-range-compressor@[0-9a-f]+$':
71    type: object
72    $ref: nvidia,tegra210-mbdrc.yaml#
73
74required:
75  - compatible
76  - reg
77
78additionalProperties: false
79
80examples:
81  - |
82    processing-engine@702d8000 {
83        compatible = "nvidia,tegra210-ope";
84        reg = <0x702d8000 0x100>;
85        sound-name-prefix = "OPE1";
86    };
87
88...
89