Freescale MXS Serial Audio Interface (SAIF)

Schema identifier ($id): "http://devicetree.org/schemas/sound/fsl,saif.yaml#"

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

Maintainers (maintainers): "Lukasz Majewski <lukma@denx.de>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): dai-common.yaml#

The SAIF is based on I2S module that is used to communicate with audio codecs, but only with half-duplex manner (i.e. it can either transmit or receive PCM audio).

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx28-saif"

reg — required here #

Maximum number of items (maxItems): 1

#sound-dai-cells — required here #

Exact value (const): 0

interrupts — required here #

Maximum number of items (maxItems): 1

dmas — required here #

Maximum number of items (maxItems): 1

dma-names — required here #

Exact value (const): "rx-tx"

#clock-cells — not listed as required here #

Configure the I2S device as MCLK clock provider.

Exact value (const): 0

clocks — required here #

Maximum number of items (maxItems): 1

fsl,saif-master — not listed as required here #

Indicate that saif is a slave and its phandle points to master

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Required in this object (required): "compatible", "reg", "#sound-dai-cells", "interrupts", "dmas", "dma-names", "clocks"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

saif0: saif@80042000 {
    compatible = "fsl,imx28-saif";
    reg = <0x80042000 2000>;
    #sound-dai-cells = <0>;
    interrupts = <59>;
    dmas = <&dma_apbx 4>;
    dma-names = "rx-tx";
    #clock-cells = <0>;
    clocks = <&clks 53>;
};
saif1: saif@80046000 {
    compatible = "fsl,imx28-saif";
    reg = <0x80046000 2000>;
    #sound-dai-cells = <0>;
    interrupts = <58>;
    dmas = <&dma_apbx 5>;
    dma-names = "rx-tx";
    clocks = <&clks 53>;
    fsl,saif-master = <&saif0>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page