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-mvc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Tegra210 MVC Device Tree Bindings
8
9description: |
10  The Master Volume Control (MVC) provides gain or attenuation to a digital
11  signal path. It can be used in input or output signal path for per-stream
12  volume control or it can be used as master volume control. The MVC block
13  has one input and one output. The input digital stream can be mono or
14  multi-channel (up to 7.1 channels) stream. An independent mute control is
15  also included in the MVC block.
16
17maintainers:
18  - Jon Hunter <jonathanh@nvidia.com>
19  - Mohan Kumar <mkumard@nvidia.com>
20  - Sameer Pujar <spujar@nvidia.com>
21
22allOf:
23  - $ref: name-prefix.yaml#
24
25properties:
26  $nodename:
27    pattern: "^mvc@[0-9a-f]*$"
28
29  compatible:
30    oneOf:
31      - const: nvidia,tegra210-mvc
32      - items:
33          - enum:
34              - nvidia,tegra194-mvc
35              - nvidia,tegra186-mvc
36          - const: nvidia,tegra210-mvc
37
38  reg:
39    maxItems: 1
40
41  sound-name-prefix:
42    pattern: "^MVC[1-9]$"
43
44  ports:
45    $ref: /schemas/graph.yaml#/properties/ports
46    properties:
47      port@0:
48        $ref: audio-graph-port.yaml#
49        unevaluatedProperties: false
50        description: |
51          MVC ACIF (Audio Client Interface) input port. This is connected
52          to corresponding ACIF output port on AHUB (Audio Hub).
53
54      port@1:
55        $ref: audio-graph-port.yaml#
56        unevaluatedProperties: false
57        description: |
58          MVC ACIF output port. This is connected to corresponding ACIF
59          input port on AHUB.
60
61required:
62  - compatible
63  - reg
64
65additionalProperties: false
66
67examples:
68  - |
69
70    mvc@702da000 {
71        compatible = "nvidia,tegra210-mvc";
72        reg = <0x702da000 0x200>;
73        sound-name-prefix = "MVC1";
74    };
75
76...
77