xref: /openbmc/linux/Documentation/devicetree/bindings/sound/nvidia,tegra210-mixer.yaml (revision 7ae9fb1b7ecbb5d85d07857943f677fd1a559b18)
1aa56a9deSSameer Pujar# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2aa56a9deSSameer Pujar%YAML 1.2
3aa56a9deSSameer Pujar---
4aa56a9deSSameer Pujar$id: http://devicetree.org/schemas/sound/nvidia,tegra210-mixer.yaml#
5aa56a9deSSameer Pujar$schema: http://devicetree.org/meta-schemas/core.yaml#
6aa56a9deSSameer Pujar
7dd3cb467SAndrew Lunntitle: Tegra210 Mixer
8aa56a9deSSameer Pujar
9aa56a9deSSameer Pujardescription: |
10aa56a9deSSameer Pujar  The Mixer supports mixing of up to ten 7.1 audio input streams and
11aa56a9deSSameer Pujar  generate five outputs (each of which can be any combination of the
12aa56a9deSSameer Pujar  ten input streams).
13aa56a9deSSameer Pujar
14aa56a9deSSameer Pujarmaintainers:
15aa56a9deSSameer Pujar  - Jon Hunter <jonathanh@nvidia.com>
16aa56a9deSSameer Pujar  - Mohan Kumar <mkumard@nvidia.com>
17aa56a9deSSameer Pujar  - Sameer Pujar <spujar@nvidia.com>
18aa56a9deSSameer Pujar
19aa56a9deSSameer PujarallOf:
20*3fda8532SKrzysztof Kozlowski  - $ref: dai-common.yaml#
21aa56a9deSSameer Pujar
22aa56a9deSSameer Pujarproperties:
23aa56a9deSSameer Pujar  $nodename:
24aa56a9deSSameer Pujar    pattern: "^amixer@[0-9a-f]*$"
25aa56a9deSSameer Pujar
26aa56a9deSSameer Pujar  compatible:
27aa56a9deSSameer Pujar    oneOf:
28aa56a9deSSameer Pujar      - const: nvidia,tegra210-amixer
29aa56a9deSSameer Pujar      - items:
30aa56a9deSSameer Pujar          - enum:
31fed44d6cSSameer Pujar              - nvidia,tegra234-amixer
32aa56a9deSSameer Pujar              - nvidia,tegra194-amixer
33aa56a9deSSameer Pujar              - nvidia,tegra186-amixer
34aa56a9deSSameer Pujar          - const: nvidia,tegra210-amixer
35aa56a9deSSameer Pujar
36aa56a9deSSameer Pujar  reg:
37aa56a9deSSameer Pujar    maxItems: 1
38aa56a9deSSameer Pujar
39aa56a9deSSameer Pujar  sound-name-prefix:
40aa56a9deSSameer Pujar    pattern: "^MIXER[1-9]$"
41aa56a9deSSameer Pujar
42aa56a9deSSameer Pujar  ports:
43aa56a9deSSameer Pujar    $ref: /schemas/graph.yaml#/properties/ports
44aa56a9deSSameer Pujar    description: |
45aa56a9deSSameer Pujar      Mixer has ten inputs and five outputs. Accordingly ACIF (Audio
46aa56a9deSSameer Pujar      Client Interfaces) port nodes are defined to represent Mixer
47aa56a9deSSameer Pujar      inputs (port 0 to 9) and outputs (port 10 to 14). These are
48aa56a9deSSameer Pujar      connected to corresponding ports on AHUB (Audio Hub).
49aa56a9deSSameer Pujar
50aa56a9deSSameer Pujar    patternProperties:
51aa56a9deSSameer Pujar      '^port@[0-9]':
52aa56a9deSSameer Pujar        $ref: audio-graph-port.yaml#
53aa56a9deSSameer Pujar        unevaluatedProperties: false
54aa56a9deSSameer Pujar        description: Mixer ACIF input ports
55aa56a9deSSameer Pujar      '^port@[10-14]':
56aa56a9deSSameer Pujar        $ref: audio-graph-port.yaml#
57aa56a9deSSameer Pujar        unevaluatedProperties: false
58aa56a9deSSameer Pujar        description: Mixer ACIF output ports
59aa56a9deSSameer Pujar
60aa56a9deSSameer Pujarrequired:
61aa56a9deSSameer Pujar  - compatible
62aa56a9deSSameer Pujar  - reg
63aa56a9deSSameer Pujar
64aa56a9deSSameer PujaradditionalProperties: false
65aa56a9deSSameer Pujar
66aa56a9deSSameer Pujarexamples:
67aa56a9deSSameer Pujar  - |
68aa56a9deSSameer Pujar
69aa56a9deSSameer Pujar    amixer@702dbb00 {
70aa56a9deSSameer Pujar        compatible = "nvidia,tegra210-amixer";
71aa56a9deSSameer Pujar        reg = <0x702dbb00 0x800>;
72aa56a9deSSameer Pujar        sound-name-prefix = "MIXER1";
73aa56a9deSSameer Pujar    };
74aa56a9deSSameer Pujar
75aa56a9deSSameer Pujar...
76