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