Tegra210 AHUB
Schema identifier ($id): "http://devicetree.org/schemas/sound/nvidia,tegra210-ahub.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The Audio Hub (AHUB) comprises a collection of hardware accelerators for audio pre-processing, post-processing and a programmable full crossbar for routing audio data across these accelerators. It has external interfaces such as I2S, DMIC, DSPK. It interfaces with ADMA engine through ADMAIF.
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): "^ahub@[0-9a-f]*$"
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"nvidia,tegra210-ahub","nvidia,tegra186-ahub","nvidia,tegra234-ahub","nvidia,tegra264-ahub"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"nvidia,tegra194-ahub"Item 2
Exact value (
const):"nvidia,tegra186-ahub"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "ahub"
assigned-clocks — required here #
Maximum number of items (maxItems): 1
assigned-clock-parents — required here #
Maximum number of items (maxItems): 1
assigned-clock-rates — not listed as required here #
Maximum number of items (maxItems): 1
#address-cells — required here #
#size-cells — required here #
ranges — required here #
true — No constraints added by this property rule.
ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Contains list of ACIF (Audio CIF) port nodes for AHUB (Audio Hub). These are connected to ACIF interfaces of AHUB clients. Thus the number of port nodes depend on the number of clients that AHUB may have depending on the SoC revision.
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.
Properties matching a name pattern (patternProperties) #
^i2s@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
^dmic@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): nvidia,tegra210-dmic.yaml#
^admaif@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): nvidia,tegra210-admaif.yaml#
^dspk@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): nvidia,tegra186-dspk.yaml#
^mvc@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): nvidia,tegra210-mvc.yaml#
^sfc@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): nvidia,tegra210-sfc.yaml#
^amx@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): nvidia,tegra210-amx.yaml#
^adx@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): nvidia,tegra210-adx.yaml#
^amixer@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): nvidia,tegra210-mixer.yaml#
^asrc@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): nvidia,tegra186-asrc.yaml#
^processing-engine@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): nvidia,tegra210-ope.yaml#
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "assigned-clocks", "assigned-clock-parents", "#address-cells", "#size-cells", "ranges"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include<dt-bindings/clock/tegra210-car.h>
ahub@702d0800 {
compatible = "nvidia,tegra210-ahub";
reg = <0x702d0800 0x800>;
clocks = <&tegra_car TEGRA210_CLK_D_AUDIO>;
clock-names = "ahub";
assigned-clocks = <&tegra_car TEGRA210_CLK_D_AUDIO>;
assigned-clock-parents = <&tegra_car TEGRA210_CLK_PLL_A_OUT0>;
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x702d0000 0x702d0000 0x0000e400>;
// All AHUB child nodes below
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";
};
i2s@702d1000 {
compatible = "nvidia,tegra210-i2s";
reg = <0x702d1000 0x100>;
clocks = <&tegra_car TEGRA210_CLK_I2S0>;
clock-names = "i2s";
assigned-clocks = <&tegra_car TEGRA210_CLK_I2S0>;
assigned-clock-parents = <&tegra_car TEGRA210_CLK_PLL_A_OUT0>;
assigned-clock-rates = <1536000>;
sound-name-prefix = "I2S1";
};
dmic@702d4000 {
compatible = "nvidia,tegra210-dmic";
reg = <0x702d4000 0x100>;
clocks = <&tegra_car TEGRA210_CLK_DMIC1>;
clock-names = "dmic";
assigned-clocks = <&tegra_car TEGRA210_CLK_DMIC1>;
assigned-clock-parents = <&tegra_car TEGRA210_CLK_PLL_A_OUT0>;
assigned-clock-rates = <3072000>;
sound-name-prefix = "DMIC1";
};
// More child nodes to follow
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)