xref: /freebsd/sys/contrib/device-tree/Bindings/sound/nvidia,tegra210-mvc.yaml (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
18cc087a1SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
28cc087a1SEmmanuel Vadot%YAML 1.2
38cc087a1SEmmanuel Vadot---
48cc087a1SEmmanuel Vadot$id: http://devicetree.org/schemas/sound/nvidia,tegra210-mvc.yaml#
58cc087a1SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68cc087a1SEmmanuel Vadot
77ef62cebSEmmanuel Vadottitle: Tegra210 MVC
88cc087a1SEmmanuel Vadot
98cc087a1SEmmanuel Vadotdescription: |
108cc087a1SEmmanuel Vadot  The Master Volume Control (MVC) provides gain or attenuation to a digital
118cc087a1SEmmanuel Vadot  signal path. It can be used in input or output signal path for per-stream
128cc087a1SEmmanuel Vadot  volume control or it can be used as master volume control. The MVC block
138cc087a1SEmmanuel Vadot  has one input and one output. The input digital stream can be mono or
148cc087a1SEmmanuel Vadot  multi-channel (up to 7.1 channels) stream. An independent mute control is
158cc087a1SEmmanuel Vadot  also included in the MVC block.
168cc087a1SEmmanuel Vadot
178cc087a1SEmmanuel Vadotmaintainers:
188cc087a1SEmmanuel Vadot  - Jon Hunter <jonathanh@nvidia.com>
198cc087a1SEmmanuel Vadot  - Mohan Kumar <mkumard@nvidia.com>
208cc087a1SEmmanuel Vadot  - Sameer Pujar <spujar@nvidia.com>
218cc087a1SEmmanuel Vadot
228cc087a1SEmmanuel VadotallOf:
23*8bab661aSEmmanuel Vadot  - $ref: dai-common.yaml#
248cc087a1SEmmanuel Vadot
258cc087a1SEmmanuel Vadotproperties:
268cc087a1SEmmanuel Vadot  $nodename:
278cc087a1SEmmanuel Vadot    pattern: "^mvc@[0-9a-f]*$"
288cc087a1SEmmanuel Vadot
298cc087a1SEmmanuel Vadot  compatible:
308cc087a1SEmmanuel Vadot    oneOf:
318cc087a1SEmmanuel Vadot      - const: nvidia,tegra210-mvc
328cc087a1SEmmanuel Vadot      - items:
338cc087a1SEmmanuel Vadot          - enum:
34c9ccf3a3SEmmanuel Vadot              - nvidia,tegra234-mvc
358cc087a1SEmmanuel Vadot              - nvidia,tegra194-mvc
368cc087a1SEmmanuel Vadot              - nvidia,tegra186-mvc
378cc087a1SEmmanuel Vadot          - const: nvidia,tegra210-mvc
388cc087a1SEmmanuel Vadot
398cc087a1SEmmanuel Vadot  reg:
408cc087a1SEmmanuel Vadot    maxItems: 1
418cc087a1SEmmanuel Vadot
428cc087a1SEmmanuel Vadot  sound-name-prefix:
438cc087a1SEmmanuel Vadot    pattern: "^MVC[1-9]$"
448cc087a1SEmmanuel Vadot
458cc087a1SEmmanuel Vadot  ports:
468cc087a1SEmmanuel Vadot    $ref: /schemas/graph.yaml#/properties/ports
478cc087a1SEmmanuel Vadot    properties:
488cc087a1SEmmanuel Vadot      port@0:
498cc087a1SEmmanuel Vadot        $ref: audio-graph-port.yaml#
508cc087a1SEmmanuel Vadot        unevaluatedProperties: false
518cc087a1SEmmanuel Vadot        description: |
528cc087a1SEmmanuel Vadot          MVC ACIF (Audio Client Interface) input port. This is connected
538cc087a1SEmmanuel Vadot          to corresponding ACIF output port on AHUB (Audio Hub).
548cc087a1SEmmanuel Vadot
558cc087a1SEmmanuel Vadot      port@1:
568cc087a1SEmmanuel Vadot        $ref: audio-graph-port.yaml#
578cc087a1SEmmanuel Vadot        unevaluatedProperties: false
588cc087a1SEmmanuel Vadot        description: |
598cc087a1SEmmanuel Vadot          MVC ACIF output port. This is connected to corresponding ACIF
608cc087a1SEmmanuel Vadot          input port on AHUB.
618cc087a1SEmmanuel Vadot
628cc087a1SEmmanuel Vadotrequired:
638cc087a1SEmmanuel Vadot  - compatible
648cc087a1SEmmanuel Vadot  - reg
658cc087a1SEmmanuel Vadot
668cc087a1SEmmanuel VadotadditionalProperties: false
678cc087a1SEmmanuel Vadot
688cc087a1SEmmanuel Vadotexamples:
698cc087a1SEmmanuel Vadot  - |
708cc087a1SEmmanuel Vadot
718cc087a1SEmmanuel Vadot    mvc@702da000 {
728cc087a1SEmmanuel Vadot        compatible = "nvidia,tegra210-mvc";
738cc087a1SEmmanuel Vadot        reg = <0x702da000 0x200>;
748cc087a1SEmmanuel Vadot        sound-name-prefix = "MVC1";
758cc087a1SEmmanuel Vadot    };
768cc087a1SEmmanuel Vadot
778cc087a1SEmmanuel Vadot...
78