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-amx.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Tegra210 AMX 8 9description: | 10 The Audio Multiplexer (AMX) block can multiplex up to four input streams 11 each of which can have maximum 16 channels and generate an output stream 12 with maximum 16 channels. A byte RAM helps to form an output frame by 13 any combination of bytes from the input frames. 14 15maintainers: 16 - Jon Hunter <jonathanh@nvidia.com> 17 - Mohan Kumar <mkumard@nvidia.com> 18 - Sameer Pujar <spujar@nvidia.com> 19 20allOf: 21 - $ref: dai-common.yaml# 22 23properties: 24 $nodename: 25 pattern: "^amx@[0-9a-f]*$" 26 27 compatible: 28 oneOf: 29 - enum: 30 - nvidia,tegra210-amx 31 - nvidia,tegra194-amx 32 - nvidia,tegra264-amx 33 - items: 34 - const: nvidia,tegra186-amx 35 - const: nvidia,tegra210-amx 36 - items: 37 - const: nvidia,tegra234-amx 38 - const: nvidia,tegra194-amx 39 40 reg: 41 maxItems: 1 42 43 sound-name-prefix: 44 pattern: "^AMX[1-9]$" 45 46 ports: 47 $ref: /schemas/graph.yaml#/properties/ports 48 description: | 49 AMX has four inputs and one output. Accordingly ACIF (Audio Client 50 Interfaces) port nodes are defined to represent AMX inputs (port 0 51 to 3) and output (port 4). These are connected to corresponding 52 ports on AHUB (Audio Hub). 53 54 patternProperties: 55 '^port@[0-3]': 56 $ref: audio-graph-port.yaml# 57 unevaluatedProperties: false 58 description: AMX ACIF input ports 59 60 properties: 61 port@4: 62 $ref: audio-graph-port.yaml# 63 unevaluatedProperties: false 64 description: AMX ACIF output port 65 66required: 67 - compatible 68 - reg 69 70additionalProperties: false 71 72examples: 73 - | 74 75 amx@702d3000 { 76 compatible = "nvidia,tegra210-amx"; 77 reg = <0x702d3000 0x100>; 78 sound-name-prefix = "AMX1"; 79 }; 80 81... 82