Tegra210 ADX
Schema identifier ($id): "http://devicetree.org/schemas/sound/nvidia,tegra210-adx.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The Audio Demultiplexer (ADX) block takes an input stream with up to 16 channels and demultiplexes it into four output streams of up to 16 channels each. A byte RAM helps to form output frames by any combination of bytes from the input frame. Its design is identical to that of byte RAM in the AMX except that the data flow direction is reversed.
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): "^adx@[0-9a-f]*$"
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"nvidia,tegra210-adx","nvidia,tegra264-adx"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"nvidia,tegra234-adx","nvidia,tegra194-adx","nvidia,tegra186-adx"Item 2
Exact value (
const):"nvidia,tegra210-adx"
reg — required here #
Maximum number of items (maxItems): 1
sound-name-prefix — not listed as required here #
String pattern (pattern): "^ADX[1-9]$"
ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
ADX has one input and four outputs. Accordingly ACIF (Audio Client Interface) port nodes are defined to represent ADX input (port 0) and outputs (ports 1 to 4). These are connected to corresponding ports on AHUB (Audio Hub).
Properties and child nodes (properties) #
port@0 — 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.
ADX ACIF input port
Properties matching a name pattern (patternProperties) #
^port@[1-4] — 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.
ADX ACIF output ports
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) #
adx@702d3800 {
compatible = "nvidia,tegra210-adx";
reg = <0x702d3800 0x100>;
sound-name-prefix = "ADX1";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)