Tegra210 I2S Controller
Schema identifier ($id): "http://devicetree.org/schemas/sound/nvidia,tegra210-i2s.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The Inter-IC Sound (I2S) controller implements full-duplex, bi-directional and single direction point-to-point serial interfaces. It can interface with I2S compatible devices. I2S controller can operate both in master and slave mode.
Maintainers (maintainers): "Jon Hunter <jonathanh@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): "^i2s@[0-9a-f]*$"
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"nvidia,tegra210-i2s","nvidia,tegra264-i2s"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"nvidia,tegra234-i2s","nvidia,tegra194-i2s","nvidia,tegra186-i2s"Item 2
Exact value (
const):"nvidia,tegra210-i2s"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
I2S bit clock
Item 2
Sync input clock, which can act as clock source to other I/O modules in AHUB. The Tegra I2S driver sets this clock rate as per bit clock rate. I/O module which wants to use this clock as source, can mention this clock as parent in the DT bindings. This is an optional clock entry, since it is only required when some other I/O wants to reference from a particular I2Sx instance.
clock-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"i2s"
Item 2
Exact value (
const):"sync_input"
assigned-clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
assigned-clock-parents — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
assigned-clock-rates — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
sound-name-prefix — not listed as required here #
String pattern (pattern): "^I2S[1-9]$"
ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
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.
I2S ACIF (Audio Client Interface) port connected to the corresponding AHUB (Audio Hub) ACIF port.
port@1 — 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.
I2S DAP (Digital Audio Port) interface which can be connected to external audio codec for playback or capture.
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "assigned-clocks", "assigned-clock-parents"
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>
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";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)