Cirrus EP93xx I2S Controller
Schema identifier ($id): "http://devicetree.org/schemas/sound/cirrus,ep9301-i2s.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The I2S controller is used to stream serial audio data between the external I2S CODECs’, ADCs/DACs, and the ARM Core. The controller supports I2S, Left- and Right-Justified DSP formats.
Maintainers (maintainers): "Alexander Sverdlin <alexander.sverdlin@gmail.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):dai-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "cirrus,ep9301-i2s"
#sound-dai-cells — required here #
Exact value (const): 0
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 3
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"mclk"
Item 2
Exact value (
const):"sclk"
Item 3
Exact value (
const):"lrclk"
dmas — not listed as required here #
Array item rules (items) #
Item 1
out DMA channel
Item 2
in DMA channel
dma-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"tx"
Item 2
Exact value (
const):"rx"
port — 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.
Required in this object (required): "compatible", "#sound-dai-cells", "reg", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2s: i2s@80820000 {
compatible = "cirrus,ep9301-i2s";
#sound-dai-cells = <0>;
reg = <0x80820000 0x100>;
interrupt-parent = <&vic1>;
interrupts = <28>;
clocks = <&syscon 29>,
<&syscon 30>,
<&syscon 31>;
clock-names = "mclk", "sclk", "lrclk";
dmas = <&dma0 0 1>, <&dma0 0 2>;
dma-names = "tx", "rx";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)