Tegra186 ASRC

Schema identifier ($id): "http://devicetree.org/schemas/sound/nvidia,tegra186-asrc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Asynchronous Sample Rate Converter (ASRC) converts the sampling frequency of the input signal from one frequency to another. It can handle over a wide range of sample rate ratios (freq_in/freq_out) from 1:24 to 24:1. ASRC has two modes of operation. One where ratio can be programmed in SW and the other where it gets the information from ratio estimator module.

It supports sample rate conversions in the range of 8 to 192 kHz and supports 6 streams upto 12 total channels. The input data size can be 16, 24 and 32 bits.

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): "^asrc@[0-9a-f]*$"

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "nvidia,tegra186-asrc", "nvidia,tegra264-asrc"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "nvidia,tegra234-asrc", "nvidia,tegra194-asrc"

Item 2

Exact value (const): "nvidia,tegra186-asrc"

reg — required here #

Maximum number of items (maxItems): 1

sound-name-prefix — not listed as required here #

String pattern (pattern): "^ASRC[1-9]$"

ports — not listed as required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports

ASRC has seven input ports and six output ports. Accordingly ACIF (Audio Client Interfaces) port nodes are defined to represent the ASRC inputs (port 0 to 6) and outputs (port 7 to 12). These are connected to corresponding ports on AHUB (Audio Hub). Additional input (port 6) is for receiving ratio information from estimator.

Properties matching a name pattern (patternProperties) #

^port@[0-6] — 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.

ASRC ACIF input ports

^port@[7-9]|1[1-2] — 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.

ASRC 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) #


asrc@2910000 {
    compatible = "nvidia,tegra186-asrc";
    reg = <0x2910000 0x2000>;
    sound-name-prefix = "ASRC1";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page