Xilinx PL audio formatter

Schema identifier ($id): "http://devicetree.org/schemas/sound/xlnx,audio-formatter.yaml#"

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

The IP core supports DMA, data formatting(AES<->PCM conversion) of audio samples.

Maintainers (maintainers): "Vincenzo Frascino <vincenzo.frascino@arm.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 #

Allowed values (enum): "xlnx,audio-formatter-1.0"

reg — required here #

Maximum number of items (maxItems): 1

interrupt-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "irq_mm2s"

Item 2

Exact value (const): "irq_s2mm"

interrupts — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

interrupt from MM2S block

Item 2

interrupt from S2MM block

clock-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "s_axi_lite_aclk"

Item 2

Exact value (const): "aud_mclk"

clocks — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

clock for the axi data stream

Item 2

clock for the MEMS microphone data stream

Required in this object (required): "compatible", "reg", "interrupt-names", "interrupts", "clock-names", "clocks"

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

false

Not allowed by this rule.

Examples (examples) #

audio_formatter@80010000 {
  compatible = "xlnx,audio-formatter-1.0";
  reg = <0x80010000 0x1000>;
  interrupt-names = "irq_mm2s", "irq_s2mm";
  interrupt-parent = <&gic>;
  interrupts = <0 104 4>, <0 105 4>;
  clock-names = "s_axi_lite_aclk", "aud_mclk";
  clocks = <&clk 71>, <&clk_wiz_1 0>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page