xref: /linux/Documentation/devicetree/bindings/sound/nvidia,tegra210-mvc.yaml (revision 9fd2da71c301184d98fe37674ca8d017d1ce6600)
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
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: dai-common.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,tegra264-mvc
35              - nvidia,tegra234-mvc
36              - nvidia,tegra194-mvc
37              - nvidia,tegra186-mvc
38          - const: nvidia,tegra210-mvc
39
40  reg:
41    maxItems: 1
42
43  sound-name-prefix:
44    pattern: "^MVC[1-9]$"
45
46  ports:
47    $ref: /schemas/graph.yaml#/properties/ports
48    properties:
49      port@0:
50        $ref: audio-graph-port.yaml#
51        unevaluatedProperties: false
52        description: |
53          MVC ACIF (Audio Client Interface) input port. This is connected
54          to corresponding ACIF output port on AHUB (Audio Hub).
55
56      port@1:
57        $ref: audio-graph-port.yaml#
58        unevaluatedProperties: false
59        description: |
60          MVC ACIF output port. This is connected to corresponding ACIF
61          input port on AHUB.
62
63required:
64  - compatible
65  - reg
66
67additionalProperties: false
68
69examples:
70  - |
71
72    mvc@702da000 {
73        compatible = "nvidia,tegra210-mvc";
74        reg = <0x702da000 0x200>;
75        sound-name-prefix = "MVC1";
76    };
77
78...
79