Tegra210 AMX
Schema identifier ($id): "http://devicetree.org/schemas/sound/nvidia,tegra210-amx.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The Audio Multiplexer (AMX) block can multiplex up to four input streams each of which can have maximum 16 channels and generate an output stream with maximum 16 channels. A byte RAM helps to form an output frame by any combination of bytes from the input frames.
Maintainers (maintainers): "Jon Hunter <jonathanh@nvidia.com>", "Mohan Kumar <mkumard@nvidia.com>", "Sameer Pujar <spujar@nvidia.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):dai-common.yaml#
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^amx@[0-9a-f]*$"
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"nvidia,tegra210-amx","nvidia,tegra194-amx","nvidia,tegra264-amx"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"nvidia,tegra186-amx"Item 2
Exact value (
const):"nvidia,tegra210-amx"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"nvidia,tegra234-amx"Item 2
Exact value (
const):"nvidia,tegra194-amx"
reg — required here #
Maximum number of items (maxItems): 1
sound-name-prefix — not listed as required here #
String pattern (pattern): "^AMX[1-9]$"
ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
AMX has four inputs and one output. Accordingly ACIF (Audio Client Interfaces) port nodes are defined to represent AMX inputs (port 0 to 3) and output (port 4). These are connected to corresponding ports on AHUB (Audio Hub).
Properties matching a name pattern (patternProperties) #
^port@[0-3] — name matches this regular expression
Shared schema rule ($ref): audio-graph-port.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
AMX ACIF input ports
Properties and child nodes (properties) #
port@4 — not listed as required here
Shared schema rule ($ref): audio-graph-port.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
AMX ACIF output port
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
amx@702d3000 {
compatible = "nvidia,tegra210-amx";
reg = <0x702d3000 0x100>;
sound-name-prefix = "AMX1";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)