xref: /freebsd/sys/contrib/device-tree/Bindings/sound/nvidia,tegra210-mixer.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-mixer.yaml#
58cc087a1SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68cc087a1SEmmanuel Vadot
77ef62cebSEmmanuel Vadottitle: Tegra210 Mixer
88cc087a1SEmmanuel Vadot
98cc087a1SEmmanuel Vadotdescription: |
108cc087a1SEmmanuel Vadot  The Mixer supports mixing of up to ten 7.1 audio input streams and
118cc087a1SEmmanuel Vadot  generate five outputs (each of which can be any combination of the
128cc087a1SEmmanuel Vadot  ten input streams).
138cc087a1SEmmanuel Vadot
148cc087a1SEmmanuel Vadotmaintainers:
158cc087a1SEmmanuel Vadot  - Jon Hunter <jonathanh@nvidia.com>
168cc087a1SEmmanuel Vadot  - Mohan Kumar <mkumard@nvidia.com>
178cc087a1SEmmanuel Vadot  - Sameer Pujar <spujar@nvidia.com>
188cc087a1SEmmanuel Vadot
198cc087a1SEmmanuel VadotallOf:
20*8bab661aSEmmanuel Vadot  - $ref: dai-common.yaml#
218cc087a1SEmmanuel Vadot
228cc087a1SEmmanuel Vadotproperties:
238cc087a1SEmmanuel Vadot  $nodename:
248cc087a1SEmmanuel Vadot    pattern: "^amixer@[0-9a-f]*$"
258cc087a1SEmmanuel Vadot
268cc087a1SEmmanuel Vadot  compatible:
278cc087a1SEmmanuel Vadot    oneOf:
288cc087a1SEmmanuel Vadot      - const: nvidia,tegra210-amixer
298cc087a1SEmmanuel Vadot      - items:
308cc087a1SEmmanuel Vadot          - enum:
31c9ccf3a3SEmmanuel Vadot              - nvidia,tegra234-amixer
328cc087a1SEmmanuel Vadot              - nvidia,tegra194-amixer
338cc087a1SEmmanuel Vadot              - nvidia,tegra186-amixer
348cc087a1SEmmanuel Vadot          - const: nvidia,tegra210-amixer
358cc087a1SEmmanuel Vadot
368cc087a1SEmmanuel Vadot  reg:
378cc087a1SEmmanuel Vadot    maxItems: 1
388cc087a1SEmmanuel Vadot
398cc087a1SEmmanuel Vadot  sound-name-prefix:
408cc087a1SEmmanuel Vadot    pattern: "^MIXER[1-9]$"
418cc087a1SEmmanuel Vadot
428cc087a1SEmmanuel Vadot  ports:
438cc087a1SEmmanuel Vadot    $ref: /schemas/graph.yaml#/properties/ports
448cc087a1SEmmanuel Vadot    description: |
458cc087a1SEmmanuel Vadot      Mixer has ten inputs and five outputs. Accordingly ACIF (Audio
468cc087a1SEmmanuel Vadot      Client Interfaces) port nodes are defined to represent Mixer
478cc087a1SEmmanuel Vadot      inputs (port 0 to 9) and outputs (port 10 to 14). These are
488cc087a1SEmmanuel Vadot      connected to corresponding ports on AHUB (Audio Hub).
498cc087a1SEmmanuel Vadot
508cc087a1SEmmanuel Vadot    patternProperties:
518cc087a1SEmmanuel Vadot      '^port@[0-9]':
528cc087a1SEmmanuel Vadot        $ref: audio-graph-port.yaml#
538cc087a1SEmmanuel Vadot        unevaluatedProperties: false
548cc087a1SEmmanuel Vadot        description: Mixer ACIF input ports
558cc087a1SEmmanuel Vadot      '^port@[10-14]':
568cc087a1SEmmanuel Vadot        $ref: audio-graph-port.yaml#
578cc087a1SEmmanuel Vadot        unevaluatedProperties: false
588cc087a1SEmmanuel Vadot        description: Mixer ACIF output ports
598cc087a1SEmmanuel Vadot
608cc087a1SEmmanuel Vadotrequired:
618cc087a1SEmmanuel Vadot  - compatible
628cc087a1SEmmanuel Vadot  - reg
638cc087a1SEmmanuel Vadot
648cc087a1SEmmanuel VadotadditionalProperties: false
658cc087a1SEmmanuel Vadot
668cc087a1SEmmanuel Vadotexamples:
678cc087a1SEmmanuel Vadot  - |
688cc087a1SEmmanuel Vadot
698cc087a1SEmmanuel Vadot    amixer@702dbb00 {
708cc087a1SEmmanuel Vadot        compatible = "nvidia,tegra210-amixer";
718cc087a1SEmmanuel Vadot        reg = <0x702dbb00 0x800>;
728cc087a1SEmmanuel Vadot        sound-name-prefix = "MIXER1";
738cc087a1SEmmanuel Vadot    };
748cc087a1SEmmanuel Vadot
758cc087a1SEmmanuel Vadot...
76