Tegra210 ADMAIF

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

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

ADMAIF is the interface between ADMA and AHUB. Each ADMA channel that sends/receives data to/from AHUB must interface through an ADMAIF channel. ADMA channel sending data to AHUB pairs with ADMAIF Tx channel and ADMA channel receiving data from AHUB pairs with ADMAIF Rx channel.

Maintainers (maintainers): "Jon Hunter <jonathanh@nvidia.com>", "Sameer Pujar <spujar@nvidia.com>"

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^admaif@[0-9a-f]*$"

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

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

Rule 2

Array item rules (items)

Item 1

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

Item 2

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

reg — required here #

Maximum number of items (maxItems): 1

dmas — required here #

true — No constraints added by this property rule.

dma-names — required here #

true — No constraints added by this property rule.

interconnects — not listed as required here #

Array item rules (items) #

Item 1

APE read memory client

Item 2

APE write memory client

interconnect-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "dma-mem"

Item 2

Exact value (const): "write"

iommus — not listed as required here #

Maximum number of items (maxItems): 1

ports — not listed as required here #

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

Contains list of ACIF (Audio CIF) port nodes for ADMAIF channels. The number of port nodes depends on the number of ADMAIF channels that SoC may have. These are interfaced with respective ACIF ports in AHUB (Audio Hub). Each port is capable of data transfers in both directions.

Properties matching a name pattern (patternProperties) #

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

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "nvidia,tegra210-admaif"

When the condition matches (then) #

Properties and child nodes (properties)

dmas — not listed as required here

DMA channel specifiers, equally divided for Tx and Rx.

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 20

dma-names — not listed as required here

Array item rules (items)

String pattern (pattern): "^[rt]x(10|[1-9])$"

Should be "rx1", "rx2" ... "rx10" for DMA Rx channel Should be "tx1", "tx2" ... "tx10" for DMA Tx channel

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 20

interconnects — not listed as required here

false — Not permitted by this property rule.

interconnect-names — not listed as required here

false — Not permitted by this property rule.

iommus — not listed as required here

false — Not permitted by this property rule.

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

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

When the condition matches (then) #

Properties and child nodes (properties)

dmas — not listed as required here

DMA channel specifiers, equally divided for Tx and Rx.

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 40

dma-names — not listed as required here

Array item rules (items)

String pattern (pattern): "^[rt]x(1[0-9]|[1-9]|20)$"

Should be "rx1", "rx2" ... "rx20" for DMA Rx channel Should be "tx1", "tx2" ... "tx20" for DMA Tx channel

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 40

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "nvidia,tegra264-admaif"

When the condition matches (then) #

Properties and child nodes (properties)

dmas — not listed as required here

DMA channel specifiers, equally divided for Tx and Rx.

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 64

dma-names — not listed as required here

Array item rules (items)

String pattern (pattern): "^[rt]x(3[0-2]|[1-2][0-9]|[1-9])$"

Should be "rx1", "rx2" ... "rx32" for DMA Rx channel Should be "tx1", "tx2" ... "tx32" for DMA Tx channel

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 64

Required in this object (required): "compatible", "reg", "dmas", "dma-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

admaif@702d0000 {
    compatible = "nvidia,tegra210-admaif";
    reg = <0x702d0000 0x800>;
    dmas = <&adma 1>,  <&adma 1>,
           <&adma 2>,  <&adma 2>,
           <&adma 3>,  <&adma 3>,
           <&adma 4>,  <&adma 4>,
           <&adma 5>,  <&adma 5>,
           <&adma 6>,  <&adma 6>,
           <&adma 7>,  <&adma 7>,
           <&adma 8>,  <&adma 8>,
           <&adma 9>,  <&adma 9>,
           <&adma 10>, <&adma 10>;
    dma-names = "rx1",  "tx1",
                "rx2",  "tx2",
                "rx3",  "tx3",
                "rx4",  "tx4",
                "rx5",  "tx5",
                "rx6",  "tx6",
                "rx7",  "tx7",
                "rx8",  "tx8",
                "rx9",  "tx9",
                "rx10", "tx10";
};

Source notes #

Annotations retained from the schema source

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

Line 50: read

Edit this page